From 243c0592bd8708b2ab56ee937d0d4357d2b06dda Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 05 一月 2024 15:30:28 +0800
Subject: [PATCH] 修改错误字段,添加缺少字段,将下拉显示详情中的内容改成中文
---
north-glass-erp/northglass-erp/src/views/pp/processCard/ProductionScheduling.vue | 139 +++++++++++++++++++++++-----------------------
1 files changed, 69 insertions(+), 70 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/views/pp/processCard/ProductionScheduling.vue b/north-glass-erp/northglass-erp/src/views/pp/processCard/ProductionScheduling.vue
index 63110f6..e5ca6ad 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/processCard/ProductionScheduling.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/processCard/ProductionScheduling.vue
@@ -66,24 +66,23 @@
{type:'expand',fixed:"left",slots: { content:'content' },width: 50},
{ type: 'checkbox',fixed:"left", title: '閫夋嫨', width: 80 },
{ type: 'seq',fixed:"left", title: '鑷簭', width: 50 },
- {field: 'id', title: '鎺掍骇缂栧彿', sortable: true, width: 120 },
- {field: 'salesOrderNo', title: '閿�鍞崟鍙�',slots: { filter: 'num1_filter' }, sortable: true, width: 100 },
- {field: 'customerName', title: '瀹㈡埛鍚嶇О', sortable: true, width: 110},
- {field: 'EntryName', title: '椤圭洰鍚嶇О', sortable: true , width: 100},
- {field: 'serialNumber', title: '搴忓彿', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }, width: 90},
- {field: 'productName', title: '浜у搧鍚嶇О', sortable: true, width: 140},
- {field: 'width', title: '瀹�', sortable: true , width: 70},
- {field: 'height', title: '楂�', sortable: true , width: 70},
- {field: 'number', title: '鏁伴噺', sortable: true , width: 70},
- {field: 'area', title: '闈㈢Н', sortable: true , width: 90},
- {field: 'productionSchedulingQuantity' , width: 120,editRender: { name: 'input', attrs: { placeholder: '' } }, title: '鎺掍骇鏁伴噺', sortable: true},
-
- {field: 'availableQuantity', title: '宸叉帓浜ф暟閲�', sortable: true , width: 120},
- {field: 'availableQuantityArea', title: '宸叉帓浜ч潰绉�', sortable: true , width: 120},
- {field: 'usedQuantity', title: '鏈帓浜ф暟閲�', sortable: true , width: 120},
- {field: 'usedQuantityArea', title: '鏈帓浜ч潰绉�', sortable: true , width: 120},
- {field: 'shape', title: '褰㈢姸', sortable: true , width: 80},
- {field: 'notes', title: '澶囨敞', sortable: true , width: 120},
+ {field: '鎺掍骇缂栧彿', title: '鎺掍骇缂栧彿', sortable: true, width: 120 },
+ {field: '閿�鍞崟鍙�', title: '閿�鍞崟鍙�',slots: { filter: 'num1_filter' }, sortable: true, width: 100 },
+ {field: '瀹㈡埛鍚嶇О', title: '瀹㈡埛鍚嶇О', sortable: true, width: 110},
+ {field: '椤圭洰鍚嶇О', title: '椤圭洰鍚嶇О', sortable: true , width: 100},
+ {field: '搴忓彿', title: '搴忓彿', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }, width: 90},
+ {field: '浜у搧鍚嶇О', title: '浜у搧鍚嶇О', sortable: true, width: 140},
+ {field: '瀹�', title: '瀹�', sortable: true , width: 70},
+ {field: '楂�', title: '楂�', sortable: true , width: 70},
+ {field: '鏁伴噺', title: '鏁伴噺', sortable: true , width: 70},
+ {field: '闈㈢Н', title: '闈㈢Н', sortable: true , width: 90},
+ {field: '鎺掍骇鏁伴噺' , width: 120,editRender: { name: 'input', attrs: { placeholder: '' } }, title: '鎺掍骇鏁伴噺', sortable: true},
+ {field: '宸叉帓浜ф暟閲�', title: '宸叉帓浜ф暟閲�', sortable: true , width: 120},
+ {field: '宸叉帓浜ч潰绉�', title: '宸叉帓浜ч潰绉�', sortable: true , width: 120},
+ {field: '鏈帓浜ф暟閲�', title: '鏈帓浜ф暟閲�', sortable: true , width: 120},
+ {field: '鏈帓浜ч潰绉�', title: '鏈帓浜ч潰绉�', sortable: true , width: 120},
+ {field: '褰㈢姸', title: '褰㈢姸', sortable: true , width: 80},
+ {field: '澶囨敞', title: '澶囨敞', sortable: true , width: 120},
],//琛ㄥご鎸夐挳
toolbarConfig: {
@@ -99,66 +98,66 @@
},
data: [
{
- id:"PC20230100001",
- salesOrderNo: 'NG231207',
- customerName:'XXX鍏徃',
- EntryName:"XXXX鍏洯",
- serialNumber: '1',
- productName: '6mm瓒呯櫧Low-E(澶�)+A12+6mm瓒呯櫧骞抽挗(鍐�)',
- width: '2000',
- height: '1000',
- number: '10',
- area: '20000',
- productionSchedulingQuantity: '',
- availableQuantity: '10000',
- availableQuantityArea: '10000',
- usedQuantity: '',
- usedQuantityArea: '',
- shape: '鐭╁舰',
- notes: '澶囨敞'
+ 鎺掍骇缂栧彿:"PC20230100001",
+ 閿�鍞崟鍙�: 'NG231207',
+ 瀹㈡埛鍚嶇О:'XXX鍏徃',
+ 椤圭洰鍚嶇О:"XXXX鍏洯",
+ 搴忓彿: '1',
+ 浜у搧鍚嶇О: '6mm瓒呯櫧Low-E(澶�)+A12+6mm瓒呯櫧骞抽挗(鍐�)',
+ 瀹�: '2000',
+ 楂�: '1000',
+ 鏁伴噺: '10',
+ 闈㈢Н: '20000',
+ 鎺掍骇鏁伴噺: '',
+ 宸叉帓浜ф暟閲�: '10000',
+ 宸叉帓浜ч潰绉�: '10000',
+ 鏈帓浜ф暟閲�: '',
+ 鏈帓浜ч潰绉�: '',
+ 褰㈢姸: '鐭╁舰',
+ 澶囨敞: '澶囨敞'
},
{
- id:"PC20230100001",
- salesOrderNo: 'NG231207',
- customerName:'XXX鍏徃',
- EntryName:"XXXX鍏洯",
- serialNumber: '1',
- productName: '12mm瓒呯櫧Low-E(澶�)+A12+12mm瓒呯櫧骞抽挗(鍐�)',
- width: '2000',
- height: '1000',
- number: '10',
- area: '20000',
- productionSchedulingQuantity: '',
- availableQuantity: '10000',
- availableQuantityArea: '10000',
- usedQuantity: '123',
- usedQuantityArea: '123',
- shape: '鐭╁舰',
- notes: '澶囨敞'
+ 鎺掍骇缂栧彿:"PC20230100001",
+ 閿�鍞崟鍙�: 'NG231207',
+ 瀹㈡埛鍚嶇О:'XXX鍏徃',
+ 椤圭洰鍚嶇О:"XXXX鍏洯",
+ 搴忓彿: '1',
+ 浜у搧鍚嶇О: '6mm瓒呯櫧Low-E(澶�)+A12+6mm瓒呯櫧骞抽挗(鍐�)',
+ 瀹�: '2000',
+ 楂�: '1000',
+ 鏁伴噺: '10',
+ 闈㈢Н: '20000',
+ 鎺掍骇鏁伴噺: '',
+ 宸叉帓浜ф暟閲�: '10000',
+ 宸叉帓浜ч潰绉�: '10000',
+ 鏈帓浜ф暟閲�: '',
+ 鏈帓浜ч潰绉�: '',
+ 褰㈢姸: '鐭╁舰',
+ 澶囨敞: '澶囨敞'
},
{
- id:"",
- salesOrderNo: 'NG231207',
- customerName:'XXX鍏徃',
- EntryName:"XXXX鍏洯",
- serialNumber: '1',
- productName: '8mm瓒呯櫧Low-E(澶�)+A12+8mm瓒呯櫧骞抽挗(鍐�)',
- width: '2000',
- height: '1000',
- number: '10',
- area: '20000',
- productionSchedulingQuantity: '',
- availableQuantity: '10000',
- availableQuantityArea: '10000',
- usedQuantity: '',
- usedQuantityArea: '',
- shape: '鐭╁舰',
- notes: '澶囨敞'
+ 鎺掍骇缂栧彿:"PC20230100001",
+ 閿�鍞崟鍙�: 'NG231207',
+ 瀹㈡埛鍚嶇О:'XXX鍏徃',
+ 椤圭洰鍚嶇О:"XXXX鍏洯",
+ 搴忓彿: '1',
+ 浜у搧鍚嶇О: '6mm瓒呯櫧Low-E(澶�)+A12+6mm瓒呯櫧骞抽挗(鍐�)',
+ 瀹�: '2000',
+ 楂�: '1000',
+ 鏁伴噺: '10',
+ 闈㈢Н: '20000',
+ 鎺掍骇鏁伴噺: '',
+ 宸叉帓浜ф暟閲�: '10000',
+ 宸叉帓浜ч潰绉�: '10000',
+ 鏈帓浜ф暟閲�: '',
+ 鏈帓浜ч潰绉�: '',
+ 褰㈢姸: '鐭╁舰',
+ 澶囨敞: '澶囨敞'
},
],//table body瀹為檯鏁版嵁
//鑴氶儴姹傚拰
footerMethod ({ columns, data }) {//椤佃剼鍑芥暟
- let footList=['number','productionSchedulingQuantity','availableQuantity','availableQuantityArea','usedQuantity','area','usedQuantityArea']
+ let footList=['鏁伴噺','闈㈢Н','鎺掍骇鏁伴噺','宸叉帓浜ф暟閲�','宸叉帓浜ч潰绉�','鏈帓浜ф暟閲�','鏈帓浜ч潰绉�']
return[
columns.map((column, columnIndex) => {
if (columnIndex === 0) {
--
Gitblit v1.8.0