Browse Source

轮胎商城9.11更改内容

caojunjie 1 year ago
parent
commit
74c11aaa65

+ 4 - 1
src/views/tirePartsMall/salesManagement/purchaseOrder/detailsPage.vue

@@ -10,7 +10,7 @@
                 <el-button class="el-button&#45;&#45;small-yh" :disabled="isEditButton" style="margin-left: 6px;"
                     type="primary" size="small" v-if="editButton" @click="confirmEditing">编 辑
                 </el-button>
-                <el-button class="el-button--small-yh" style="margin-left: 6px;" type="primary" size="small"
+                <el-button class="el-button--small-yh" v-else style="margin-left: 6px;" type="primary" size="small"
                     :disabled="isSaveBtn" @click="editCustomer">保 存
                 </el-button>
                 <el-button class="el-button--small-yh" style="margin-left: 6px;" :type="buttonColor" size="small"
@@ -1441,6 +1441,7 @@ export default {
         },
         //表头编辑
         confirmEditing() {
+            this.editButton = false
             goodsListXs(this.dicUrlWithCustomId, this.form.storageId ? this.form.storageId : '').then(res => {
                 this.findObject(this.optionContactsBack.column, "goodsId").dicData = res.data.data
             })
@@ -1851,6 +1852,8 @@ export default {
                         this.refresh(res.data.data.id)
                         this.isDisabledTask = false
                         this.editButton = true
+
+                        this.editButton = true
                         loading.close();
                     }).finally(() => {
                         loading.close();