Преглед на файлове

福达采购货备齐按钮

caojunjie преди 2 години
родител
ревизия
465ca5c758
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      src/views/exportTrade/purchaseContract/detailsPage.vue

+ 3 - 3
src/views/exportTrade/purchaseContract/detailsPage.vue

@@ -114,9 +114,10 @@
                 :disabled="!form.id" @click.native="dialog = true; fudaSatus = 1">排产中</el-button>
               <el-button v-if="form.productionScheduling" type="danger" size="small" :disabled="!form.id"
                 @click.native="cancel()">撤销排产</el-button>
-              <el-button :type="form.estimateGoodGoods ? 'info' : 'success'" size="small" :disabled="!form.id"
+              <el-button :type="form.estimateGoodGoods ? 'info' : 'success'" size="small" :disabled="!form.id || form.orderStatus == '待采购'"
                 @click.native="dialog = true; fudaSatus = 2">预计货好</el-button>
-              <el-button type="success" size="small" :disabled="!form.id || !form.estimateGoodGoods"
+                <!--|| !form.estimateGoodGoods 之前判断货备齐的是否禁用-->
+              <el-button type="success" size="small" :disabled="!form.id || form.orderStatus == '待采购'"
                 @click.native="dialog = true; fudaSatus = 3">货备齐</el-button>
               <!--              <el-button-->
               <!--                type="warning"-->
@@ -541,7 +542,6 @@ export default {
       console.log(this.data);
       this.form = this.detailData.form
 
-
         console.log(this.detailData.form.orderItemsList,549)
 
       this.data = this.detailData.form.orderItemsList