Browse Source

修复签收

dev-xx
马远东 8 months ago
parent
commit
d86b237fb0
  1. 13
      src/views/distribution/deliverylist/distributionDeliveryListedt.vue

13
src/views/distribution/deliverylist/distributionDeliveryListedt.vue

@ -4597,22 +4597,15 @@ if($useStore.getters && $useStore.getters.permission){
});
return;
}
const allSigned = this.LessThantruckloadListData.every(
item => item.signingStatusName == '待签收' || item.signingStatusName == '部分签收'
);
console.log(allSigned, 'allSigned');
if (!allSigned) {
let temp = {};
console.log(true); // true
temp = this.LessThantruckloadListData.find(item => item.signingStatusName == '已签收');
ElMessage({
if(temp){
ElMessage({
message: `${temp.orderCode}运单号已签收`,
type: 'warning',
});
return;
}
}
this.$confirm('是否进行批量签收?')
.then(() => {
this.loading = true; //

Loading…
Cancel
Save