Browse Source

时间

master_hella_20240701
wangyufei 5 months ago
parent
commit
e7c3d5e96a
  1. 4
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue

4
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue

@ -60,7 +60,7 @@
@inputNumberChange="inputNumberChange" @inputNumberChange="inputNumberChange"
@tableFormSelectOnBlur="tableFormSelectOnBlur" @tableFormSelectOnBlur="tableFormSelectOnBlur"
><template v-slot="{row}"> ><template v-slot="{row}">
<el-date-picker v-bind:modelValue="row['validityDays']?addDay(row['produceDate'],row['validityDays']).format('YYYY-MM-DD'):''" <el-date-picker v-bind:modelValue="row['validityDays']?addDay(row['produceDate'],row['validityDays']):''" format="YYYY-MM-DD"
:clearable="true" :clearable="true"
style="width: 100%" style="width: 100%"
:disabled="true" :disabled="true"
@ -609,7 +609,7 @@ const tableSelectionDelete = (selection) => {
const submitForm = async (formType, data) => { const submitForm = async (formType, data) => {
data.subList = tableData.value // data.subList = tableData.value //
data.subList.forEach(row=>{ data.subList.forEach(row=>{
row['expireDate'] = row['validityDays']?addDay(row['produceDate'],row['validityDays']).format('YYYY-MM-DD'):'' row['expireDate'] = row['validityDays']?addDay(row['produceDate'],row['validityDays']):''
}) })
try { try {
if (formType === 'create') { if (formType === 'create') {

Loading…
Cancel
Save