From 4b9710fa0a64c6dc818e0ccb64014b2da984feed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Tue, 15 Nov 2022 10:54:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/StationDepartment/index.vue | 1 + src/views/system/goodsInfo/index.vue | 4 ++-- src/views/system/stationConsumable/index.vue | 19 ++++--------------- 3 files changed, 7 insertions(+), 17 deletions(-) diff --git a/src/views/system/StationDepartment/index.vue b/src/views/system/StationDepartment/index.vue index d8e8ca3..47393f3 100644 --- a/src/views/system/StationDepartment/index.vue +++ b/src/views/system/StationDepartment/index.vue @@ -255,6 +255,7 @@ v-model="item.departmentPerson" placeholder="请输入科室负责人" style="width: 250px" + maxlength="15" /> @@ -828,7 +828,7 @@ export default { /** 修改按钮操作 */ handleUpdate(row) { console.log(row) - this.reset(); + // this.reset(); const id = row.goodsInfoId || this.ids; getGoodsInfo(id).then((response) => { console.log(response) diff --git a/src/views/system/stationConsumable/index.vue b/src/views/system/stationConsumable/index.vue index ff17948..0a0aa98 100644 --- a/src/views/system/stationConsumable/index.vue +++ b/src/views/system/stationConsumable/index.vue @@ -126,17 +126,6 @@ >删除 - - + @@ -368,7 +357,7 @@ placeholder="保留小数点后两位" type="number" min="0" - oninput="if(value.indexOf('.')>0){value=value.slice(0,value.indexOf('.')+3)} if(value.length>5){value=value.slice(0,5)}" + oninput="if(value.indexOf('.')>0){value=value.slice(0,value.indexOf('.')+3)} if(value.length>7){value=value.slice(0,7)}" />