Commit f5426d03 by wangzhihui

优化

1 parent 78547bc0
...@@ -92,7 +92,7 @@ export default { ...@@ -92,7 +92,7 @@ export default {
{ {
label: '提现时间', label: '提现时间',
prop: 'createdDate', prop: 'createdDate',
width: 170 width: 180
}, },
{ {
label: '收款人姓名', label: '收款人姓名',
......
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
{ {
label: '提现时间', label: '提现时间',
prop: 'createdDate', prop: 'createdDate',
width: 170 width: 180
}, },
{ {
label: '收款人姓名', label: '收款人姓名',
......
...@@ -785,7 +785,7 @@ export default { ...@@ -785,7 +785,7 @@ export default {
this.$apis.withdraw.generateBatchCount(params).then(res => { this.$apis.withdraw.generateBatchCount(params).then(res => {
if (res.code == 0) { if (res.code == 0) {
numberOfRecord = res.data.numberOfRecord numberOfRecord = res.data.numberOfRecord
paymentTotal = (res.data.paymentTotal/100).toFixed(2) paymentTotal = res.data.paymentTotal
txt = all txt = all
? `当前共 ${numberOfRecord}条未处理【积分提现】记录,付款金额共 ${paymentTotal}元,是否确认生成批次?` ? `当前共 ${numberOfRecord}条未处理【积分提现】记录,付款金额共 ${paymentTotal}元,是否确认生成批次?`
: `将对您选择的${numberOfRecord} 条【积分提现】记录生成批次, : `将对您选择的${numberOfRecord} 条【积分提现】记录生成批次,
......
...@@ -33,7 +33,7 @@ export default { ...@@ -33,7 +33,7 @@ export default {
paymentChannelId: '', paymentChannelId: '',
paymentSubjectId: '', paymentSubjectId: '',
explain: '', explain: '',
approver: '', approverId: '',
phone: '', phone: '',
captcha: '', captcha: '',
remark: '' remark: ''
...@@ -89,7 +89,7 @@ export default { ...@@ -89,7 +89,7 @@ export default {
}, },
{ {
label: '管理员', label: '管理员',
name: 'approver', name: 'approverId',
type: 'select', type: 'select',
optionsName: 'adminList', optionsName: 'adminList',
optionId: 'adminId', optionId: 'adminId',
...@@ -123,7 +123,7 @@ export default { ...@@ -123,7 +123,7 @@ export default {
} }
], ],
payRule: { payRule: {
approver: [{ required: true, message: '请选择管理员', trigger: 'change' }], approverId: [{ required: true, message: '请选择管理员', trigger: 'change' }],
paymentChannelId: [{ required: true, message: '请选择付款渠道', trigger: 'change' }], paymentChannelId: [{ required: true, message: '请选择付款渠道', trigger: 'change' }],
paymentSubjectId: [{ required: true, message: '请选择付款主体', trigger: 'change' }], paymentSubjectId: [{ required: true, message: '请选择付款主体', trigger: 'change' }],
captcha: [{ required: true, message: '请输入验证码', trigger: 'blur' }], captcha: [{ required: true, message: '请输入验证码', trigger: 'blur' }],
...@@ -218,8 +218,8 @@ export default { ...@@ -218,8 +218,8 @@ export default {
phone: item.phone phone: item.phone
} }
}) })
this.$utils.getOptionsList(this, 'payFormData', false, 'approver') this.$utils.getOptionsList(this, 'payFormData', false, 'approverId')
this.payForm.approver = this.baseData.adminList[0].adminId this.payForm.approverId = this.baseData.adminList[0].adminId
this.payForm.phone = this.baseData.adminList[0].phone this.payForm.phone = this.baseData.adminList[0].phone
} }
}) })
...@@ -234,11 +234,11 @@ export default { ...@@ -234,11 +234,11 @@ export default {
id: this.recordInfo.id, id: this.recordInfo.id,
paymentChannelId: this.payForm.paymentChannelId, paymentChannelId: this.payForm.paymentChannelId,
paymentSubjectId: this.payForm.paymentSubjectId, paymentSubjectId: this.payForm.paymentSubjectId,
approver: this.payForm.approver,
captcha: this.payForm.captcha, captcha: this.payForm.captcha,
explain: this.payForm.explain, explain: this.payForm.explain,
remark: this.payForm.remark remark: this.payForm.remark
} }
params.approver=this.baseData.adminList.find(item=>item.adminId ==this.payForm.approverId).name
this.$apis.withdraw this.$apis.withdraw
.applyApprovalOA(params) .applyApprovalOA(params)
.then(res => { .then(res => {
...@@ -260,7 +260,7 @@ export default { ...@@ -260,7 +260,7 @@ export default {
paymentChannelId: '', paymentChannelId: '',
paymentSubjectId: '', paymentSubjectId: '',
explain: '', explain: '',
approver: '', approverId: '',
phone: '', phone: '',
captcha: '', captcha: '',
remark: '' remark: ''
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!