From 2cba276c8826bffa95096370783a3dd544f7d11f Mon Sep 17 00:00:00 2001 From: binbin_pan Date: Mon, 1 Apr 2024 10:52:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E7=A0=81=E7=9B=98=E7=82=B9=E5=85=A5?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/store/warehousing/putInStore.vue | 48 +++++++++++-------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/sgzb-ui/src/views/store/warehousing/putInStore.vue b/sgzb-ui/src/views/store/warehousing/putInStore.vue index 3169ccca..8e7860d6 100644 --- a/sgzb-ui/src/views/store/warehousing/putInStore.vue +++ b/sgzb-ui/src/views/store/warehousing/putInStore.vue @@ -157,7 +157,7 @@ @@ -257,7 +257,7 @@ clearable :min="0" :controls="false" - style="width: 220px" + style="width: 13vw;" @keyup.enter.native="handleQuery" /> @@ -283,23 +283,23 @@ - + - + @@ -307,8 +307,13 @@ - + + + + + + - + 点击填充 @@ -385,24 +390,24 @@ - + - + @@ -556,6 +561,7 @@ export default { // 表单参数:编号表单 / 数量表单 numberForm: {}, codeForm: { + checkMan: undefined, putInType: undefined, remarks: undefined, typeId: undefined, @@ -652,6 +658,7 @@ export default { // 编码表单重置 resetCodeForm() { this.codeForm = { + checkMan: undefined, putInType: undefined, remarks: undefined, typeId: undefined, @@ -691,10 +698,10 @@ export default { const outFacCode = '' // 生产厂家 const maVender = this.supplierList.find(item => item.supplierId == this.codeForm.codeFactory)?.supplier || '' - // 检修日期: codeForm.thisCheckFixTime, 时间格式为 yyyy-MM-dd + // 检验日期: codeForm.thisCheckFixTime, 时间格式为 yyyy-MM-dd let thisCheckFixTime = new Date(this.codeForm.thisCheckFixTime).toLocaleDateString('zh-CN', {year: 'numeric', month: '2-digit', day: '2-digit'}).replace(/\//g, '-') if (thisCheckFixTime == 'Invalid Date') thisCheckFixTime = '' - // 下次检修日期: codeForm.nextCheckFixTime + // 下次检验日期: codeForm.nextCheckFixTime let nextCheckFixTime = new Date(this.codeForm.nextCheckFixTime).toLocaleDateString('zh-CN', {year: 'numeric', month: '2-digit', day: '2-digit'}).replace(/\//g, '-') if (nextCheckFixTime == 'Invalid Date') nextCheckFixTime = '' // 单价: codeForm.buyPrice @@ -775,7 +782,8 @@ export default { typeId: this.codeForm.typeId, num: this.codeForm.num, remarks: this.codeForm.remarks || '', - machIneDtoList: this.codeTableList + machIneDtoList: this.codeTableList, + checkMan: this.codeForm.checkMan || '', } console.log('🚀 ~ submitForm: ~ SavePutInfoDto', SavePutInfoDto)