zth
sunzehua 2 weeks ago
parent 13ca72aa7a
commit cac1df091c

@ -340,18 +340,7 @@
</div>
<div class="right">
<BasicForm @register="registerForm">
<template #email="{ model, field }">
<a-input v-model:value="model.email" size="small"
style="width: 50%;margin-right: 20px"></a-input>
<a-switch checked-children="" un-checked-children="" size="small"
v-model:checked="model.emailFlag" />
</template>
<template #cellPhoneNO="{ model, field }">
<a-input v-model:value="model.cellPhoneNO" size="small"
style="width: 50%;margin-right: 20px"></a-input>
<a-switch checked-children="" un-checked-children="" size="small"
v-model:checked="model.cellPhoneNOFlag" />
</template>
</BasicForm>
<BasicTable @register="registerTable">
@ -547,11 +536,13 @@ const detailForm = [
{
field: 'cellPhoneNOFlag',
component: 'Input',
defaultValue: true,
show: false,
colProps: { span: 24 },
},
{
field: 'emailFlag',
defaultValue: true,
show: false,
component: 'Input',
colProps: { span: 24 },
@ -560,14 +551,12 @@ const detailForm = [
field: 'email',
label: '邮箱',
component: 'Input',
slot: 'email',
colProps: { span: 24 },
},
{
field: 'cellPhoneNO',
label: '手机',
component: 'Input',
slot: 'cellPhoneNO',
colProps: { span: 24 },
},
{
@ -817,14 +806,6 @@ function getDetail() {
}
res.data.emailFlag = false
res.data.cellPhoneNOFlag = false
res.data.pushModeValues.forEach(item => {
if (item == 1) {
res.data.emailFlag = true
}
if (item == 2) {
res.data.cellPhoneNOFlag = true
}
})
res.data.applyAmount = numberThousandFormat(res.data.applyAmount, 2, false)
res.data.otherInvoiceAmount = numberThousandFormat(res.data.otherInvoiceAmount, 2, false)
res.data.invoiceAmount = numberThousandFormat(res.data.invoiceAmount, 2, false)

Loading…
Cancel
Save