Commit cb41f76f authored by godwithdh's avatar godwithdh

往来单位

parent fceb70fb
...@@ -13,8 +13,8 @@ function urlFun(name){ ...@@ -13,8 +13,8 @@ function urlFun(name){
* 默认公司 * 默认公司
*/ */
// default:`http://192.168.4.34:5001`, // default:`http://192.168.4.34:5001`,
default:`https://weixin.huansi.net/apiproxy/huansi/hszh_HSFabricTradeTest`, // default:`https://weixin.huansi.net/apiproxy/huansi/hszh_HSFabricTradeTest`,
// default:`https://weixin.huansi.net/apiproxy/huansi/service/proxy/${userID}`, default:`https://weixin.huansi.net/apiproxy/huansi/service/proxy/${userID}`,
/** /**
* 基本地址 * 基本地址
......
...@@ -139,10 +139,14 @@ export default { ...@@ -139,10 +139,14 @@ export default {
btns:true, btns:true,
time:true time:true
}, },
upbCustomerGUID:'',//客户ID
} }
}, },
async mounted(){ async mounted(){
window.d = this; window.d = this;
this.upbCustomerGUID=this.$route.query.upbCustomerGUID||""
await this.getStatus(); await this.getStatus();
await this.getHdr(); await this.getHdr();
this.$store.dispatch('saveUserId',this.$route.params.userId); this.$store.dispatch('saveUserId',this.$route.params.userId);
...@@ -191,12 +195,14 @@ export default { ...@@ -191,12 +195,14 @@ export default {
data.sStatus = status.join(','); data.sStatus = status.join(',');
} }
data.searchvalue == '' && (delete data.searchvalue); data.searchvalue == '' && (delete data.searchvalue);
this.upbCustomerGUID&&(data.upbCustomerGUID=this.upbCustomerGUID)
data.begin_date = data.dBeginDate; data.begin_date = data.dBeginDate;
data.end_date = data.dEndDate; data.end_date = data.dEndDate;
delete data.dBeginDate; delete data.dBeginDate;
delete data.dEndDate; delete data.dEndDate;
let res = await this.apiGet(`${this.host}${this.$route.params.userId}/fabricorder/hdr/`,data,'加载中') // let res = await this.apiGet(`${this.host}${this.$route.params.userId}/fabricorder/hdr/`,data,'加载中')
let res = await this.apiGet(`http://weixin.huansi.net/apiproxy/huansi/hszh_HSFabricTradeTest/fabricorder/hdr/`,data,'加载中')
if(res.table.length > 0){ if(res.table.length > 0){
res.table.map(x=>{ res.table.map(x=>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment