Browse Source

修复一键签收后, 表单不清空的bug

fix_bug_pro20231227
qb 2 years ago
parent
commit
103db3122b
  1. 28
      src/views/distribution/deliverylist/distributionDeliveryListedt.vue
  2. 2
      vite.config.js

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

@ -410,7 +410,7 @@
</avue-form>
<div style="bottom: 7%; margin-left: 500px; width: 50%">
<div style="width: 100%">
<el-button type="primary" @click="submitForm" style="margin-right: 20%">确定</el-button>
<el-button type="primary" @click="submitForm">确定</el-button>
<el-button type="primary" @click="cancellation">取消</el-button>
</div>
</div>
@ -2505,18 +2505,16 @@ export default {
console.log('更新参数>>>>>>>>', row);
if (!!row.id) {
updatesign(row).then(
() => {
this.$message({
type: 'success',
message: '操作成功!',
});
this.signBox = false;
this.onLoad();
},
error => {
console.log(error);
this.signBox = false;
}
() => {
this.$message({
type: 'success',
message: '操作成功!',
});
this.onLoad();
},
error => {
console.log(error);
}
);
}
} else {
@ -2530,10 +2528,12 @@ export default {
console.log('一键签收data>>>>>>>>>>', data);
getOneclickq(data).then(res => {
this.$message.success(res.data.msg);
this.signBox = false;
this.onLoad();
});
}
// ,
this.signform = {}
this.signBox = false;
}
});
},

2
vite.config.js

@ -14,7 +14,7 @@ export default ({ mode, command }) => {
'/api': {
// target: 'http://192.168.10.126:8889',
// target: 'http://192.168.10.48:8888',
target: 'http://192.168.10.123:8889',
// target: 'http://192.168.10.123:8889',
// target: 'http://192.168.10.75:8777',
// target: 'http://192.168.10.101:8888',
target: 'http://192.168.10.29:13000',

Loading…
Cancel
Save