szh-new
sunzehua 3 months ago
parent 6773b070a5
commit 2cc2bc3ef9

@ -166,7 +166,7 @@ const [registerTable, { reload, setLoading, getForm, getSelectRows, setProps, se
}) })
arr.splice(i, 1) arr.splice(i, 1)
} }
if( arr[i].bookingSlotSaleInfoList.length == 1){ if (arr[i].bookingSlotSaleInfoList && arr[i].bookingSlotSaleInfoList.length == 1) {
arr[i].op = arr[i].bookingSlotSaleInfoList[0].op arr[i].op = arr[i].bookingSlotSaleInfoList[0].op
arr[i].customername = arr[i].bookingSlotSaleInfoList[0].customername arr[i].customername = arr[i].bookingSlotSaleInfoList[0].customername
arr[i].custservice = arr[i].bookingSlotSaleInfoList[0].custservice arr[i].custservice = arr[i].bookingSlotSaleInfoList[0].custservice
@ -184,7 +184,7 @@ const [registerTable, { reload, setLoading, getForm, getSelectRows, setProps, se
setProps({ setProps({
showIndexColumn: false, showIndexColumn: false,
}), }),
resolve({ data: arr, total: res.count }) resolve({ data: arr, total: res.count })
optionsStore.getOptionsByCode('GetClientPortSelectList') optionsStore.getOptionsByCode('GetClientPortSelectList')
}) })
}, },

Loading…
Cancel
Save