From 55651237a33ab08eff5f5965176c2244ed2a3d4f Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Mon, 21 Jul 2025 16:21:23 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E6=96=99=E5=8D=95=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../stockManage/warehouseOut/edit.vue | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/src/views/foodManage/stockManage/warehouseOut/edit.vue b/src/views/foodManage/stockManage/warehouseOut/edit.vue index e1fc8741..9040e714 100644 --- a/src/views/foodManage/stockManage/warehouseOut/edit.vue +++ b/src/views/foodManage/stockManage/warehouseOut/edit.vue @@ -190,12 +190,12 @@ - + @@ -592,6 +592,23 @@ export default { this.materialDetailsData = response.rows||[]; }); }, + confirmImport(){ + if(this.materialDetailsData.length>0){ + this.$modal.confirm('是否确认覆盖货品明细?').then(() => { + this.materialList = this.materialDetailsData; + // this.materialList.forEach(item=>{ + // this.$set(item,"orderNum",item.purchaseNum) + // }) + // this.baseInfo.purchasePlanCode = this.importRow.planCode; + this.$set(this.baseInfo,"remark","导入领料单") + setTimeout(()=>{ + this.openImportDialog=false + },500) + }).catch(() => {}); + }else{ + this.$modal.msgError("采购计划明细无货品"); + } + }, patternValue(row){ row.fetchNum = row.fetchNum.replace(/[^\d.]/g, '').replace(/^(\d*\.\d{2}).*$/, '$1') setTimeout(()=>{