|
|
|
@ -2475,6 +2475,7 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
// 最后提交 |
|
|
|
|
async handleSubmit() { |
|
|
|
|
|
|
|
|
|
const zeroOrderList = this.dataList.filter(val => val.isZero === '1'); |
|
|
|
|
if (this.$route.query.type !== '2') { |
|
|
|
|
// 当有零担订单物料数量没操作时 |
|
|
|
@ -2500,8 +2501,9 @@ export default {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
this.Selfpickuploading = true; //开启加载效果 |
|
|
|
|
|
|
|
|
|
this.$refs.form.validate(async valid => { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (valid) { |
|
|
|
|
if (!this.form.id) { |
|
|
|
|
// if (this.fileListSell.length === 0) { |
|
|
|
@ -2594,8 +2596,9 @@ export default {
|
|
|
|
|
this.contextmenuFlag = false; |
|
|
|
|
this.Selfpickuploading = false; //关闭加载效果 |
|
|
|
|
console.log(this.Selfpickuploading, '当前状态'); |
|
|
|
|
this.$store.commit('DEL_TAG_CURRENT'); |
|
|
|
|
this.$router.push('/distribution/inventory/distrilbutionBillLadingList'); |
|
|
|
|
$store.commit('DEL_TAG_CURRENT'); |
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|
} else { |
|
|
|
|
console.log('111 :>> ', 111); |
|
|
|
@ -2697,8 +2700,9 @@ export default {
|
|
|
|
|
message: '操作成功!', |
|
|
|
|
}); |
|
|
|
|
this.Selfpickuploading = false; //关闭加载效果 |
|
|
|
|
this.$store.commit('DEL_TAG_CURRENT'); |
|
|
|
|
this.$router.push('/distribution/inventory/distrilbutionBillLadingList'); |
|
|
|
|
$store.commit('DEL_TAG_CURRENT'); |
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|