Commit 2fe4a4aa by 王志慧

积分提现需求开发

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