From 41d51e701f70606fe4ebc746c0fe6d53e6a60a9e Mon Sep 17 00:00:00 2001 From: douqi <630797947@qq.com> Date: Wed, 22 Feb 2023 08:33:25 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accountManagement/components/recharge.vue | 144 +++++++++++++++--- .../accountManagement/index.vue | 2 +- 2 files changed, 122 insertions(+), 24 deletions(-) diff --git a/src/views/financialCenter/accountManagement/components/recharge.vue b/src/views/financialCenter/accountManagement/components/recharge.vue index 5ce448c..942b720 100644 --- a/src/views/financialCenter/accountManagement/components/recharge.vue +++ b/src/views/financialCenter/accountManagement/components/recharge.vue @@ -8,22 +8,84 @@ >
- - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
@@ -43,14 +105,50 @@ export default { data() { return { form: {}, - rules: { - floorPrice: [ - { required: true, message: "请输入成本价", trigger: "blur" }, - ], - salePrice2company: [ - { required: true, message: "请输入企业销售价", trigger: "blur" }, - ], + oilCompanyAccountReverse: { + offlineTransactionProof: undefined, + offlineTransactionProofImageShow: undefined, + companyId: this.oilCompanyAccount.companyId, + transactionType: undefined, + transactionAmount: undefined, + rechargeRebate: undefined, + offlinePaymentCompany: undefined, + offlineStartTime: undefined, + offlineCompleteTime: undefined, + transactionState: 0, + auditMark: 0, + createSource: 'WEBM' + }, + gridNum: { + row: { + gutter: 2 + }, + cols: { + xs: 24, + sm: 24, + md: 12, + lg: 12, + xl: 6 + } }, + rules: { + transactionType: [ + { required: true, message: '请选择交易类型', trigger: 'change' } + ], + transactionAmount: [ + { required: true, message: '请输入交易金额', trigger: 'blur' }, + { pattern: /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/, message: '金额格式有误' } + ], + rechargeRebate: [ + { pattern: /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/, message: '格式有误' } + ], + offlinePaymentCompany: [ + { min: 5, max: 10, message: '长度在 5 到 10 个字符', trigger: 'blur' } + + ] + }, + companyFinance: { + }// 财务信息 }; }, methods: { diff --git a/src/views/financialCenter/accountManagement/index.vue b/src/views/financialCenter/accountManagement/index.vue index 15c9cb5..9927dad 100644 --- a/src/views/financialCenter/accountManagement/index.vue +++ b/src/views/financialCenter/accountManagement/index.vue @@ -75,7 +75,7 @@ -