|
@@ -22,15 +22,6 @@
|
|
size="small">{{item}}</el-button>
|
|
size="small">{{item}}</el-button>
|
|
<span style="margin-left: 20px;font-size: 13px;color: #909399;">请选择充值金额</span>
|
|
<span style="margin-left: 20px;font-size: 13px;color: #909399;">请选择充值金额</span>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="通道质量:">
|
|
|
|
- <el-button
|
|
|
|
- :type="item.value === qualityBtn ? 'success' : 'info'"
|
|
|
|
- v-for="item in oilQuCon"
|
|
|
|
- :key="item.value"
|
|
|
|
- @click="hQucharge(item)"
|
|
|
|
- size="small">{{item.label}}</el-button>
|
|
|
|
- <span style="margin-left: 20px;font-size: 13px;color: #909399;">请选择通道质量</span>
|
|
|
|
- </el-form-item>
|
|
|
|
<el-form-item label="卡号:">
|
|
<el-form-item label="卡号:">
|
|
<el-input
|
|
<el-input
|
|
type="textarea"
|
|
type="textarea"
|
|
@@ -119,7 +110,6 @@
|
|
<script>
|
|
<script>
|
|
// getRechargeAmount-充值金额 OilCardRecharge-油卡充值
|
|
// getRechargeAmount-充值金额 OilCardRecharge-油卡充值
|
|
import { getRechargeAmount, OilCardRecharge } from '@/api'
|
|
import { getRechargeAmount, OilCardRecharge } from '@/api'
|
|
-import { oilQuCon } from '@/utils/constants'
|
|
|
|
export default {
|
|
export default {
|
|
name: 'oilCard',
|
|
name: 'oilCard',
|
|
data() {
|
|
data() {
|
|
@@ -157,11 +147,7 @@ export default {
|
|
// 失败数
|
|
// 失败数
|
|
error_no: 0,
|
|
error_no: 0,
|
|
disabled: false,
|
|
disabled: false,
|
|
- disabledRecharge: false,
|
|
|
|
- // 通道质量
|
|
|
|
- oilQuCon,
|
|
|
|
- // 通道按钮
|
|
|
|
- qualityBtn: 1
|
|
|
|
|
|
+ disabledRecharge: false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
@@ -328,7 +314,6 @@ export default {
|
|
let param = new URLSearchParams()
|
|
let param = new URLSearchParams()
|
|
param.append('cardno', this.splitStr)
|
|
param.append('cardno', this.splitStr)
|
|
param.append('amount', this.curMoney)
|
|
param.append('amount', this.curMoney)
|
|
- param.append('quality', this.qualityBtn)
|
|
|
|
// const res = await OilCardRecharge({
|
|
// const res = await OilCardRecharge({
|
|
// cardno: this.splitStr,
|
|
// cardno: this.splitStr,
|
|
// amount: this.curMoney
|
|
// amount: this.curMoney
|
|
@@ -369,10 +354,6 @@ export default {
|
|
// this.tableData = res.datas.data
|
|
// this.tableData = res.datas.data
|
|
// }
|
|
// }
|
|
}
|
|
}
|
|
- },
|
|
|
|
- // 选择通道质量
|
|
|
|
- hQucharge(item) {
|
|
|
|
- this.qualityBtn = item.value
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|