Explorar o código

前:增项的管理单位可修改

dubch %!s(int64=4) %!d(string=hai) anos
pai
achega
0e633e427d

+ 6 - 3
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierappend/_opera/goodsdataopera.vue

@@ -144,9 +144,10 @@
                                v-model="supplierData.MgrUnit"
                                maxlength="255"
                                clearable
-                               :disabled="true"
+                               :disabled="currentStatus > 0"
                                placeholder="请输入"
-                               style="width: 100%">
+                               style="width: 100%" :class="changedForm['MgrUnit'] ? 'modified-form-input' : ''">
+                      <el-option v-for="item in MgrUnit" :key="item.Id" :label="item.Key" :value="item.Value"></el-option>
                     </el-select>
                   </el-form-item>
                 </el-col>
@@ -1723,6 +1724,7 @@
         LinkCityAry: [],
         UnitRelationOptions: [],
         CompanyTypeOptions: [],
+        MgrUnit: [],
         countryListOptions: [],
         GradeOptions: [{
           value: '1',
@@ -2013,8 +2015,8 @@
         this.getEntityById()
         this.dialogFormData.SupplierCertAppendId = this.Id
       }
-      this.getSupplierList() // 获取供应方公司列表
       this.getDictOptions()
+      this.getSupplierList() // 获取供应方公司列表
       // this.getorgtreelist()
       // this.orgtreeChange(this.majorDept)
       // this.changeOrgUnit(this.selectDept)
@@ -3888,6 +3890,7 @@
             this.supplierData.SpecTypeCode = '1'
           }
           this.CompanyTypeOptions = this.dictData['CompanyType']
+          this.MgrUnit = this.dictData['ManagementUnit']
           this.OperTypeOptions = this.dictData['OperType']
           this.getCityList(this.dictData['GaodeMapChinaAreas'])
           this.getCountryList(this.dictData['CountryList'])