From c3148091b5adfde56ebb18898c3b44dfc8d38eb2 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期四, 16 十一月 2023 10:04:43 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/zs-mes-before
---
src/views/plan/customerorder/customerorder-form.vue | 16 ++++++----------
1 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/src/views/plan/customerorder/customerorder-form.vue b/src/views/plan/customerorder/customerorder-form.vue
index c36e379..3beeaf4 100644
--- a/src/views/plan/customerorder/customerorder-form.vue
+++ b/src/views/plan/customerorder/customerorder-form.vue
@@ -156,12 +156,12 @@
placeholder=""
disabled
>
- <el-button
+ <!-- <el-button
slot="append"
icon="el-icon-search"
@click="openSalesPartDialog()"
v-show="dataForm.id"
- ></el-button>
+ ></el-button> -->
</el-input>
</el-form-item>
</el-col>
@@ -972,25 +972,21 @@
this.$refs.dataForm.validate((valid) => {
if (valid) {
if (this.dataForm.id) {
- updateCustomerOrderById(this.dataForm)
- .then((data) => {
+ updateCustomerOrderById(this.dataForm).then((data) => {
this.$message.success('淇敼鎴愬姛')
this.visible = false
this.buttonDisable = false
this.$emit('refreshDataList', 1)
- })
- .catch((error) => {
+ }).catch((error) => {
this.buttonDisable = false
})
} else {
- addCustomerOrder(this.dataForm)
- .then((data) => {
+ addCustomerOrder(this.dataForm).then((data) => {
this.$message.success('娣诲姞鎴愬姛')
this.visible = false
this.buttonDisable = false
this.$emit('refreshDataList', 1)
- })
- .catch((error) => {
+ }).catch((error) => {
this.buttonDisable = false
})
}
--
Gitblit v1.9.3