| 
														
															@@ -52,7 +52,36 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															        <el-form-item label="提交时间" prop="createTime"> 
														 | 
														
														 | 
														
															        <el-form-item label="提交时间" prop="createTime"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                  <el-date-picker v-model="createTime" size="small" style="width: 220px" value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" @change="change"></el-date-picker> 
														 | 
														
														 | 
														
															                  <el-date-picker v-model="createTime" size="small" style="width: 220px" value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" @change="change"></el-date-picker> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               </el-form-item> 
														 | 
														
														 | 
														
															               </el-form-item> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      <el-form-item label="销售公司" prop="companyId"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <el-select v-model="queryParams.companyId" placeholder="销售公司"  size="small" @change="getAllUserlist(queryParams.companyId)" clearable> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          <el-option 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            v-for="dict in qwCompanyList" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            :key="dict.companyId" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            :label="dict.companyName" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            :value="dict.companyId" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </el-select> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      </el-form-item> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      <el-form-item label="销售账号" prop="userId"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <el-select v-model="queryParams.companyUserId" placeholder="销售账号"  size="small" clearable> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          <el-option 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            v-for="dict in companyUserNameList" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            :key="dict.userId" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            :label="dict.userName" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            :value="dict.userId" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </el-select> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      </el-form-item> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      <el-form-item label="企微微信" prop="companyUserName"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <el-select v-model="queryParams.qwUserId" placeholder="企微微信"  size="small" clearable> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          <el-option 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            v-for="dict in qwUserList" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            :key="dict.id" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            :label="dict.qwUserName" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            :value="dict.id" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </el-select> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      </el-form-item> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <el-form-item> 
														 | 
														
														 | 
														
															       <el-form-item> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> 
														 | 
														
														 | 
														
															         <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> 
														 | 
														
														 | 
														
															         <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -105,6 +134,9 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <el-table-column label="快递单号" align="center" prop="deliverySn" /> 
														 | 
														
														 | 
														
															       <el-table-column label="快递单号" align="center" prop="deliverySn" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <el-table-column label="发货时间" align="center" prop="deliveryTime" width="180"/> 
														 | 
														
														 | 
														
															       <el-table-column label="发货时间" align="center" prop="deliveryTime" width="180"/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <el-table-column label="提交时间" align="center" prop="createTime" width="180"/> 
														 | 
														
														 | 
														
															       <el-table-column label="提交时间" align="center" prop="createTime" width="180"/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      <el-table-column label="销售公司ID" align="center" prop="companyId" width="180"/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      <el-table-column label="销售ID" align="center" prop="companyUserId" width="180"/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      <el-table-column label="企业微信ID" align="center" prop="qwUserId" width="180"/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <el-table-column label="备注" align="center" prop="remark" show-overflow-tooltip/> 
														 | 
														
														 | 
														
															       <el-table-column label="备注" align="center" prop="remark" show-overflow-tooltip/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right"> 
														 | 
														
														 | 
														
															       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <template slot-scope="scope"> 
														 | 
														
														 | 
														
															         <template slot-scope="scope"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -226,6 +258,10 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import {importTemplate, listIntegralOrder,importExpressTemplate, getIntegralOrder, delIntegralOrder, addIntegralOrder, updateIntegralOrder, exportIntegralOrder } from "@/api/his/integralOrder"; 
														 | 
														
														 | 
														
															 import {importTemplate, listIntegralOrder,importExpressTemplate, getIntegralOrder, delIntegralOrder, addIntegralOrder, updateIntegralOrder, exportIntegralOrder } from "@/api/his/integralOrder"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import integralOrderDetails from '../../components/his/integralOrderDetails.vue'; 
														 | 
														
														 | 
														
															 import integralOrderDetails from '../../components/his/integralOrderDetails.vue'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { getToken } from "@/utils/auth"; 
														 | 
														
														 | 
														
															 import { getToken } from "@/utils/auth"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import {getCompanyList} from "@/api/company/company"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import {getAllUserlist} from "@/api/company/companyUser"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import {getQwUserInfo} from "@/api/qw/qwUser"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 export default { 
														 | 
														
														 | 
														
															 export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   name: "IntegralOrder", 
														 | 
														
														 | 
														
															   name: "IntegralOrder", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   components: { integralOrderDetails }, 
														 | 
														
														 | 
														
															   components: { integralOrderDetails }, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -284,8 +320,14 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         createTime: null, 
														 | 
														
														 | 
														
															         createTime: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         sTime:null, 
														 | 
														
														 | 
														
															         sTime:null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         eTime:null, 
														 | 
														
														 | 
														
															         eTime:null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        companyUserId:null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        qwUserId:null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        companyId:null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }, 
														 | 
														
														 | 
														
															       }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															        createTime:null, 
														 | 
														
														 | 
														
															        createTime:null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      qwCompanyList:[], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      companyUserNameList:[], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      qwUserList:[], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       // 表单参数 
														 | 
														
														 | 
														
															       // 表单参数 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       form: {}, 
														 | 
														
														 | 
														
															       form: {}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       // 表单校验 
														 | 
														
														 | 
														
															       // 表单校验 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -304,6 +346,12 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     this.getDicts("sys_integral_order_status").then(response => { 
														 | 
														
														 | 
														
															     this.getDicts("sys_integral_order_status").then(response => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.statusOptions = response.data; 
														 | 
														
														 | 
														
															       this.statusOptions = response.data; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }); 
														 | 
														
														 | 
														
															     }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    //获取企业 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    getCompanyList().then(response => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.qwCompanyList = response.data; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   }, 
														 | 
														
														 | 
														
															   }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   methods: { 
														 | 
														
														 | 
														
															   methods: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     change(){ 
														 | 
														
														 | 
														
															     change(){ 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -381,7 +429,6 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         remark: null, 
														 | 
														
														 | 
														
															         remark: null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         sTime:null, 
														 | 
														
														 | 
														
															         sTime:null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         eTime:null, 
														 | 
														
														 | 
														
															         eTime:null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        createTime:null, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }; 
														 | 
														
														 | 
														
															       }; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.resetForm("form"); 
														 | 
														
														 | 
														
															       this.resetForm("form"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -396,6 +443,9 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.createTime=null; 
														 | 
														
														 | 
														
															       this.createTime=null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.queryParams.sTime=null; 
														 | 
														
														 | 
														
															       this.queryParams.sTime=null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.queryParams.eTime=null; 
														 | 
														
														 | 
														
															       this.queryParams.eTime=null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.queryParams.qwUserId=null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.queryParams.companyId=null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.queryParams.companyUserId=null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.handleQuery(); 
														 | 
														
														 | 
														
															       this.handleQuery(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -477,6 +527,18 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           this.download(response.msg); 
														 | 
														
														 | 
														
															           this.download(response.msg); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           this.exportLoading = false; 
														 | 
														
														 | 
														
															           this.exportLoading = false; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         }).catch(() => {}); 
														 | 
														
														 | 
														
															         }).catch(() => {}); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    //选择企业后触发 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    getAllUserlist(companyId){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      if(companyId){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        getAllUserlist({companyId}).then(response => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          this.companyUserNameList=response.data; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //企业微信 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        getQwUserInfo({companyId}).then(response => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          this.qwUserList=response.data; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 }; 
														 | 
														
														 | 
														
															 }; 
														 |