Commit b00e3e11 by LJM

bug

parent 634ed398
Showing with 4 additions and 3 deletions
......@@ -129,7 +129,7 @@ export default {
message: "请勾选数据进行操作",
type: 'warning'
});
return
return false;
}
let stock_in_ids = [];
......@@ -147,7 +147,8 @@ export default {
})
let source = source_arr.every(ele => ele === 2)
if (source) {
let status = status_arr.every(ele => ele === 2)
//待入库
let status = status_arr.every(ele => ele === 1)
if (status) {
this.$http('POST', "/api/purchase/cancelSupDelivery", {stock_in_ids: stock_in_ids.join(',')}).then(res => {
if (res.code == 0) {
......@@ -168,7 +169,7 @@ export default {
})
} else {
this.$message({
message: '请选择作废待入库状态',
message: '请选择待入库状态',
type: 'warning'
});
}
......
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 sign in to comment