sc
This commit is contained in:
@@ -407,7 +407,7 @@ async function resetForm() {
|
||||
signPrice: 0,
|
||||
payAmount: 0,
|
||||
remark: undefined,
|
||||
isCompanyReceipts: data.configValue == 'true',
|
||||
isCompanyReceipts: data?.configValue == 'true',
|
||||
receiver: remarkInfo.value.enterUser,
|
||||
extraPay: [],
|
||||
otherPay: [],
|
||||
|
||||
@@ -423,7 +423,7 @@ const prodTotalPrice = 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(() => {
|
||||
@@ -529,7 +529,7 @@ async function resetForm(id) {
|
||||
signPrice: 0,
|
||||
payAmount: 0,
|
||||
remark: undefined,
|
||||
isCompanyReceipts: data.configValue == 'true',
|
||||
isCompanyReceipts: data?.configValue == 'true',
|
||||
receiver: undefined,
|
||||
extraPay: [],
|
||||
signProducts: [],
|
||||
|
||||
Reference in New Issue
Block a user