Commit f7920689 by linjinhong

fix:修改问题

parent 651de945
......@@ -1987,12 +1987,24 @@
>
<template #top_left>
<el-tooltip
v-if="cardItem.outOfStock"
v-if="
cardItem.outOfStock &&
(status === 'PICKING' || status === 'TO_BE_REPLENISHMENT')
"
effect="light"
content="生产中缺货"
placement="bottom"
>
<el-icon color="#bd3124"> </el-icon>
<div
style="
background-color: #bd3124;
color: #fff;
padding: 2px 4px;
border-radius: 4px;
"
>
</div>
</el-tooltip>
<el-tooltip
v-if="
......@@ -5909,7 +5921,7 @@ const getNewImageFn = (img: string) => {
const labelFn = async (type: boolean) => {
try {
await ElMessageBox.confirm(
`确定${type ? '添加' : '移除'}生产中缺货”标签?`,
`确定${type ? '添加' : '移除'}生产中缺货”标签?`,
'提示',
{
confirmButtonText: '确定',
......@@ -5928,7 +5940,7 @@ const labelFn = async (type: boolean) => {
try {
const params = {
productIds: selection.value.map((item) => item.id),
productIds: cardSelection.value.map((item) => item.id),
orderFrom: 'CN',
outOfStock: type,
}
......
......@@ -2251,12 +2251,24 @@
>
<template #top_left>
<el-tooltip
v-if="cardItem.outOfStock"
v-if="
cardItem.outOfStock &&
(status === 'PICKING' || status === 'TO_BE_REPLENISHMENT')
"
effect="light"
content="生产中缺货"
placement="bottom"
>
<el-icon color="#bd3124"> </el-icon>
<div
style="
background-color: #bd3124;
color: #fff;
padding: 2px;
border-radius: 4px;
"
>
</div>
</el-tooltip>
<el-tooltip
v-if="
......@@ -6896,7 +6908,7 @@ const getEmployeeList = async () => {
const labelFn = async (type: boolean) => {
try {
await ElMessageBox.confirm(
`确定${type ? '添加' : '移除'}生产中缺货”标签?`,
`确定${type ? '添加' : '移除'}生产中缺货”标签?`,
'提示',
{
confirmButtonText: '确定',
......@@ -6915,7 +6927,7 @@ const labelFn = async (type: boolean) => {
try {
const params = {
productIds: selection.value.map((item) => item.id),
productIds: cardSelection.value.map((item) => item.id),
orderFrom: 'US',
outOfStock: type,
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment