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(()=>{