|
@@ -25,7 +25,7 @@
|
|
|
@click="hRecharge(item,idx)"
|
|
|
size="small">{{item}}</el-button>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="卡号">
|
|
|
+ <el-form-item label="手机号">
|
|
|
<el-input type="textarea" placeholder="请填写手机号" v-model.trim="formData.code" style="width: 70%"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
@@ -75,7 +75,7 @@
|
|
|
:visible.sync="dialogVisible"
|
|
|
width="30%"
|
|
|
@close="handleClose">
|
|
|
- <el-input v-for="(item, idx) in input" :key="idx" :value="item" style="margin-bottom: 10px"></el-input>
|
|
|
+ <el-input v-for="(item, idx) in input" :key="idx" v-model="input[idx]" style="margin-bottom: 10px"></el-input>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
|
|
<el-button type="primary" @click="onSubmit">确认无误</el-button>
|
|
@@ -184,6 +184,7 @@ export default {
|
|
|
async onSubmit() {
|
|
|
this.dialogVisible = false
|
|
|
this.loading = true
|
|
|
+ this.splitStr = this.input.toString()
|
|
|
// cardno, amount
|
|
|
const res = await OilCardRecharge(this.splitStr, this.curMoney)
|
|
|
console.log('手机卡充值', res);
|
|
@@ -194,6 +195,7 @@ export default {
|
|
|
this.error_no = res.datas.error_no
|
|
|
this.splitStr = ''
|
|
|
this.curMoney = ''
|
|
|
+ this.curBtn = ''
|
|
|
this.formData.code = ''
|
|
|
this.loading = false
|
|
|
}
|