tijiao
This commit is contained in:
@@ -106,6 +106,15 @@
|
||||
</el-radio-group>
|
||||
</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="交易流水号" v-if="dataForm.payType == '微信'||'支付宝'">
|
||||
<el-input
|
||||
|
||||
|
||||
v-model="dataForm.orderSn"
|
||||
placeholder="交易流水号"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="金额" class="coin_block">
|
||||
<div>
|
||||
<el-input
|
||||
@@ -160,7 +169,7 @@ export default {
|
||||
pageType: "", //vip类型
|
||||
type: "", //vip类型
|
||||
year: "",
|
||||
|
||||
orderSn:'',
|
||||
remark: "",
|
||||
fee: 0, //金额
|
||||
jf: 0 //积分
|
||||
@@ -213,7 +222,7 @@ export default {
|
||||
pageType: "", //vip类型
|
||||
type: "", //vip类型
|
||||
year: "",
|
||||
|
||||
orderSn:'',
|
||||
remark: "",
|
||||
fee: 0, //金额
|
||||
jf: 0 //积分
|
||||
@@ -274,6 +283,10 @@ export default {
|
||||
});
|
||||
},
|
||||
payTypeChange(e){
|
||||
if(this.dataForm.payType){
|
||||
delete this.dataForm.orderSn;
|
||||
|
||||
}
|
||||
console.log('e at line 261:', e)
|
||||
if (this.dataForm.payType == "海外支付") {
|
||||
this.dataForm.fee=0;
|
||||
@@ -307,11 +320,16 @@ export default {
|
||||
return;
|
||||
}
|
||||
}
|
||||
if ((this.dataForm.payType == "微信" || this.dataForm.payType == "支付宝") && !this.dataForm.orderSn) {
|
||||
this.$message.error("请输入交易流水号");
|
||||
return;
|
||||
}
|
||||
var data = {
|
||||
...this.dataForm,
|
||||
|
||||
jf: this.dataForm.jf || 0,
|
||||
fee: this.dataForm.fee || 0
|
||||
fee: this.dataForm.fee || 0,
|
||||
orderSn: this.dataForm.orderSn || '',
|
||||
};
|
||||
|
||||
data.adminId = 1;
|
||||
|
||||
Reference in New Issue
Block a user