Browse Source

采购收货新增组件bug修复

master_hella_20240701
yufei0306 7 months ago
parent
commit
59479aedfc
  1. 3
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue

3
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue

@ -21,6 +21,7 @@
@formFormDateChange="formFormDateChange" @formFormDateChange="formFormDateChange"
@onEnter="onEnter" @onEnter="onEnter"
> >
<template v-slot="{row}"> <template v-slot="{row}">
<el-date-picker v-bind:modelValue="row['expireTime']?addDay(row['produceDate'],row['expireTime']).format('YYYY-MM-DD'):'2099-12-31'" <el-date-picker v-bind:modelValue="row['expireTime']?addDay(row['produceDate'],row['expireTime']).format('YYYY-MM-DD'):'2099-12-31'"
:clearable="true" :clearable="true"
@ -189,7 +190,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
}).then((res)=>{ }).then((res)=>{
res.list.forEach((item,index)=>{ res.list.forEach((item,index)=>{
const findItem = tableData.value.find(item1=>item1['itemCode']==item['code']) const findItem = tableData.value.find(item1=>item1['itemCode']==item['code'])
findItem['expireTime'] = findItem['expireTime'] findItem['expireTime'] = item['expireTime']
}) })
}) })
} else { } else {

Loading…
Cancel
Save