Commit 54d78b04 by LJM

add

parent 27e4f01e
......@@ -331,12 +331,12 @@ export default {
this.$message.warning('不支持批量操作');
return;
}
// 填写物流:校验待提审、待审核、进行中状态,以及待入库、部分入库状态
// 填写物流:只能为待提审、待审核、进行中状态,且入库作为为为待入库或部分入库状态的数据填写物流
var invalidShipping = this.multipleSelection.filter(item =>
!([0, 1, 2].includes(item.consignment_status) && ![1, 2].includes(item.stock_in_status))
!([0, 1, 2].includes(item.consignment_status) && [1, 2].includes(item.stock_in_status))
);
if (invalidShipping.length) {
this.$message.warning('只能为待提审、待审核、进行中状态,且为待入库或部分入库状态的数据填写物流');
this.$message.warning('只能为待提审、待审核、进行中状态,且入库状态为待入库或部分入库状态的数据填写物流');
return;
}
this.updateShippingInfoParasm.consignment_ids = this.multipleSelection.map(item => item.consignment_id).join(',');
......
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