This commit is contained in:
qsh
2025-10-23 14:19:53 +08:00
parent fec4bd5ee0
commit 83abbc57b7
2 changed files with 3 additions and 3 deletions

View File

@@ -407,7 +407,7 @@ async function resetForm() {
signPrice: 0, signPrice: 0,
payAmount: 0, payAmount: 0,
remark: undefined, remark: undefined,
isCompanyReceipts: data.configValue == 'true', isCompanyReceipts: data?.configValue == 'true',
receiver: remarkInfo.value.enterUser, receiver: remarkInfo.value.enterUser,
extraPay: [], extraPay: [],
otherPay: [], otherPay: [],

View File

@@ -423,7 +423,7 @@ const prodTotalPrice = computed(() => {
}) })
const extraTotalPrice = computed(() => { const extraTotalPrice = computed(() => {
return form.value.extraPay.reduce((pre, cur) => pre + cur.extraPayMoney, 0) return form.value.extraPay?.reduce((pre, cur) => pre + cur.extraPayMoney, 0)
}) })
const showSchema = computed(() => { const showSchema = computed(() => {
@@ -529,7 +529,7 @@ async function resetForm(id) {
signPrice: 0, signPrice: 0,
payAmount: 0, payAmount: 0,
remark: undefined, remark: undefined,
isCompanyReceipts: data.configValue == 'true', isCompanyReceipts: data?.configValue == 'true',
receiver: undefined, receiver: undefined,
extraPay: [], extraPay: [],
signProducts: [], signProducts: [],