|
|
@@ -123,6 +123,7 @@
|
|
|
type="text"
|
|
|
icon="el-icon-view"
|
|
|
@click="handleDetail(scope.row)"
|
|
|
+ v-if="scope.row.paiAcctype == '06'"
|
|
|
>交易明细</el-button
|
|
|
>
|
|
|
</template>
|
|
|
@@ -342,7 +343,6 @@
|
|
|
<el-form-item label="账户卡号" prop="paiAccno" size="large">
|
|
|
<el-select
|
|
|
v-model="form.paiAccno"
|
|
|
- :disabled="disableds"
|
|
|
filterable
|
|
|
clearable
|
|
|
remote
|
|
|
@@ -352,8 +352,9 @@
|
|
|
<el-option
|
|
|
v-for="(item, index) in cardList"
|
|
|
:key="index"
|
|
|
- :label="item.paiAccno"
|
|
|
+ :label="item.paiAccno+'/'+item.paiQlbankname"
|
|
|
:value="item.paiAccno"
|
|
|
+ @click.native="changeAcc(item)"
|
|
|
>
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
@@ -560,6 +561,14 @@ export default {
|
|
|
this.$set(this.form, "paiQlbankname", value);
|
|
|
}
|
|
|
},
|
|
|
+ //提现选择账户
|
|
|
+ changeAcc(item){
|
|
|
+ if (item.paiAccno) {
|
|
|
+ this.$set(this.form, "paiQlbankname", item.paiQlbankname);
|
|
|
+ this.$set(this.form, "paiBankName", item.paiBankName);
|
|
|
+ this.$set(this.form, "paiAccnoName", item.paiAccnoName);
|
|
|
+ }
|
|
|
+ },
|
|
|
/** 查询账户列表 */
|
|
|
getList() {
|
|
|
this.loading = true;
|
|
|
@@ -619,11 +628,21 @@ export default {
|
|
|
var map = {'stAccNo': self.form.paiAccno,'dzAccNo':self.form.accno,'tranAmt':self.form.amount,'shortMessageCode':self.form.shortMessageCode}
|
|
|
wthdrawal(map).then((response) =>{
|
|
|
debugger
|
|
|
- if(response.data.status == "AAAAAAA"){
|
|
|
+ if(response.data.status == "1"){
|
|
|
loading.close();
|
|
|
self.msgSuccess("提现成功");
|
|
|
this.withdrawal = false;
|
|
|
this.getList();
|
|
|
+ }else if(response.data.status == "0"){
|
|
|
+ loading.close();
|
|
|
+ self.msgSuccess("提现中");
|
|
|
+ this.withdrawal = false;
|
|
|
+ this.getList();
|
|
|
+ }else if(response.data.status == "2"){
|
|
|
+ loading.close();
|
|
|
+ self.msgSuccess("提现失败,请稍后再试");
|
|
|
+ this.withdrawal = false;
|
|
|
+ this.getList();
|
|
|
}
|
|
|
}).catch(() => {
|
|
|
loading.close();
|
|
|
@@ -707,6 +726,7 @@ export default {
|
|
|
this.reset();
|
|
|
const paiId = row.paiId || this.ids;
|
|
|
detailsAcc(paiId).then((response) => {
|
|
|
+ debugger
|
|
|
this.form = response.data.sccInf[0];
|
|
|
this.edit = true;
|
|
|
if (response.data.sccInf[0].paiAcctype == "00") {
|
|
|
@@ -741,7 +761,7 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
}).then(() =>{
|
|
|
- listChargeStatus('3115730025233104147').then((response) =>{
|
|
|
+ listChargeStatus(self.accno).then((response) =>{
|
|
|
debugger
|
|
|
const list = response.data;
|
|
|
if(list.length > 0){
|
|
|
@@ -770,7 +790,7 @@ export default {
|
|
|
spinner: "el-icon-loading",
|
|
|
background: "rgba(0, 0, 0, 0.7)",
|
|
|
});
|
|
|
- var map = {'accNo':'3115730025233104147'}
|
|
|
+ var map = {'accNo':self.accno}
|
|
|
payMoney(map).then((response) =>{
|
|
|
debugger
|
|
|
const resultList = response.data;
|