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