sc
This commit is contained in:
@@ -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: [],
|
||||||
|
|||||||
@@ -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: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user