修复同步添加扫码单据bug

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

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

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

Loading…
Cancel
Save