Jelajahi Sumber

福达采购货备齐按钮

caojunjie 2 tahun lalu
induk
melakukan
465ca5c758
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  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