Commit 0a34c90f by qinjianhui

Merge branch 'dev' into 'master'

feat: podus待排单展示刷新商品信息按钮

See merge request !67
parents f7c077d8 07643510
......@@ -507,7 +507,8 @@
status === 'STOCK_OUT' ||
status === 'EXCEPTION_ORDER' ||
status === 'TO_BE_REPLENISHMENT' ||
status === 'IN_PRODUCTION'
status === 'IN_PRODUCTION' ||
status === 'TO_BE_ARRANGE'
"
class="item"
>
......@@ -4372,7 +4373,12 @@ const loadCraftList = async () => {
}
const refreshMaterial = async () => {
if (
['PICKING', 'TO_BE_REPLENISHMENT', 'IN_PRODUCTION'].includes(status.value)
[
'PICKING',
'TO_BE_REPLENISHMENT',
'IN_PRODUCTION',
'TO_BE_ARRANGE',
].includes(status.value)
) {
if (cardSelection.value.length === 0) {
return ElMessage.warning('请选择数据')
......@@ -4394,9 +4400,12 @@ const refreshMaterial = async () => {
)
? selection.value.map((item) => item.id).join(',')
: undefined,
productIds: ['PICKING', 'TO_BE_REPLENISHMENT', 'IN_PRODUCTION'].includes(
status.value,
)
productIds: [
'PICKING',
'TO_BE_REPLENISHMENT',
'IN_PRODUCTION',
'TO_BE_ARRANGE',
].includes(status.value)
? cardSelection.value.map((item) => item.id).join(',')
: 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