| | |
| | | <template> |
| | | <template> |
| | | <up-popup :show="dialogFormVisible" mode="bottom" :round="10" closeable @close="closeDia"> |
| | | <view class="form-popup"> |
| | | <view class="popup-header"> |
| | |
| | | supplierName: form.value.supplierName || '', |
| | | itemType: '', |
| | | inboundNum: 0, |
| | | inboundDate: '', |
| | | inboundDate: getCurrentDate(), |
| | | taxRate: null, |
| | | taxInclusiveUnitPrice: 0, |
| | | taxInclusiveTotalPrice: 0, |
| | |
| | | |
| | | const openDatePicker = (index) => { |
| | | currentEditIndex.value = index |
| | | const currentDate = productList.value[index]?.inboundDate |
| | | dateValue.value = currentDate ? new Date(currentDate).getTime() : Date.now() |
| | | showDatePicker.value = true |
| | | } |
| | | |