Browse Source

自提新增关闭当前页面,增加加载

dev-xx
马远东 1 year ago
parent
commit
a1507c9489
  1. 10
      src/views/distribution/inventory/distrilbutionBillLading.vue

10
src/views/distribution/inventory/distrilbutionBillLading.vue

@ -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;
}

Loading…
Cancel
Save