|
|
@@ -181,8 +181,8 @@
|
|
|
<el-input v-model="paymentForm.businessAddress" placeholder="工商地址" disabled />
|
|
|
</el-form-item>
|
|
|
|
|
|
- <el-form-item label="是否主账号:" prop="num">
|
|
|
- <el-radio-group v-model="paymentForm.num">
|
|
|
+ <el-form-item label="是否主账号:" prop="isture">
|
|
|
+ <el-radio-group v-model="paymentForm.isture">
|
|
|
<el-radio :label="1">是</el-radio>
|
|
|
<el-radio :label="0">否</el-radio>
|
|
|
</el-radio-group>
|
|
|
@@ -855,7 +855,7 @@ const paymentForm = ref<BankForm>({
|
|
|
bankInfoNo: undefined,
|
|
|
bankName: '',
|
|
|
bankNo: '',
|
|
|
- isture: '1',
|
|
|
+ isture: 1,
|
|
|
circlesName: '',
|
|
|
phone: '',
|
|
|
invoiceTypeNo: undefined,
|
|
|
@@ -2554,6 +2554,7 @@ const handleViewPayment = async (row: any) => {
|
|
|
try {
|
|
|
const res = await getBank(row.id);
|
|
|
Object.assign(paymentForm.value, res.data);
|
|
|
+ paymentForm.value.isture = Number(res.data.isture);
|
|
|
paymentDialogTitle.value = '查看付款信息';
|
|
|
paymentDialogReadonly.value = true;
|
|
|
paymentDialogVisible.value = true;
|
|
|
@@ -2568,6 +2569,7 @@ const handleEditPayment = async (row: any) => {
|
|
|
try {
|
|
|
const res = await getBank(row.id);
|
|
|
Object.assign(paymentForm.value, res.data);
|
|
|
+ paymentForm.value.isture = Number(res.data.isture);
|
|
|
// 从供应商详情中获取企业工商名称和工商地址
|
|
|
paymentForm.value.businessName = detailData.value.businessName || '';
|
|
|
paymentForm.value.businessAddress = detailData.value.businessAddress || '';
|
|
|
@@ -2599,7 +2601,7 @@ const handleAddPayment = () => {
|
|
|
bankInfoNo: undefined,
|
|
|
bankName: '',
|
|
|
bankNo: '',
|
|
|
- isture: '1',
|
|
|
+ isture: 1,
|
|
|
circlesName: detailData.value.socialCreditCode || '',
|
|
|
phone: '',
|
|
|
invoiceTypeNo: undefined,
|