| | |
| | | v-model="form.inboundDate" |
| | | readonly |
| | | placeholder="请选择入库日期" |
| | | @click="showDatePicker = true" |
| | | @click="openInboundDatePicker" |
| | | /> |
| | | <template #right> |
| | | <up-icon name="calendar" @click="showDatePicker = true"></up-icon> |
| | | <up-icon name="calendar" @click="openInboundDatePicker"></up-icon> |
| | | </template> |
| | | </u-form-item> |
| | | </view> |
| | |
| | | showDatePicker.value = false |
| | | } |
| | | |
| | | const openInboundDatePicker = () => { |
| | | dateValue.value = form.value.inboundDate ? new Date(form.value.inboundDate).getTime() : Date.now() |
| | | showDatePicker.value = true |
| | | } |
| | | |
| | | // 计算含税总价 |
| | | const calculateTotalPrice = () => { |
| | | const num = parseFloat(form.value.inboundNum) || 0 |