Sfoglia il codice sorgente

信息变更资质变更按钮

huahaiyan 6 anni fa
parent
commit
c2ee3d5c94

+ 4 - 5
src/dashoo.cn/frontend_web/src/pages/oilsupplier/infochange/_opera/operation.vue

@@ -12,7 +12,7 @@
         </span>
         <span style="float: right;">
           <el-button type="primary" size="mini" @click="submitInfoChange"
-            v-if="(InfoStatus == 0 || InfoStatus == '') && butnab">提交申请</el-button>
+            v-if="(InfoStatus == 0 || InfoStatus == '') && !butnab">提交申请</el-button>
           <router-link :to="'/oilsupplier/infochange'">
             <el-button type="primary" size="mini" style="margin-left: 8px">返回</el-button>
           </router-link>
@@ -188,7 +188,7 @@
           Remark: ''
         },
         InfoStatus: '',
-        butnab: true,
+        butnab: false,
       }
     },
     created() {
@@ -196,7 +196,7 @@
       this.supplierId = this.serviceId
       this.InfoStatus = this.$route.query.InfoStatus
       if (this.QualStatus > 0) {
-        this.butnab = false
+        this.butnab = true
       }
       this.initDatas()
     },
@@ -267,7 +267,6 @@
             //保存成功后,初始化数据,变成修改
             this.infochangeForm.Id = res.data.item;
             this.initDatas();
-            this.butnab = true
             this.AddChangeShow = false
             this.$message({
               type: 'success',
@@ -321,7 +320,7 @@
             // 保存成功后,初始化数据,变成修改
             this.initDatas()
             this.commitshow = false
-            this.butnab = false
+            this.butnab = true
             this.$message({
               type: 'success',
               message: res.data.message

+ 4 - 5
src/dashoo.cn/frontend_web/src/pages/oilsupplier/qualchange/_opera/operation.vue

@@ -12,7 +12,7 @@
         </span>
         <span style="float: right;">
           <el-button type="primary" size="mini" @click="submitqualChange"
-            v-if="(QualStatus == 0 || QualStatus == '') && butnab">提交申请</el-button>
+            v-if="(QualStatus == 0 || QualStatus == '') && !butnab">提交申请</el-button>
           <router-link :to="'/oilsupplier/qualchange'">
             <el-button type="primary" size="mini" style="margin-left: 8px">返回</el-button>
           </router-link>
@@ -215,7 +215,7 @@
         waituploads: [], // 等待上传的附件列表
         doclist: [],
         QualStatus: '',
-        butnab: true,
+        butnab: false,
         commitshow: false,
         auditerOption: [],
       }
@@ -230,7 +230,7 @@
       }
       this.QualStatus = this.$route.query.QualStatus
       if (this.QualStatus > 0) {
-        this.butnab = false
+        this.butnab = true
       }
       this.SupplierId = this.serviceId
       this.SupplierTypeCode = this.classId
@@ -324,7 +324,6 @@
         _this.$axios.put('/qualchange/editqualchange/' + _this.SubfileForm.Id, _this.SubfileForm)
           .then(res => {
             if (res.data.code === 0) {
-              this.butnab = true
               _this.$message({
                 type: 'success',
                 message: res.data.message,
@@ -455,7 +454,7 @@
             // 保存成功后,初始化数据,变成修改
             this.initData()
             this.commitshow = false
-            this.butnab = false
+            this.butnab = true
             this.$message({
               type: 'success',
               message: res.data.message