Browse Source

新增干线提货操作Loading

dev-xx
qb 10 months ago
parent
commit
c1ab31299b
  1. 26
      src/views/distribution/inventory/arteryDistrilbutionBillLadingList.vue

26
src/views/distribution/inventory/arteryDistrilbutionBillLadingList.vue

@ -663,23 +663,29 @@ export default {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'success',
})
.then(() => {
return postUpdateBillladingStatus({
}).then(async () => {
try {
this.loadingObj.pageLoading = true;
const res = await postUpdateBillladingStatus({
id: this.selectionList[0].id,
type,
});
})
.then(() => {
const { code, msg } = res.data;
if (code !== 200) return;
this.$message.success(msg);
//
this.selectionClear();
//
this.onLoad(this.page);
this.$message({
type: 'success',
message: '操作成功!',
});
});
} catch (error) {
console.log('error :>> ', error);
} finally {
this.loadingObj.pageLoading = false;
}
});
},
/** 开启添加提货数据弹窗 */
handleAddDistrilbution() {

Loading…
Cancel
Save