界面优化

20240912_adapter_z
anthonywj 11 months ago
parent 4b0a4936a6
commit ce6c7edd67

@ -106,7 +106,7 @@
<el-col :span="8"> <el-col :span="8">
<el-form-item prop="erpId" class="query-form-item" label="往来单位:"> <el-form-item prop="erpId" class="query-form-item" label="往来单位:">
<el-select <el-select
v-model="formData.erpId" v-model="formData.fromCorp"
placeholder="往来单位" placeholder="往来单位"
style="width: 90%" style="width: 90%"
filterable filterable
@ -440,6 +440,7 @@ export default {
this.loading = false this.loading = false
if (res.code == 20000) { if (res.code == 20000) {
this.formData.tagStatus = 2; this.formData.tagStatus = 2;
this.formData = res.data;
} else { } else {
this.$message.error(res.message) this.$message.error(res.message)
} }
@ -449,7 +450,6 @@ export default {
}, },
saveDraftOrder() { saveDraftOrder() {
this.$confirm('此操作将挂起当前正在处理单据,是否继续?', '提示', { this.$confirm('此操作将挂起当前正在处理单据,是否继续?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
@ -465,8 +465,6 @@ export default {
}) })
}).catch(() => { }).catch(() => {
}); });
}, },
finishOrder() { finishOrder() {
@ -536,13 +534,12 @@ export default {
this.fromList = re.data.fromList; this.fromList = re.data.fromList;
}); });
this.formData.invCode = this.$store.getters.locInvCode; this.formData.invCode = this.$store.getters.locInvCode;
this.findCurWorkPlaces();
if (this.$route.query.workplaceId != null) { if (this.$route.query.workplaceId != null) {
this.isLinkDisabled = true this.isLinkDisabled = true
this.corpOrderIdDisabled = true this.corpOrderIdDisabled = true
this.formData.workplaceCode = Number(this.$route.query.workplaceId); this.formData.workplaceCode = Number(this.$route.query.workplaceId);
} }
this.findCurWorkPlaces();
} }

Loading…
Cancel
Save