From ace33ea508643bd5ac393ed66731a5daaedb2f6b Mon Sep 17 00:00:00 2001 From: jinna Date: Fri, 17 Apr 2026 14:32:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A1=E5=88=92=E7=AE=A1=E7=90=86=E7=BC=BA?= =?UTF-8?q?=E9=99=B7=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../equipmentLedger/index.vue | 46 +++++++++++++++++-- .../measurementRecords/index.vue | 27 ++++++++++- src/views/orderManagement/sinTerPlanOrder.vue | 40 ++++++++-------- 3 files changed, 88 insertions(+), 25 deletions(-) diff --git a/src/views/equiptManagement/equipmentLedger/index.vue b/src/views/equiptManagement/equipmentLedger/index.vue index d69b8af..bb4a7ce 100644 --- a/src/views/equiptManagement/equipmentLedger/index.vue +++ b/src/views/equiptManagement/equipmentLedger/index.vue @@ -128,6 +128,7 @@ export default { search: true, sortable: true, overHidden: true, + width: 100, rules: [ { required: true, @@ -157,6 +158,7 @@ export default { search: true, addDisplay:false, editDisplay:false, + width: 100, // rules: [ // { // required: true, @@ -200,6 +202,7 @@ export default { value: 3, }, ], + width: 100, rules: [ { required: true, @@ -227,6 +230,35 @@ export default { prop: "macSpec", sortable: true, search: false, + width: 100, + }, + { + label: "作业中心", + prop: "workCenterName", + sortable: true, + search: false, + width: 150, + display:false + // type: "select", + // dicUrl:"/api/blade-desk/BA/WorkCenter/listForSelect", + // props:{ + // label:"wcName", + // value:"id" + // } + }, + { + label: "作业中心", + prop: "workCenterId", + sortable: true, + search: false, + width: 150, + hide: true, + type: "select", + dicUrl:"/api/blade-desk/BA/WorkCenter/listForSelect", + props:{ + label:"wcName", + value:"id" + } }, { label: "设备IP", @@ -235,6 +267,7 @@ export default { search: false, addDisplay:false, editDisplay:false, + width: 150, rules: [ { required: true, @@ -250,6 +283,7 @@ export default { span: 24, search: true, type: "select", + width: 100, dicData: [ { label: "是", @@ -270,6 +304,7 @@ export default { type: "textarea", maxlength: 100, showWordLimit: true, + width: 100, minRows: 3, }, { @@ -351,7 +386,8 @@ export default { typeName: row.typeName, used: row.used, virtualMac: row.virtualMac ? 1 : 0, - attachLink:row.attachLink.length > 0 ? row.attachLink[0] : '' + attachLink:row.attachLink.length > 0 ? row.attachLink[0] : '', + workCenterId:row.workCenterId } addDevice(params).then(res => { if(res.data.code == 200){ @@ -375,7 +411,8 @@ export default { typeName: row.typeName, used: row.used, virtualMac: row.virtualMac ? 1 : 0, - attachLink:row.attachLink.length > 0 ? row.attachLink[0] : '' + attachLink:row.attachLink.length > 0 ? row.attachLink[0] : '', + workCenterId:row.workCenterId } console.log('link----------',row.attachLink && row.attachLink != '' && typeof(row.attachLink) == String ? row.attachLink : row.attachLink.length > 0 ? row.attachLink[0] : '') console.log('row------------',row) @@ -438,9 +475,12 @@ export default { this.form = res.data.data this.form.attachLink = [this.form.attachLink] this.form.virtualMac = this.form.virtualMac == 1 ? true : false + this.form.workCenterId = this.form.workCenterId == '-1' ? '' : this.form.workCenterId + '' + done(); }) + }else{ + done(); } - done(); }, uploadAfter(res, done, loading, column){ console.log('res-----------------',res) diff --git a/src/views/equiptManagement/measurementRecords/index.vue b/src/views/equiptManagement/measurementRecords/index.vue index 0c4d1e5..62d03d2 100644 --- a/src/views/equiptManagement/measurementRecords/index.vue +++ b/src/views/equiptManagement/measurementRecords/index.vue @@ -9,7 +9,7 @@ + + +