From 1cf81a64af5bac57f2af8c419db0b22b3d5ba7c8 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期五, 17 十一月 2023 16:37:50 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/zs-mes-before --- src/views/plan/manufacturingorder/index.vue | 64 ++++++++++++++++--------------- 1 files changed, 33 insertions(+), 31 deletions(-) diff --git a/src/views/plan/manufacturingorder/index.vue b/src/views/plan/manufacturingorder/index.vue index 7ba7935..04cb8f0 100644 --- a/src/views/plan/manufacturingorder/index.vue +++ b/src/views/plan/manufacturingorder/index.vue @@ -22,8 +22,9 @@ </el-button> <el-dropdown-menu slot="dropdown"> <el-dropdown-item + :key="index" :command="item.command" - v-for="item in taskTypeArr" + v-for="(item,index) in taskTypeArr" :disabled="canCreateTask" >{{ item.label }}</el-dropdown-item > @@ -40,32 +41,33 @@ </el-button> <el-dropdown-menu slot="dropdown"> <el-dropdown-item + :key="index" :command="item.command" - v-for="item in stateTagArr" + v-for="(item,index) in stateTagArr" :disabled="item.disabled" >{{ item.label }}</el-dropdown-item > </el-dropdown-menu> </el-dropdown> - <el-dropdown + <!-- <el-dropdown v-if="permissions.manufacturingorder_issue_material" @command="issueMaterialHandleCommand" style="margin-left:10px;" - > - <el-button> + > --> + <!-- <el-button> 鍙戞枡<i class="el-icon-arrow-down el-icon--right"></i> - </el-button> - <el-dropdown-menu slot="dropdown"> + </el-button> --> + <!-- <el-dropdown-menu slot="dropdown"> <el-dropdown-item :command="item.command" v-for="item in issueMaterialArr" :disabled="item.disabled" >{{ item.label }}</el-dropdown-item > - </el-dropdown-menu> - </el-dropdown> - <el-button + </el-dropdown-menu> --> + <!-- </el-dropdown> --> + <!-- <el-button v-if="permissions.manufacturingorder_orderto_ifs" @click="commitOrderIfs()" type="primary" @@ -88,7 +90,7 @@ style="margin-left:10px;" :loading="loadingStructIfs" >鐗╂枡鍚屾ERP - </el-button> + </el-button> --> <el-button v-if="permissions.manufacturingorder_refresh_ifsorder" @click="refreshIfsorder()" @@ -230,7 +232,7 @@ taskTypeArr: [], stateTagArr: [ { - label: '宸茶鍒�', + label: '寰呬笅杈�', command: 'PLAN', disabled: false, permitArr: ['03completed', '04canceled'] @@ -269,7 +271,7 @@ } ], states: [ - { value: '01planned', label: '宸茶鍒�' }, + { value: '01planned', label: '寰呬笅杈�' }, { value: '02issued', label: '宸蹭笅杈�' }, { value: '03completed', @@ -408,24 +410,24 @@ isSearch: true, searchInfoType: 'text' }, - { - minWidth: '120', - prop: 'printRequirement', - label: '鍗板瓧瑕佹眰', - sort: true, - isTrue: true, - isSearch: true, - searchInfoType: 'text' - }, - { - minWidth: '120', - prop: 'lengthRequirement', - label: '鐩橀暱瑕佹眰', - sort: true, - isTrue: true, - isSearch: true, - searchInfoType: 'text' - }, + // { + // minWidth: '120', + // prop: 'printRequirement', + // label: '鍗板瓧瑕佹眰', + // sort: true, + // isTrue: true, + // isSearch: true, + // searchInfoType: 'text' + // }, + // { + // minWidth: '120', + // prop: 'lengthRequirement', + // label: '鐩橀暱瑕佹眰', + // sort: true, + // isTrue: true, + // isSearch: true, + // searchInfoType: 'text' + // }, { minWidth: '120', prop: 'orderRemark', -- Gitblit v1.9.3