Commit 0b1db15a authored by 张锡奇's avatar 张锡奇
parents b261b7fb 19062f84
...@@ -14,7 +14,7 @@ function urlFun(name){ ...@@ -14,7 +14,7 @@ function urlFun(name){
*/ */
default:`http://192.168.4.31:5001`, default:`http://192.168.4.31: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}`,
/** /**
* 基本地址 * 基本地址
......
...@@ -141,7 +141,7 @@ export default { ...@@ -141,7 +141,7 @@ export default {
if(value.length>0){ if(value.length>0){
this.list=value.map(v=>{ this.list=value.map(v=>{
this.total+=v.nAmount||0 this.total+=v.nAmount||0
this.tate+=v.nPercent||0 this.rate+=v.nPercent||0
v.nAmount=(Math.round(v.nAmount*100)/100).toLocaleString() v.nAmount=(Math.round(v.nAmount*100)/100).toLocaleString()
return v; return v;
}) })
......
...@@ -53,6 +53,7 @@ export default { ...@@ -53,6 +53,7 @@ export default {
}, },
methods:{ methods:{
async getDetail(){ async getDetail(){
this.columns[1].field=this.$route.params.sCustomerType=='客户'?'应收':'应付'
this.list=await this.request("getTiipLiabilities",{ this.list=await this.request("getTiipLiabilities",{
params:{ params:{
iCustomerId:this.$route.params.iCustomerId, iCustomerId:this.$route.params.iCustomerId,
......
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