Просмотр исходного кода

采购订单详情编辑和保存按钮的现实和隐藏

caojunjie 2 лет назад
Родитель
Сommit
73a70107ea

+ 2 - 2
src/views/tirePartsMall/salesManagement/purchaseOrder/detailsPage.vue

@@ -8,9 +8,9 @@
             </div>
             <div class="add-customer-btn">
                 <el-button class="el-button&#45;&#45;small-yh" :disabled="isEditButton" style="margin-left: 6px;"
-                    type="primary" size="small" v-if="editButton" @click="confirmEditing">编 辑
+                    type="primary" size="small" v-if="editButton && isSaveBtn" @click="confirmEditing">编 辑
                 </el-button>
-                <el-button class="el-button--small-yh" style="margin-left: 6px;" type="primary" size="small"
+                <el-button v-else class="el-button--small-yh" 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"