修复同步添加扫码单据bug

purchase^2
zhengmingliang 2 years ago
parent 05d962373f
commit 1758480b35

@ -1023,7 +1023,9 @@ export default {
}
this.$message.success("操作成功");
this.formVisible = false;
if (this.formName !== "edit") {
if (response.data && response.data.id) {
data.id = response.data.id;
if (this.pidData) {

@ -188,7 +188,7 @@
<el-descriptions-item>
<template slot="label">
单据(单据状态)
</template>
</template>addBusTypeDialog
<el-checkbox v-model="configQuery.orderUnCheck" :disabled="configQuery.downstreamEnable">
</el-checkbox>
<el-checkbox v-model="configQuery.orderUnReceive" :disabled="configQuery.downstreamEnable">
@ -338,6 +338,7 @@ export default {
getConfig() {
findConfig()
.then((response) => {
this.configQuery = response.data;
this.checkedBusTypes = this.configQuery.busTypes;
if (this.configQuery.busTypes != null) {
@ -418,7 +419,7 @@ export default {
.then((response) => {
this.busTypes = response.data.list || [];
this.total = response.data.total || 0;
this.getConfig();
// this.getConfig();
})
.catch(() => {
});
@ -455,6 +456,7 @@ export default {
handleCurrentChange(val) {
this.busQuery.page = val;
this.getBusType();
},
},
created() {
@ -464,6 +466,7 @@ export default {
};
this.getBusType();
this.getConfig();
},
}
</script>

Loading…
Cancel
Save