Commit 2fe4a4aa by 王志慧

积分提现需求开发

1 parent c680ed18
......@@ -287,6 +287,8 @@ export default {
label = arr[obj.type]
} else if (obj.result == 1) {
label = '操作人'
}else{
label = arr[obj.type]
}
return label
},
......@@ -300,6 +302,8 @@ export default {
label = arr[obj.type]
} else if (obj.result == 1) {
label = '操作时间'
}else{
label = arr[obj.type]
}
return label
},
......@@ -355,7 +359,7 @@ export default {
</script>
<style scoped lang="scss">
.edit-box .row-item {
width: 28%;
width: 30%;
/deep/ {
.el-form-item__content {
height: 30px;
......
......@@ -354,7 +354,7 @@ export default {
return arr.length > 0 ? arr[0].confLabel : '--'
}
},
{
label: '客户名称',
prop: 'customerName',
......@@ -467,6 +467,7 @@ export default {
pageConf: { pageSize: 'pageSize', pageNum: 'currentPage', totalCount: 'total' },
// 基本数据
baseData: {
adminList:[],
merchantList: [],
auditStatusStatusList: [
{
......@@ -605,8 +606,13 @@ export default {
{
label: '管理员',
name: 'admin',
type: 'input',
isDisabled: 'true'
type: 'select',
optionsName: 'adminList',
optionId: 'adminId',
optionLabel: 'adminName',
changeAttr: val => {
this.payForm.phone = val.phone
}
},
{
label: '验证码',
......@@ -739,7 +745,10 @@ export default {
})
},
getSettleAmount() {
this.$apis.withdraw.getSettleAmount({}).then(res => {
let params = {
...this.tableSearchForm
}
this.$apis.withdraw.getSettleAmount(params).then(res => {
this.settleAmount = res
})
},
......@@ -781,6 +790,7 @@ export default {
},
handleSearch() {
this.$refs.withdrawRef.refreshTable()
this.getSettleAmount()
},
handleReset() {
this.searchForm = {
......@@ -972,17 +982,23 @@ export default {
this.payForm.payMoney = (row.payAmount / 100).toFixed(2)
this.payForm.transferType = row.transferType
}
// this.payForm.channel= 'TXIAT',
this.getChannel()
this.isPay = true
},
getAdmin() {
this.$apis.withdraw.getAdmin({ channel: this.payForm.channel }).then(res => {
let data
if (res) {
data = res[0]
this.payForm.admin = `${data.name} ${data.phone}`
this.payForm.phone = data.phone
this.baseData.adminList = res.map(item => {
return {
adminId: `${item.phone}`,
adminName: `${item.name} ${item.phone}`,
name: item.name,
phone: item.phone
}
})
this.$utils.getOptionsList(this, 'payFormData', false, 'admin')
this.payForm.admin= this.baseData.adminList[0].adminId
this.payForm.phone= this.baseData.adminList[0].phone
}
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!