Procházet zdrojové kódy

修改 省子任务列表按钮权限, 确认结果页面

wangguangping před 3 roky
rodič
revize
2bf3ece306

+ 5 - 5
src/pages/main/advertising/materialApplicationExa.vue

@@ -2,7 +2,7 @@
     <fullscreen :fullscreen.sync="fullscreen" class="container">
         <div class="container-box">
             <toolList @iconCli="iconCli" :tooltit="tooltit"></toolList>
-            <div class="search">
+            <div class="search" v-if="isBtnShow">
                 <el-form
                 :model="searchSection"
                 ref="searchSection"
@@ -126,7 +126,7 @@
                 >
 
                 <h3>预计总金额:{{ amountsum }}</h3>
-                <h3>总数: {{ countsum }}</h3>
+                <h3  v-if="isBtnShow">总数: {{ countsum }}</h3>
             </div>
             <div class="tabbox">
                 <el-table
@@ -601,7 +601,7 @@ export default {
                 ]
             },
             
-            tooltit: "物料申请审核",
+            tooltit: this.isBtnShow ? "物料申请审核" : "确认结果",
             fullscreen: false,
             total: 0,
             pageSize: 1,
@@ -1105,7 +1105,7 @@ export default {
                 });
                 // this.multipleSelection.supplierName = supplierChoose[0].name;
                 // this.multipleSelection.supplierCode = supplierChoose[0].code;
-            } else if (v === 5) {
+            } else if (v === 5) { //任务分发确定
                 this.cWoInfoIssued.nextOpNo = this.treeListonly.leaderAuditNo;
                 this.cWoInfoIssued.nextOpName = this.treeListonly.leaderAuditName;
                 this.cWoInfoIssued.woId = this.params.woId;
@@ -1254,7 +1254,7 @@ export default {
             // this.params.countryWoId = this.$route.query.countyWoId;
 
             if(this.params.btnS == 1){
-                //确认结果路由
+                
                 this.isBtnShow = true
                 this.params.cityWoId = this.$route.query.cityWoId;
 

+ 4 - 3
src/pages/main/advertising/subtaskList.vue

@@ -32,13 +32,13 @@
                             <el-button
                                 size="mini"
                                 type="primary"
-                                @click="jump(1, scope.row)"
+                                @click="jump(1, scope.row)" v-if="scope.row.sts == 3 || scope.row.sts == 4 || scope.row.sts == 6"
                                 >确认结果</el-button
                             >
                             <el-button
                                 size="mini"
                                 type="primary"
-                                @click="jump(2, scope.row)"
+                                @click="jump(2, scope.row)"  v-if="scope.row.sts == 4 || scope.row.sts == 6"
                                 >验收情况</el-button
                             >
                         </template>
@@ -196,7 +196,8 @@ export default {
             infoApply: {},
             rovaList: [],
             woNoArr: [],
-            stsArr: ['待审批','通过','驳回','待验收','已结束'],
+            // stsArr: ['待审批','通过','驳回','待验收','已结束'],
+            stsArr: ['待确认', '通过', '驳回', '待验收', '已结束', '验收驳回', '待审批'],
         };
     },
     methods: {