Procházet zdrojové kódy

按钮调整
Signed-off-by: lijunqing <lijunqing@dashoo.cn>

lijunqing před 6 roky
rodič
revize
6f9b6aff47

+ 2 - 2
src/dashoo.cn/frontend_web/src/components/oilsupplier/subfilelist.vue

@@ -7,10 +7,10 @@
           v-if="canadd && IsCompanyUser == 0">
           提交审批
         </el-button>
-        <el-button type="primary" size="mini" style="float: right;margin-right: 3px" @click="nextStep()"
+        <!-- <el-button type="primary" size="mini" style="float: right;margin-right: 3px" @click="nextStep()"
           v-if="canadd && IsCompanyUser == 1">
           提交
-        </el-button>
+        </el-button> -->
       </div>
       <el-table :data="businessList" border bordertooltip-effect="dark"  @selection-change="handleSelectionChange">
         <el-table-column type="selection" width="55"></el-table-column>

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

@@ -242,6 +242,9 @@
           上一步</el-button>
         <el-button ref="floatBtn" type="primary" plain size="mini" @click="nextTab"
           v-if="parseInt(activeName) < totalTab">下一步</el-button>
+        <el-button type="primary" size="mini" @click="nextStep()" v-if="add_flat && IsCompanyUser == 1 && parseInt(activeName)==3">
+          提交
+        </el-button>
       </div>
     </el-card>
 
@@ -619,6 +622,9 @@
       this.orgtreeChange(this.majorDept)
     },
     methods: {
+       nextStep(){
+         this.$refs["subfileList"].nextStep();
+      },
       annaudit() {
         this.annentityForm.supplierId = parseInt(this.serviceId)
         this.annentityForm.SupplierName = this.formData.SupplierName

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

@@ -249,6 +249,9 @@
           上一步</el-button>
         <el-button ref="floatBtn" type="primary" plain size="mini" @click="nextTab"
           v-if="parseInt(activeName) < totalTab">下一步</el-button>
+        <el-button type="primary" size="mini" @click="nextStep()" v-if="add_flat && IsCompanyUser == 1 && parseInt(activeName)==3">
+          提交
+        </el-button>
       </div>
 
     </el-card>
@@ -626,6 +629,9 @@
       this.orgtreeChange(this.majorDept)
     },
     methods: {
+      nextStep(){
+         this.$refs["subfileList"].nextStep();
+      },
       annaudit() {
         this.annentityForm.supplierId = parseInt(this.serviceId)
         this.annentityForm.SupplierName = this.formData.SupplierName

+ 6 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/techedit.vue

@@ -240,6 +240,9 @@
           上一步</el-button>
         <el-button ref="floatBtn" type="primary" plain size="mini" @click="nextTab"
           v-if="parseInt(activeName) < totalTab">下一步</el-button>
+        <el-button type="primary" size="mini" @click="nextStep()" v-if="add_flat && IsCompanyUser == 1 && parseInt(activeName)==3">
+          提交
+        </el-button>
       </div>
     </el-card>
 
@@ -612,6 +615,9 @@
       this.orgtreeChange(this.majorDept)
     },
     methods: {
+      nextStep(){
+         this.$refs["subfileList"].nextStep();
+      },
       annaudit() {
         this.annentityForm.supplierId = parseInt(this.serviceId)
         this.annentityForm.SupplierName = this.formData.SupplierName