Prechádzať zdrojové kódy

订单列表展示ERP

wjj 1 mesiac pred
rodič
commit
aef46f3d72
1 zmenil súbory, kde vykonal 9 pridanie a 0 odobranie
  1. 9 0
      src/views/his/storeOrder/order1.vue

+ 9 - 0
src/views/his/storeOrder/order1.vue

@@ -528,6 +528,11 @@
             <el-tooltip content="按实收金额排序" placement="top"/>
           </template>
         </el-table-column>
+        <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"/>
@@ -897,6 +902,7 @@ export default {
   },
   data() {
     return {
+      erpTypeOptions:[],
       productInfo:"",
       payPriceTotal:"0",
       payMoneyTotal:"0",
@@ -1246,6 +1252,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;
+    }); 
     //this.getErpAccountList();
     this.getAppMallOptions();
   },