diff --git a/src/views/otc/otcAppealConfig/index.vue b/src/views/otc/otcAppealConfig/index.vue index f368141..9273274 100644 --- a/src/views/otc/otcAppealConfig/index.vue +++ b/src/views/otc/otcAppealConfig/index.vue @@ -69,7 +69,7 @@ - + @@ -175,8 +175,8 @@ /> - - + + @@ -185,77 +185,95 @@ - + - + - + - - - - - + + - + + + + - - - + + + - - - 请选择字典生成 - + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + @@ -278,18 +296,32 @@ - - 请选择字典生成 - + + + + + + - + + @@ -320,8 +352,11 @@ export default { // 用户otc订单表格数据 otcOrderList: [], feeTypeOptions: [], - orderStatusOptions: [], - tradeTypeStatusOptions: [], + orderStatusOptions: [], + tradeTypeStatusOptions: [], + //申诉字典 + appealStatusOptions:[], + cancelTypeOptions:[], // 弹出层标题 title: "", // 是否显示弹出层 @@ -388,6 +423,12 @@ export default { this.getDicts("fee_type").then(response => { this.feeTypeOptions = response.data; }); + this.getDicts("appeal_status").then(response => { + this.appealStatusOptions = response.data; + }); + this.getDicts("cancel_type").then(response => { + this.cancelTypeOptions = response.data; + }); }, @@ -481,7 +522,7 @@ export default { getOtcOrder(id).then(response => { this.form = response.data; this.open = true; - this.title = "修改用户otc订单"; + this.title = "查询用户otc订单"; }); }, /** 提交按钮 */ diff --git a/src/views/otc/otcStoreOrder/index.vue b/src/views/otc/otcStoreOrder/index.vue index 036fdc4..112671f 100644 --- a/src/views/otc/otcStoreOrder/index.vue +++ b/src/views/otc/otcStoreOrder/index.vue @@ -11,7 +11,7 @@ /> - + - + - - - - - - - - - - - - + + + + + @@ -72,38 +60,38 @@ - - 新增 - - - 修改 - - - 删除 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + - + - - - - + + + + - + - + + + + @@ -167,18 +168,27 @@ /> - + - + + - - + + + + + @@ -195,10 +205,18 @@ - - - 请选择字典生成 - + + + + + + + @@ -209,39 +227,46 @@ - - - + + + + - - + + - - - - - - - - + + + + + + + + + + + + + @@ -299,7 +324,8 @@ export default { feeRate: null, deductedFee: null, walletType: null, - transactionDesc: null + transactionDesc: null, + storeName: null }, // 表单参数 form: {}, @@ -361,9 +387,9 @@ export default { return this.selectDictLabel(this.feeTypeOptions, row.feeType); }, - + tradeTypeFormat(row, column) { - + return this.selectDictLabel(this.tradeTypeStatusOptions, row.tradeType); }, // 取消按钮 @@ -394,7 +420,8 @@ export default { createTime: null, updateTime: null, walletType: null, - transactionDesc: null + transactionDesc: null, + walletTypeName:null }; this.resetForm("form"); }, @@ -430,6 +457,16 @@ export default { this.title = "修改otc订单信息"; }); }, + /** 详情按钮操作 */ + handleDetail(row) { + this.reset(); + const id = row.id || this.ids + getOtcStoreOrder(id).then(response => { + this.form = response.data; + this.open = true; + this.title = "查询otc订单信息"; + }); + }, /** 提交按钮 */ submitForm() { this.$refs["form"].validate(valid => {