Commit ecadef4a by qinjianhui

Merge branch 'dev' into 'master'

fix: 问题修改

See merge request !36
parents bd10e489 e418e98e
...@@ -2992,7 +2992,7 @@ const loadWarehouseList = async () => { ...@@ -2992,7 +2992,7 @@ const loadWarehouseList = async () => {
} }
} }
const refreshMaterial = async () => { const refreshMaterial = async () => {
if (status.value === 'PICKING') { if (status.value === 'PICKING' || status.value === 'TO_BE_REPLENISHMENT') {
if (cardSelection.value.length === 0) { if (cardSelection.value.length === 0) {
return ElMessage.warning('请选择数据') return ElMessage.warning('请选择数据')
} }
...@@ -3009,11 +3009,11 @@ const refreshMaterial = async () => { ...@@ -3009,11 +3009,11 @@ const refreshMaterial = async () => {
try { try {
const res = await refreshMaterialApi({ const res = await refreshMaterialApi({
orderIds: orderIds:
status.value !== 'PICKING' status.value !== 'PICKING' && status.value !== 'TO_BE_REPLENISHMENT'
? selection.value.map((item) => item.id).join(',') ? selection.value.map((item) => item.id).join(',')
: undefined, : undefined,
productIds: productIds:
status.value === 'PICKING' status.value === 'PICKING' || status.value === 'TO_BE_REPLENISHMENT'
? cardSelection.value.map((item) => item.id).join(',') ? cardSelection.value.map((item) => item.id).join(',')
: undefined, : undefined,
}) })
......
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