From e5ed44879d7722c160b9af63ba51b333bc7f4d1d Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期五, 17 十一月 2023 16:43:41 +0800 Subject: [PATCH] modified: src/views/plan/manufacturingorder/index.vue --- src/views/plan/manufacturingorder/index.vue | 140 +++++++++++++++++++++++----------------------- 1 files changed, 70 insertions(+), 70 deletions(-) diff --git a/src/views/plan/manufacturingorder/index.vue b/src/views/plan/manufacturingorder/index.vue index 8242121..d90208e 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,19 +41,20 @@ </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> 鍙戞枡<i class="el-icon-arrow-down el-icon--right"></i> </el-button> --> @@ -64,7 +66,7 @@ >{{ item.label }}</el-dropdown-item > </el-dropdown-menu> --> - </el-dropdown> + <!-- </el-dropdown> --> <!-- <el-button v-if="permissions.manufacturingorder_orderto_ifs" @click="commitOrderIfs()" @@ -324,7 +326,7 @@ sort: true, isTrue: true, formatter: this.formatState, - propVal: '01planned', + // propVal: '01planned', isSearch: true, searchInfoType: 'select', optList: () => { @@ -490,27 +492,25 @@ isSearch: true, searchInfoType: 'text' }, + // { + // minWidth: '120', + // prop: 'outerColor', + // label: '澶栨姢棰滆壊', + // sort: true, + // isTrue: true, + // isSearch: true, + // searchInfoType: 'text' + // }, - { - minWidth: '120', - prop: 'outerColor', - label: '澶栨姢棰滆壊', - sort: true, - isTrue: true, - isSearch: true, - searchInfoType: 'text' - }, - - { - minWidth: '120', - prop: 'insulationColor', - label: '缁濈紭棰滆壊', - sort: true, - isTrue: true, - isSearch: true, - searchInfoType: 'text' - }, - + // { + // minWidth: '120', + // prop: 'insulationColor', + // label: '缁濈紭棰滆壊', + // sort: true, + // isTrue: true, + // isSearch: true, + // searchInfoType: 'text' + // }, { minWidth: '120', prop: 'qtyRequired', @@ -630,42 +630,42 @@ isSearch: true, searchInfoType: 'text' }, - { - minWidth: '100', - prop: 'oriIfsOrderNo', - label: '鍘烮FS璁㈠崟鍙�', - sort: true, - isTrue: true, - isSearch: true, - searchInfoType: 'text' - }, - { - minWidth: '100', - prop: 'ifsOrderNo', - label: 'IFS璁㈠崟鍙�', - sort: true, - isTrue: true, - isSearch: true, - searchInfoType: 'text' - }, - { - minWidth: '100', - prop: 'ifsReleaseNo', - label: 'IFS涓嬭揪鍙�', - sort: true, - isTrue: true, - isSearch: true, - searchInfoType: 'text' - }, - { - minWidth: '100', - prop: 'ifsSequenceNo', - label: 'IFS搴忓垪鍙�', - sort: true, - isTrue: true, - isSearch: true, - searchInfoType: 'text' - }, + // { + // minWidth: '100', + // prop: 'oriIfsOrderNo', + // label: '鍘烮FS璁㈠崟鍙�', + // sort: true, + // isTrue: true, + // isSearch: true, + // searchInfoType: 'text' + // }, + // { + // minWidth: '100', + // prop: 'ifsOrderNo', + // label: 'IFS璁㈠崟鍙�', + // sort: true, + // isTrue: true, + // isSearch: true, + // searchInfoType: 'text' + // }, + // { + // minWidth: '100', + // prop: 'ifsReleaseNo', + // label: 'IFS涓嬭揪鍙�', + // sort: true, + // isTrue: true, + // isSearch: true, + // searchInfoType: 'text' + // }, + // { + // minWidth: '100', + // prop: 'ifsSequenceNo', + // label: 'IFS搴忓垪鍙�', + // sort: true, + // isTrue: true, + // isSearch: true, + // searchInfoType: 'text' + // }, { minWidth: '100', prop: 'qtyApply', @@ -690,7 +690,7 @@ minWidth: '140', width: '120', prop: 'endDate', - label: '鍒版湡鏃�', + label: '鍒版湡鏃堕棿', sort: true, isTrue: true, isSearch: true, @@ -1033,13 +1033,13 @@ }, initQueryParams() { const queryParam = [] - queryParam.push( - Object.assign({ - prop: 'state', - searchInfoType: 'select', - propVal: '01planned' - }) - ) + // queryParam.push( + // Object.assign({ + // prop: 'state', + // searchInfoType: 'select', + // propVal: '01planned' + // }) + // ) this.$refs.manufacturingOrderTable.setQueryParam(queryParam) this.getData() }, -- Gitblit v1.9.3