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" /> -