From 84372c9063b8fa92a6cb392708cfc34ea5648f43 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期四, 11 一月 2024 17:28:20 +0800 Subject: [PATCH] 车间订单修改工艺文件 --- src/views/plan/manufacturingorder/routing.vue | 124 ++++++++++++++++++++-------------------- 1 files changed, 62 insertions(+), 62 deletions(-) diff --git a/src/views/plan/manufacturingorder/routing.vue b/src/views/plan/manufacturingorder/routing.vue index 51d1794..c5048e3 100644 --- a/src/views/plan/manufacturingorder/routing.vue +++ b/src/views/plan/manufacturingorder/routing.vue @@ -31,7 +31,7 @@ </el-dialog> </template> <script> -import { fetchList } from '@/api/technology/routing' +import { fetchList } from '@/api/technology/document' import ttable from '@/views/common/ztt-table.vue' import { remote } from '@/api/admin/dict' export default { @@ -73,12 +73,12 @@ border: true, // 鏄惁鏈夌旱鍚戣竟妗� lazy: false, // 鏄惁闇�瑕佹噿鍔犺浇 fit: true, // 鍒楃殑瀹藉害鏄惁鑷拺寮� - multiSelect: false, // + multiSelect: true, // seqNo: true, isRefresh: true, // 鏄惁鏄剧ず鍒锋柊鎸夐挳 - isShowHide: true, // 鏄惁鏄剧ず鏄惧奖鎸夐挳 - isSearch: false, // 楂樼骇鏌ヨ鎸夐挳 - defaultOrderBy: { column: 'updateTime', direction: 'desc' } + isShowHide: true, // 鏄惁鏄剧ず鏄惧奖鎸夐挳H + isSearch: true, // 楂樼骇鏌ヨ鎸夐挳 + defaultOrderBy: { column: 'createTime', direction: 'desc' } }, table: { total: 0, @@ -89,62 +89,62 @@ column: [ { minWidth: '100', - prop: 'routingNo', - label: '宸ヨ壓缂栧彿', + prop: 'number', + label: '鏂囦欢缂栧彿', sort: true, isTrue: true, isSearch: true, searchInfoType: 'text' }, + { + minWidth: '100', + prop: 'name', + label: '鏂囦欢鍚嶇О', + sort: true, + isTrue: true, + isSearch: true, + searchInfoType: 'text' + }, + // 宸ヨ壓绫诲瀷 + // { + // minWidth: '120', + // prop: 'bomTypeDb', + // label: '宸ヨ壓绫诲瀷', + // sort: true, + // isTrue: true, + // isSearch: false, + // searchInfoType: 'select', + // formatter: this.formatBomTypeDbType, + // optList: () => { + // return this.bomTypeDbOptions + // } + // }, // { // minWidth: '100', - // prop: 'name', - // label: '宸ヨ壓鍚嶇О', + // prop: 'master', + // label: '涓诲伐鑹�', // sort: true, // isTrue: true, // isSearch: true, - // searchInfoType: 'text' + // searchInfoType: 'select', + // formatter: this.getMaster, + // optList: () => { + // return this.getMasterList() + // } // }, - // 宸ヨ壓绫诲瀷 - { - minWidth: '120', - prop: 'bomTypeDb', - label: '宸ヨ壓绫诲瀷', - sort: true, - isTrue: true, - isSearch: false, - searchInfoType: 'select', - formatter: this.formatBomTypeDbType, - optList: () => { - return this.bomTypeDbOptions - } - }, - { - minWidth: '100', - prop: 'master', - label: '涓诲伐鑹�', - sort: true, - isTrue: true, - isSearch: true, - searchInfoType: 'select', - formatter: this.getMaster, - optList: () => { - return this.getMasterList() - } - }, - { - minWidth: '100', - prop: 'state', - label: '鐘舵��', - sort: true, - isTrue: true, - isSearch: true, - searchInfoType: 'select', - formatter: this.getMasterState, - optList: () => { - return this.getMasterStateList() - } - }, + // { + // minWidth: '100', + // prop: 'state', + // label: '鐘舵��', + // sort: true, + // isTrue: true, + // isSearch: true, + // searchInfoType: 'select', + // formatter: this.getMasterState, + // optList: () => { + // return this.getMasterStateList() + // } + // }, { minWidth: '100', prop: 'description', @@ -154,16 +154,16 @@ isSearch: true, searchInfoType: 'text' }, - { - minWidth: '120', - prop: 'partName', - label: '闆朵欢鍚�', - sort: true, - isTrue: true, - isSearch: true, - searchInfoType: 'text', - noShowTip: false - }, + // { + // minWidth: '120', + // prop: 'partName', + // label: '闆朵欢鍚�', + // sort: true, + // isTrue: true, + // isSearch: true, + // searchInfoType: 'text', + // noShowTip: false + // }, { minWidth: '120', prop: 'partNo', @@ -202,7 +202,7 @@ label: '鑽夌' }, { - value: '02accepted', + value: '02pending', label: '宸叉帴鍙�' }, { @@ -285,7 +285,7 @@ currshowlist() { this.innerVisible = this.currshowlist if (this.currshowlist) { - this.queryParam.state = '02accepted' + this.queryParam.state = '03accepted' this.$nextTick(() => { this.getData() }) -- Gitblit v1.9.3