Commit f9d8163f authored by 张锡奇's avatar 张锡奇

upload

parent 165bc1cb
...@@ -6,7 +6,7 @@ function urlFun(name){ ...@@ -6,7 +6,7 @@ function urlFun(name){
/** /**
* 门市域名 * 门市域名
*/ */
// sales:`http://192.168.4.67:5000`, // sales:`http://192.168.4.2:5000`,
// sales:`http://122.224.36.54:18005`,//测试服务器 // sales:`http://122.224.36.54:18005`,//测试服务器
sales:`https://weixin.huansi.net/apiproxy/huansi/Mall`, sales:`https://weixin.huansi.net/apiproxy/huansi/Mall`,
/** /**
......
...@@ -380,7 +380,7 @@ let shopVersionRoutes = [ ...@@ -380,7 +380,7 @@ let shopVersionRoutes = [
} }
}, },
{ {
path:'form/liabilitiesDetail/:iCustomerId', path:'form/liabilitiesDetail/:iCustomerId/:mode',
name:'LiabilitiesDetail', name:'LiabilitiesDetail',
component:()=> import('@/view/shopVersion/form/liabilities/detail.vue'), component:()=> import('@/view/shopVersion/form/liabilities/detail.vue'),
meta:{ meta:{
......
...@@ -75,11 +75,13 @@ export default { ...@@ -75,11 +75,13 @@ export default {
}, },
methods:{ methods:{
async getDetail(){ async getDetail(){
this.columns[1].field = this.$route.params.mode == 0 ? '应收' : '应付';
let result = await this.request('getCipLiabilities',{ let result = await this.request('getCipLiabilities',{
data:{}, data:{},
params:{ params:{
iCustomerId:this.$route.params.iCustomerId, iCustomerId:this.$route.params.iCustomerId,
sType:'Details' sType:'Details',
sCustomerType:this.$route.params.mode == 0 ? '客户' : '供应商'
} }
},'加载中',{iProjectId:this.iProjectId}); },'加载中',{iProjectId:this.iProjectId});
this.list = result; this.list = result;
......
...@@ -171,7 +171,7 @@ export default { ...@@ -171,7 +171,7 @@ export default {
this.getData(); this.getData();
}, },
routerToDetail(item){ routerToDetail(item){
this.$router.push({name:'LiabilitiesDetail',params:{iCustomerId:item.iIden}}) this.$router.push({name:'LiabilitiesDetail',params:{iCustomerId:item.iIden,mode:this.Liabilities.activeTab}})
} }
} }
} }
......
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