Commit 19062f84 authored by godwithdh's avatar godwithdh

tiip_form

parent 7a1680e5
......@@ -12,9 +12,9 @@ function urlFun(name){
/**
* 默认公司
*/
default:`http://192.168.4.2:5001`,
// default:`http://192.168.4.2:5001`,
// 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 {
if(value.length>0){
this.list=value.map(v=>{
this.total+=v.nAmount||0
this.tate+=v.nPercent||0
this.rate+=v.nPercent||0
v.nAmount=(Math.round(v.nAmount*100)/100).toLocaleString()
return v;
})
......
......@@ -53,6 +53,7 @@ export default {
},
methods:{
async getDetail(){
this.columns[1].field=this.$route.params.sCustomerType=='客户'?'应收':'应付'
this.list=await this.request("getTiipLiabilities",{
params:{
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