chenrui 5 kuukautta sitten
vanhempi
commit
eb639a90a2

+ 1 - 14
src/views/purchasingManagement/purchaseOrder/basicInfoModal.vue

@@ -15,7 +15,7 @@
         :model="form"
         :rules="rules"
         :label-col="formItemLayout.labelCol"
-        :wrapper-col="formItemLayout.wrapperCol" >
+        :wrapper-col="formItemLayout.wrapperCol">
         <a-form-model-item label="供应商" prop="purchaseTargetSn">
           <a-radio-group
             name="radioGroup"
@@ -34,7 +34,6 @@
             v-model="form.orderType"
             allowClear
             placeholder="请选择产品类型"
-            :notIn="notShowIn"
             showType="radio"
           ></v-select>
         </a-form-model-item>
@@ -119,7 +118,6 @@ export default {
       chooseAddr: '', //  当前已选地址信息
       addressId: undefined, // 地址id
       openAddrModal: false, // 选择地址弹框是否显示
-      notShowIn: [], // 产品类型选项不显示
       systemFlag: null// 产品类型显示不显示
     }
   },
@@ -149,12 +147,6 @@ export default {
         this.form.purchaseTargetName = this.purchaseTragetType[ind].purchaseTargetName
       }
       if (this.systemFlag == 1) {
-        // 经销商向“上级”或“省仓”采购时,默认勾选“非轮胎产品”,不显示轮胎产品
-        if (this.form.purchaseTargetType != 'SUPPLIER_SYS') {
-          this.notShowIn = ['TIRE']
-        } else {
-          this.notShowIn = []
-        }
         this.form.orderType = 'OTHER'
       }
     },
@@ -238,11 +230,6 @@ export default {
             this.form.purchaseTargetSn = purchaseList[0].purchaseTargetSn
             this.form.purchaseTargetName = purchaseList[0].purchaseTargetName
             this.form.purchaseTargetType = purchaseList[0].purchaseTargetType
-            if (purchaseList[0].purchaseTargetType != 'SUPPLIER_SYS') {
-              this.notShowIn = ['TIRE']
-            } else {
-              this.notShowIn = []
-            }
             this.form.orderType = 'OTHER'
           }
           this.purchaseTragetType = purchaseList

+ 0 - 13
src/views/purchasingManagement/purchaseOrderNew/basicInfoModal.vue

@@ -34,7 +34,6 @@
             v-model="form.orderType"
             allowClear
             placeholder="请选择产品类型"
-            :notIn="notShowIn"
             showType="radio"
           ></v-select>
         </a-form-model-item>
@@ -119,7 +118,6 @@ export default {
       chooseAddr: '', //  当前已选地址信息
       addressId: undefined, // 地址id
       openAddrModal: false, // 选择地址弹框是否显示
-      notShowIn: [], // 产品类型不显示
       systemFlag: null// 产品类型显示不显示
     }
   },
@@ -149,12 +147,6 @@ export default {
         this.form.purchaseTargetName = this.purchaseTragetType[ind].purchaseTargetName
       }
       if (this.systemFlag == 1) {
-        // 经销商向“上级”或“省仓”采购时,默认勾选“非轮胎产品”,不显示轮胎产品
-        if (this.form.purchaseTargetType != 'SUPPLIER_SYS') {
-          this.notShowIn = ['TIRE']
-        } else {
-          this.notShowIn = []
-        }
         this.form.orderType = 'OTHER'
       }
     },
@@ -238,11 +230,6 @@ export default {
             this.form.purchaseTargetSn = purchaseList[0].purchaseTargetSn
             this.form.purchaseTargetName = purchaseList[0].purchaseTargetName
             this.form.purchaseTargetType = purchaseList[0].purchaseTargetType
-            if (purchaseList[0].purchaseTargetType != 'SUPPLIER_SYS') {
-              this.notShowIn = ['TIRE']
-            } else {
-              this.notShowIn = []
-            }
             this.form.orderType = 'OTHER'
           }
           this.purchaseTragetType = purchaseList