diff --git a/src/views/otc/otcOrder/index.vue b/src/views/otc/otcOrder/index.vue
index 10b3ed5..23b5d35 100644
--- a/src/views/otc/otcOrder/index.vue
+++ b/src/views/otc/otcOrder/index.vue
@@ -11,49 +11,44 @@
/>
-
-
-
-
-
-
+
+
+
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
搜索
重置
@@ -111,7 +106,7 @@
-
+
@@ -119,9 +114,9 @@
-
+
-
+
@@ -146,11 +141,11 @@
-
+
{
+ this.tradeTypeStatusOptions = response.data;
+ });
+ this.getDicts("order_status").then(response => {
+ this.orderStatusOptions = response.data;
+ });
+
+ this.getDicts("fee_type").then(response => {
+ this.feeTypeOptions = response.data;
+ });
+
+
},
methods: {
/** 查询用户otc订单列表 */
@@ -391,6 +401,19 @@ export default {
this.loading = false;
});
},
+ tradeTypeFormat(row, column) {
+
+ return this.selectDictLabel(this.tradeTypeStatusOptions, row.tradeType);
+ },
+ orderStatusFormat(row, column) {
+
+ return this.selectDictLabel(this.orderStatusOptions, row.orderStatus);
+ },
+
+ feeTypeFormat(row, column) {
+
+ return this.selectDictLabel(this.feeTypeOptions, row.feeType);
+ },
// 取消按钮
cancel() {
this.open = false;
diff --git a/src/views/otc/otcStoreOrder/index.vue b/src/views/otc/otcStoreOrder/index.vue
index a3716e8..036fdc4 100644
--- a/src/views/otc/otcStoreOrder/index.vue
+++ b/src/views/otc/otcStoreOrder/index.vue
@@ -10,11 +10,17 @@
@keyup.enter.native="handleQuery"
/>
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
搜索
重置
@@ -194,18 +121,18 @@
-
+
-
+
-
+
@@ -230,7 +157,7 @@
-
+
{
+ this.orderStatusOptions = response.data;
+ });
+
+ this.getDicts("fee_type").then(response => {
+ this.feeTypeOptions = response.data;
+ });
+ this.getDicts("trade_type").then(response => {
+ this.tradeTypeStatusOptions = response.data;
+ });
+
},
methods: {
/** 查询otc订单信息列表 */
@@ -412,6 +353,19 @@ export default {
this.loading = false;
});
},
+ orderStatusFormat(row, column) {
+ return this.selectDictLabel(this.orderStatusOptions, row.orderStatus);
+ },
+
+ feeTypeFormat(row, column) {
+
+ return this.selectDictLabel(this.feeTypeOptions, row.feeType);
+ },
+
+ tradeTypeFormat(row, column) {
+
+ return this.selectDictLabel(this.tradeTypeStatusOptions, row.tradeType);
+ },
// 取消按钮
cancel() {
this.open = false;