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/Replenish/AddReplenish.vue | 289 ++++++++++++++++++++++++++++++---------------------------
1 files changed, 154 insertions(+), 135 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/views/pp/Replenish/AddReplenish.vue b/north-glass-erp/northglass-erp/src/views/pp/Replenish/AddReplenish.vue
index 36e9c05..42b0bc3 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/Replenish/AddReplenish.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/Replenish/AddReplenish.vue
@@ -62,33 +62,33 @@
},//琛ㄥご鍙傛暟
columns:[
{type:'expand',fixed:"left",slots: { content:'content' },width: 50},
- { type: 'seq',fixed:"left", title: '鑷簭', width: 50 },
{ type: 'checkbox',fixed:"left", title: '閫夋嫨', width: 80 },
-
- {field: 'salesOrderNo', width: 120, title: '閿�鍞崟鍙�',filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true, },
- {field: 'processCardNo',width: 120, title: '娴佺▼鍗″彿', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
- {field: 'entryName', width: 130,title: '椤圭洰鍚嶇О', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
- {field: 'productName',width: 120, title: '浜у搧鍚嶇О',filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true},
- {field: 'reportingWorkNo', width: 100,title: '鎶ュ伐缂栧彿', sortable: true,showOverflow:"ellipsis"},
- {field: 'serialNumber', width: 70,title: '搴忓彿', sortable: true},
- {field: 'singlePieceName',width: 100, title: '鍗曠墖鍚嶇О', sortable: true},
- {field: 'floorNumber',width: 120, title: '妤煎眰缂栧彿', sortable: true,showOverflow:"ellipsis"},
- {field: 'marking', width: 80,title: '鏍囪', sortable: true},
- {field: 'pieces',width: 90, title: '鐗囨爣璁�', sortable: true},
- {field: 'processCardNumber',width: 120, title: '娴佺▼鍗℃暟閲�', sortable: true},
- {field: 'width',width: 80, title: '瀹�', sortable: true},
- {field: 'height',width: 80, title: '楂�', sortable: true},
- {field: 'area',width: 80, title: '闈㈢Н', sortable: true},
- {field: 'shape',width: 80, title: '褰㈢姸', sortable: true},
- {field: 'numberBroken',width: 120, title: '娆$牬鏁伴噺', sortable: true},
- {field: 'reasonType',width: 120, title: '娆$牬绫诲瀷', sortable: true},
- {field: 'reasonDamage',width: 120, title: '娆$牬鍘熷洜', sortable: true},
- {field: 'responsibilityDevice',width: 120, title: '璐d换璁惧', sortable: true},
- {field: 'reportingProcess',width: 120, title: '鎶ュ伐宸ュ簭', sortable: true},
- {field: 'responsibilityProcess',width: 120, title: '璐d换宸ュ簭', sortable: true},
- {field: 'responsibilityTeams',width: 120, title: '璐d换鐝粍', sortable: true},
- {field: 'responsibilityPersonnel',width: 120, title: '璐d换浜哄憳', sortable: true},
- {field: 'qualityInspector',width: 100, title: '璐ㄦ鍛�', sortable: true}
+ { type: 'seq',fixed:"left", title: '鑷簭', width: 50 },
+ {field: '鎶ュ伐鏃堕棿', width: 120,title: '鎶ュ伐鏃堕棿', sortable: true},
+ {field: '閿�鍞崟鍙�', width: 120, title: '閿�鍞崟鍙�',filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true, },
+ {field: '娴佺▼鍗″彿',width: 120, title: '娴佺▼鍗″彿', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+ {field: '椤圭洰鍚嶇О', width: 130,title: '椤圭洰鍚嶇О', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+ {field: '浜у搧鍚嶇О',width: 120, title: '浜у搧鍚嶇О',filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true},
+ {field: '鎶ュ伐缂栧彿', width: 100,title: '鎶ュ伐缂栧彿', sortable: true,showOverflow:"ellipsis"},
+ {field: '搴忓彿', width: 70,title: '搴忓彿', sortable: true},
+ {field: '鍗曠墖鍚嶇О',width: 100, title: '鍗曠墖鍚嶇О', sortable: true},
+ {field: '妤煎眰缂栧彿',width: 120, title: '妤煎眰缂栧彿', sortable: true,showOverflow:"ellipsis"},
+ {field: '鏍囪', width: 80,title: '鏍囪', sortable: true},
+ {field: '鐗囨爣璁�',width: 90, title: '鐗囨爣璁�', sortable: true},
+ {field: '娴佺▼鍗℃暟閲�',width: 120, title: '娴佺▼鍗℃暟閲�', sortable: true},
+ {field: '瀹�',width: 80, title: '瀹�', sortable: true},
+ {field: '楂�',width: 80, title: '楂�', sortable: true},
+ {field: '闈㈢Н',width: 80, title: '闈㈢Н', sortable: true},
+ {field: '褰㈢姸',width: 80, title: '褰㈢姸', sortable: true},
+ {field: '娆$牬鏁伴噺',width: 120, title: '娆$牬鏁伴噺', sortable: true},
+ {field: '娆$牬绫诲瀷',width: 120, title: '娆$牬绫诲瀷', sortable: true},
+ {field: '娆$牬鍘熷洜',width: 120, title: '娆$牬鍘熷洜', sortable: true},
+ {field: '璐d换璁惧',width: 120, title: '璐d换璁惧', sortable: true},
+ {field: '鎶ュ伐宸ュ簭',width: 120, title: '鎶ュ伐宸ュ簭', sortable: true},
+ {field: '璐d换宸ュ簭',width: 120, title: '璐d换宸ュ簭', sortable: true},
+ {field: '璐d换鐝粍',width: 120, title: '璐d换鐝粍', sortable: true},
+ {field: '璐d换浜哄憳',width: 120, title: '璐d换浜哄憳', sortable: true},
+ {field: '璐ㄦ鍛�',width: 100, title: '璐ㄦ鍛�', sortable: true}
],//琛ㄥご鎸夐挳
toolbarConfig: {
@@ -103,125 +103,144 @@
},
data: [
{
- reportingWorkTime:'2021-01-01',
- salesOrderNo:'NG23010101',
- processCardNo:'NG23010101A01',
- entryName:'xxxx',
- productName:"xxxxxxxxx",
- reportingWorkNo:"BG2301010001",
- floorNumber:"D4-010-01",
- area:'23.11',
- reportingProcess:'閽㈠寲',
- qualityInspector:"寮犱笁",
- serialNumber:'1',
- singlePieceName: '6mm鐧界幓骞抽挗(澶�)',
- marking: '1',
- pieces: '(澶�)',
- processCardNumber: '11',
- width: '575',
- height:"2241",
- shape: '鏅舰',
- upCompletedQuantity: '12',
- completedQuantity: '1',
- numberBroken:'2',
- reasonType: '鏈哄櫒',
- reasonDamage:'姘旀场瓒呮爣',
- responsibilityProcess:'涓┖',
- responsibilityTeams:'涓┖涓�鐝�',
- responsibilityPersonnel:'',
- responsibilityDevice:'涓┖3#绾�',
+ 鎶ュ伐鏃堕棿:'2021-01-01',
+ 閿�鍞崟鍙�:'NG23010101',
+ 娴佺▼鍗″彿:'NG23010101A01',
+ 椤圭洰鍚嶇О:'xxxx',
+ 浜у搧鍚嶇О:"xxxxxxxxx",
+ 鎶ュ伐缂栧彿:"BG2301010001",
+ 妤煎眰缂栧彿:"D4-010-01",
+ 闈㈢Н:'23.11',
+ 鎶ュ伐宸ュ簭:'閽㈠寲',
+ 璐ㄦ鍛�:"寮犱笁",
+ 搴忓彿:'1',
+ 鍗曠墖鍚嶇О: '6mm鐧界幓骞抽挗(澶�)',
+ 鏍囪: '1',
+ 鐗囨爣璁�: '(澶�)',
+ 娴佺▼鍗℃暟閲�: '11',
+ 瀹�: '575',
+ 楂�:"2241",
+ 褰㈢姸: '鏅舰',
+ 娆$牬鏁伴噺: '12',
+ 娆$牬绫诲瀷: '鏈哄櫒',
+ 娆$牬鍘熷洜:'姘旀场瓒呮爣',
+ 璐d换宸ュ簭:'涓┖',
+ 璐d换鐝粍:'涓┖涓�鐝�',
+ 璐d换浜哄憳:'',
+ 璐d换璁惧:'涓┖3#绾�',
},
{
- reportingWorkTime:'2021-01-01',
- salesOrderNo:'NG23010101',
- processCardNo:'NG23010101A01',
- entryName:'xxxx',
- productName:"xxxxxxxxx",
- reportingWorkNo:"BG2301010001",
- floorNumber:"D4-010-01",
- area:'23.11',
- reportingProcess:'閽㈠寲',
- qualityInspector:"寮犱笁",
- serialNumber:'1',
- singlePieceName: '6mm鐧界幓骞抽挗(澶�)',
- marking: '1',
- pieces: '(澶�)',
- processCardNumber: '11',
- width: '575',
- height:"2241",
- shape: '鏅舰',
- upCompletedQuantity: '12',
- completedQuantity: '1',
- numberBroken:'2',
- reasonType: '鏈哄櫒',
- reasonDamage:'姘旀场瓒呮爣',
- responsibilityProcess:'涓┖',
- responsibilityTeams:'涓┖涓�鐝�',
- responsibilityPersonnel:'',
- responsibilityDevice:'涓┖3#绾�',
+ 鎶ュ伐鏃堕棿:'2021-01-01',
+ 閿�鍞崟鍙�:'NG23010101',
+ 娴佺▼鍗″彿:'NG23010101A01',
+ 椤圭洰鍚嶇О:'xxxx',
+ 浜у搧鍚嶇О:"xxxxxxxxx",
+ 鎶ュ伐缂栧彿:"BG2301010001",
+ 妤煎眰缂栧彿:"D4-010-01",
+ 闈㈢Н:'23.11',
+ 鎶ュ伐宸ュ簭:'閽㈠寲',
+ 璐ㄦ鍛�:"寮犱笁",
+ 搴忓彿:'1',
+ 鍗曠墖鍚嶇О: '6mm鐧界幓骞抽挗(澶�)',
+ 鏍囪: '1',
+ 鐗囨爣璁�: '(澶�)',
+ 娴佺▼鍗℃暟閲�: '11',
+ 瀹�: '575',
+ 楂�:"2241",
+ 褰㈢姸: '鏅舰',
+ 娆$牬鏁伴噺: '12',
+ 娆$牬绫诲瀷: '鏈哄櫒',
+ 娆$牬鍘熷洜:'姘旀场瓒呮爣',
+ 璐d换宸ュ簭:'涓┖',
+ 璐d换鐝粍:'涓┖涓�鐝�',
+ 璐d换浜哄憳:'',
+ 璐d换璁惧:'涓┖3#绾�',
},
{
- reportingWorkTime:'2021-01-01',
- salesOrderNo:'NG23010101',
- processCardNo:'NG23010101A01',
- entryName:'xxxx',
- productName:"xxxxxxxxx",
- reportingWorkNo:"BG2301010001",
- floorNumber:"D4-010-01",
- area:'23.11',
- reportingProcess:'閽㈠寲',
- qualityInspector:"寮犱笁",
- serialNumber:'1',
- singlePieceName: '6mm鐧界幓骞抽挗(澶�)',
- marking: '1',
- pieces: '(澶�)',
- processCardNumber: '11',
- width: '575',
- height:"2241",
- shape: '鏅舰',
- upCompletedQuantity: '12',
- completedQuantity: '1',
- numberBroken:'2',
- reasonType: '鏈哄櫒',
- reasonDamage:'姘旀场瓒呮爣',
- responsibilityProcess:'涓┖',
- responsibilityTeams:'涓┖涓�鐝�',
- responsibilityPersonnel:'',
- responsibilityDevice:'涓┖3#绾�',
+ 鎶ュ伐鏃堕棿:'2021-01-01',
+ 閿�鍞崟鍙�:'NG23010101',
+ 娴佺▼鍗″彿:'NG23010101A01',
+ 椤圭洰鍚嶇О:'xxxx',
+ 浜у搧鍚嶇О:"xxxxxxxxx",
+ 鎶ュ伐缂栧彿:"BG2301010001",
+ 妤煎眰缂栧彿:"D4-010-01",
+ 闈㈢Н:'23.11',
+ 鎶ュ伐宸ュ簭:'閽㈠寲',
+ 璐ㄦ鍛�:"寮犱笁",
+ 搴忓彿:'1',
+ 鍗曠墖鍚嶇О: '6mm鐧界幓骞抽挗(澶�)',
+ 鏍囪: '1',
+ 鐗囨爣璁�: '(澶�)',
+ 娴佺▼鍗℃暟閲�: '11',
+ 瀹�: '575',
+ 楂�:"2241",
+ 褰㈢姸: '鏅舰',
+ 娆$牬鏁伴噺: '12',
+ 娆$牬绫诲瀷: '鏈哄櫒',
+ 娆$牬鍘熷洜:'姘旀场瓒呮爣',
+ 璐d换宸ュ簭:'涓┖',
+ 璐d换鐝粍:'涓┖涓�鐝�',
+ 璐d换浜哄憳:'',
+ 璐d换璁惧:'涓┖3#绾�',
},
{
- reportingWorkTime:'2021-01-01',
- salesOrderNo:'NG23010101',
- processCardNo:'NG23010101A01',
- entryName:'xxxx',
- productName:"xxxxxxxxx",
- reportingWorkNo:"BG2301010001",
- floorNumber:"D4-010-01",
- area:'23.11',
- reportingProcess:'閽㈠寲',
- qualityInspector:"寮犱笁",
- serialNumber:'1',
- singlePieceName: '6mm鐧界幓骞抽挗(澶�)',
- marking: '1',
- pieces: '(澶�)',
- processCardNumber: '11',
- width: '575',
- height:"2241",
- shape: '鏅舰',
- upCompletedQuantity: '12',
- completedQuantity: '1',
- numberBroken:'2',
- reasonType: '鏈哄櫒',
- reasonDamage:'姘旀场瓒呮爣',
- responsibilityProcess:'涓┖',
- responsibilityTeams:'涓┖涓�鐝�',
- responsibilityPersonnel:'',
- responsibilityDevice:'涓┖3#绾�',
+ 鎶ュ伐鏃堕棿:'2021-01-01',
+ 閿�鍞崟鍙�:'NG23010101',
+ 娴佺▼鍗″彿:'NG23010101A01',
+ 椤圭洰鍚嶇О:'xxxx',
+ 浜у搧鍚嶇О:"xxxxxxxxx",
+ 鎶ュ伐缂栧彿:"BG2301010001",
+ 妤煎眰缂栧彿:"D4-010-01",
+ 闈㈢Н:'23.11',
+ 鎶ュ伐宸ュ簭:'閽㈠寲',
+ 璐ㄦ鍛�:"寮犱笁",
+ 搴忓彿:'1',
+ 鍗曠墖鍚嶇О: '6mm鐧界幓骞抽挗(澶�)',
+ 鏍囪: '1',
+ 鐗囨爣璁�: '(澶�)',
+ 娴佺▼鍗℃暟閲�: '11',
+ 瀹�: '575',
+ 楂�:"2241",
+ 褰㈢姸: '鏅舰',
+ 娆$牬鏁伴噺: '12',
+ 娆$牬绫诲瀷: '鏈哄櫒',
+ 娆$牬鍘熷洜:'姘旀场瓒呮爣',
+ 璐d换宸ュ簭:'涓┖',
+ 璐d换鐝粍:'涓┖涓�鐝�',
+ 璐d换浜哄憳:'',
+ 璐d换璁惧:'涓┖3#绾�',
+ },
+ {
+ 鎶ュ伐鏃堕棿:'2021-01-01',
+ 閿�鍞崟鍙�:'NG23010101',
+ 娴佺▼鍗″彿:'NG23010101A01',
+ 椤圭洰鍚嶇О:'xxxx',
+ 浜у搧鍚嶇О:"xxxxxxxxx",
+ 鎶ュ伐缂栧彿:"BG2301010001",
+ 妤煎眰缂栧彿:"D4-010-01",
+ 闈㈢Н:'23.11',
+ 鎶ュ伐宸ュ簭:'閽㈠寲',
+ 璐ㄦ鍛�:"寮犱笁",
+ 搴忓彿:'1',
+ 鍗曠墖鍚嶇О: '6mm鐧界幓骞抽挗(澶�)',
+ 鏍囪: '1',
+ 鐗囨爣璁�: '(澶�)',
+ 娴佺▼鍗℃暟閲�: '11',
+ 瀹�: '575',
+ 楂�:"2241",
+ 褰㈢姸: '鏅舰',
+ 娆$牬鏁伴噺: '12',
+ 娆$牬绫诲瀷: '鏈哄櫒',
+ 娆$牬鍘熷洜:'姘旀场瓒呮爣',
+ 璐d换宸ュ簭:'涓┖',
+ 璐d换鐝粍:'涓┖涓�鐝�',
+ 璐d换浜哄憳:'',
+ 璐d换璁惧:'涓┖3#绾�',
},
],//table body瀹為檯鏁版嵁
//鑴氶儴姹傚拰
footerMethod ({ columns, data }) {//椤佃剼鍑芥暟
- let footList=['processCardNumber','numberBroken']
+ let footList=['娴佺▼鍗℃暟閲�','闈㈢Н','娆$牬鏁伴噺']
return[
columns.map((column, columnIndex) => {
if (columnIndex === 0) {
--
Gitblit v1.8.0