|
|
@@ -70,8 +70,6 @@
|
|
|
|
|
|
<template #slot-billing>
|
|
|
<el-button type="primary" size="mini" style="margin-left:60px;" @click="add()">添加客户</el-button>
|
|
|
- <el-button type="primary" size="mini" style="margin-left:60px;" @click="billing()">开单</el-button>
|
|
|
- <el-button type="primary" size="mini" style="margin-left:60px;" @click="newCg()">新增采购</el-button>
|
|
|
</template>
|
|
|
|
|
|
<template #table-column-name="{scope}">
|
|
|
@@ -89,14 +87,17 @@
|
|
|
|
|
|
</x-crud>
|
|
|
|
|
|
- <!-- 详情 -->
|
|
|
<detail-draw :show.sync="drapShow" :info="modalData" />
|
|
|
|
|
|
<el-dialog :title="rechargeTitle" :visible.sync="rechargePop" width="600px" center :close-on-click-modal="false">
|
|
|
<div>
|
|
|
<div class="accounts-list">
|
|
|
充值金额
|
|
|
- <el-input style="width: 80%" v-model="rechargeAmount" clearable></el-input>
|
|
|
+ <el-input style="width: 80%;" v-model="rechargeAmount" clearable></el-input>
|
|
|
+ </div>
|
|
|
+ <div class="accounts-list">
|
|
|
+ 备注信息
|
|
|
+ <el-input style="width: 80%;" v-model="rechargeRemark" placeholder="选填" clearable></el-input>
|
|
|
</div>
|
|
|
<div class="accounts-list">
|
|
|
转账方式
|
|
|
@@ -134,6 +135,9 @@
|
|
|
确认手机
|
|
|
<el-input style="width: 80%" v-model="confirmMobile1" clearable></el-input>
|
|
|
</div>
|
|
|
+ <div style="text-align: center;color:red;font-weight:bold;font-size:16px;">
|
|
|
+ 必须填写客户真实手机号,否则引起数据错乱自行负责
|
|
|
+ </div>
|
|
|
<div class="accounts-list" style="margin-top:20px;">
|
|
|
<span></span>
|
|
|
<div class="accounts-center">
|
|
|
@@ -175,6 +179,7 @@ export default {
|
|
|
modalData: {},
|
|
|
drapShow: false,
|
|
|
rechargeAmount:'',
|
|
|
+ rechargeRemark:'',
|
|
|
rechargePayWay:-1,
|
|
|
rechargePop:false,
|
|
|
rechargeTitle:'充值',
|
|
|
@@ -260,6 +265,7 @@ export default {
|
|
|
this.rechargePop = false
|
|
|
this.rechargePayWay = -1
|
|
|
this.rechargeAmount = ''
|
|
|
+ this.rechargeRemark = ''
|
|
|
this.rechargeCustom = {}
|
|
|
},
|
|
|
confirmRecharge(){
|
|
|
@@ -276,7 +282,7 @@ export default {
|
|
|
return false
|
|
|
}
|
|
|
this.$confirm('确认充值?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(() => {
|
|
|
- this.$service.custom.recharge({ customId: this.rechargeCustom.id,payWay:this.rechargePayWay,amount:this.rechargeAmount}).then(data => {
|
|
|
+ this.$service.custom.recharge({ customId: this.rechargeCustom.id,payWay:this.rechargePayWay,amount:this.rechargeAmount,remark:this.rechargeRemark}).then(data => {
|
|
|
this.resetRecharge()
|
|
|
this.$notify({ title: '成功', message: '充值成功', type: 'success'})
|
|
|
this.app.refresh({ type: this.tabIndex })
|