wjj преди 2 месеца
родител
ревизия
19055b8b13
променени са 2 файла, в които са добавени 18 реда и са изтрити 0 реда
  1. 9 0
      src/views/store/storeOrder/list.vue
  2. 9 0
      src/views/store/storeOrder/myList.vue

+ 9 - 0
src/views/store/storeOrder/list.vue

@@ -259,6 +259,11 @@
       <el-table-column label="套餐别名" align="center" prop="packageSecondName" />
       <el-table-column label="应收金额" align="center" prop="payPrice" />
       <el-table-column label="实收金额" align="center" prop="payMoney" />
+      <el-table-column label="ERP" align="center" prop="erpType" >
+        <template slot-scope="scope">
+              <dict-tag :options="erpTypeOptions" :value="scope.row.erpType"/>
+         </template>
+      </el-table-column>
       <el-table-column label="支付方式" align="center" prop="payType" >
         <template slot-scope="scope">
               <dict-tag :options="PayOptions" :value="scope.row.payType"/>
@@ -443,6 +448,7 @@ export default {
        deliveryStatusOptions:[],
        orderBuyTypeOptions:[],
        scheduleOptions:[],
+       erpTypeOptions:[],
     };
   },
   watch: {
@@ -505,6 +511,9 @@ export default {
     this.getDicts("sys_store_order_delivery_status").then(response => {
           this.deliveryStatusOptions = response.data;
         });
+    this.getDicts("sys_erp_type").then(response => {
+      this.erpTypeOptions = response.data;
+    });    
 
 
   },

+ 9 - 0
src/views/store/storeOrder/myList.vue

@@ -255,6 +255,11 @@
       <el-table-column label="套餐别名" align="center" prop="packageSecondName" />
       <el-table-column label="应收金额" align="center" prop="payPrice" />
       <el-table-column label="实收金额" align="center" prop="payMoney" />
+      <el-table-column label="ERP" align="center" prop="erpType" >
+        <template slot-scope="scope">
+              <dict-tag :options="erpTypeOptions" :value="scope.row.erpType"/>
+         </template>
+      </el-table-column>
       <el-table-column label="支付方式" align="center" prop="payType" >
         <template slot-scope="scope">
               <dict-tag :options="PayOptions" :value="scope.row.payType"/>
@@ -432,6 +437,7 @@ export default {
        deliveryStatusOptions:[],
        orderBuyTypeOptions:[],
        scheduleOptions:[],
+       erpTypeOptions:[],
     };
   },
   created() {
@@ -490,6 +496,9 @@ export default {
     this.getDicts("sys_store_order_delivery_status").then(response => {
           this.deliveryStatusOptions = response.data;
         });
+    this.getDicts("sys_erp_type").then(response => {
+      this.erpTypeOptions = response.data;
+    });     
 
 
   },