From 19609d09313bf89f8a5f32dacd4ebd34c51e5f3d Mon Sep 17 00:00:00 2001 From: hongchao <3228015117@qq.com> Date: Mon, 23 Dec 2024 18:33:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E6=96=99=E7=94=B3=E8=AF=B7=EF=BC=8C?= =?UTF-8?q?=E9=A2=86=E6=96=99=E5=87=BA=E5=BA=93bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lease/apply/component/addToolsApply.vue | 11 ++++++-- .../lease/apply/component/homeApply.vue | 25 ++++++++----------- .../lease/apply/component/queryToolsApply.vue | 4 +-- src/views/material/lease/outBound/index.vue | 21 ++++++---------- 4 files changed, 29 insertions(+), 32 deletions(-) diff --git a/src/views/material/lease/apply/component/addToolsApply.vue b/src/views/material/lease/apply/component/addToolsApply.vue index 0a8b68a1..6221976a 100644 --- a/src/views/material/lease/apply/component/addToolsApply.vue +++ b/src/views/material/lease/apply/component/addToolsApply.vue @@ -137,7 +137,7 @@ controls-position="right" type="number" style="width: 100%" :min="0" @input="(v)=>(scope.row.unitValue==1?scope.row.preNum=Number(v.replace(/[^\d.]/g,'')) : scope.row.preNum=Number(v.replace(/[^\d]/g,'')))" - > + > @@ -456,7 +456,7 @@ export default { for (let z of deviceTypeList) { if (z.data.typeId === i) { const obj = JSON.parse(JSON.stringify(z.data)); - obj.preNum = 1; + obj.preNum = 0; if(obj.storageNum<=0){ let index = this.deviceType.length; if(index==1){ @@ -550,6 +550,13 @@ export default { if (this.equipmentList.length > 0) { this.$refs["maForm"].validate(async (valid) => { if (valid) { + for(let i = 0;i - + /> @@ -180,14 +183,6 @@ width="120px" :show-overflow-tooltip="true" /> - - - + /> @@ -151,13 +153,6 @@ :show-overflow-tooltip="true" /> -