yuedefeng пре 6 година
родитељ
комит
e614cff137

+ 1 - 1
src/dashoo.cn/frontend_web/src/components/oilsupplier/goodsinfo.vue

@@ -41,7 +41,7 @@
           <el-form-item label="国家" prop="Country" >
             <!--<el-input v-model="formData.Country" maxlength="255" :readonly="!canUpdateSupplier" placeholder="请输入" style="width: 100%">
             </el-input>-->
-            <el-select v-model="formData.Country" filterable placeholder="请选择" :disabled="!canUpdateSupplier" style="width: 100%">
+            <el-select v-model="formData.Country" filterable placeholder="请选择" style="width: 100%">
               <el-option
                 v-for="item in countryListOptions"
                 :key="item.key"

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/basisedit.vue

@@ -408,7 +408,7 @@
       }
     },
 
-    created () {
+    mounted () {
       this.serviceId = this.$route.params.opera + ''
       if (this.$route.query.rtn) {
         this.showReturn = 0

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/goodsedit.vue

@@ -417,7 +417,7 @@
       }
     },
 
-    created () {
+    mounted () {
       this.serviceId = this.$route.params.opera + ''
       if (this.$route.query.rtn) {
         this.showReturn = 0

+ 4 - 10
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/techedit.vue

@@ -402,13 +402,7 @@
         }
       }
     },
-    mounted() {
-      this.serviceId = this.$route.params.opera + ''
-      if (this.$route.query.certid) {
-        this.certId = this.$route.query.certid + ''
-      }
-    },
-    created() {
+    mounted () {
       this.serviceId = this.$route.params.opera + ''
       if (this.$route.query.rtn) {
         this.showReturn = 0
@@ -573,9 +567,9 @@
 
             this.entrydetail.business = this.certId
             this.entrydetail.instance = this.formDataCert.WorkflowId
-            if (this.certId && this.formDataCert.WorkflowId) {
-              this.$refs['WfHistory'].getHistoryTask() /* 刷新工作流 */
-            }
+            /*if (this.certId && this.formDataCert.WorkflowId) {
+              this.$refs['WfHistory'].getHistoryTask() /!* 刷新工作流 *!/
+            }*/
             this.$refs['equipmentList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
             this.$refs['performanceList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
             this.$refs['patentList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)