Kaynağa Gözat

修改报销按钮判断条件

caojunjie 3 yıl önce
ebeveyn
işleme
482f04f7d7

+ 1 - 0
src/views/reimbursement/detail.vue

@@ -52,6 +52,7 @@
           type="primary"
           @click="editCustomer"
           size="small"
+          :disabled="form.status !== 0"
           :loading="btnLoading"
         >保存数据</el-button>
       </div>

+ 1 - 1
src/views/reimbursement/index.vue

@@ -42,7 +42,7 @@
             icon="el-icon-delete"
             size="small"
             @click.stop="rowDel(scope.row, scope.index)"
-            :disabled="scope.row.status == 3"
+            :disabled="scope.row.status !== 0"
           >删除
           </el-button>
         </template>