Commit 3e51b38f authored by godwithdh's avatar godwithdh

往来单位

parent d89a6cde
...@@ -210,6 +210,8 @@ export default { ...@@ -210,6 +210,8 @@ export default {
this.mode=this.$route.query.mode||0 this.mode=this.$route.query.mode||0
this.upbCustomerGUID=this.$route.query.upbCustomerGUID||"" this.upbCustomerGUID=this.$route.query.upbCustomerGUID||""
this.isFooter=true
if(this.mode==1){ if(this.mode==1){
this.columns=[ this.columns=[
{ {
...@@ -237,7 +239,6 @@ export default { ...@@ -237,7 +239,6 @@ export default {
} }
] ]
this.tableStyle.tbodyHeight="calc(100vh - 125px)" this.tableStyle.tbodyHeight="calc(100vh - 125px)"
this.isFooter=true
this.$store.dispatch("CAHNGE_META_INFO", {title:"销售列表"}); this.$store.dispatch("CAHNGE_META_INFO", {title:"销售列表"});
}else if(this.mode==2){ }else if(this.mode==2){
this.columns=[ this.columns=[
...@@ -266,7 +267,6 @@ export default { ...@@ -266,7 +267,6 @@ export default {
} }
] ]
this.tableStyle.tbodyHeight="calc(100vh - 125px)" this.tableStyle.tbodyHeight="calc(100vh - 125px)"
this.isFooter=true
this.$store.dispatch("CAHNGE_META_INFO", {title:"退货列表"}); this.$store.dispatch("CAHNGE_META_INFO", {title:"退货列表"});
} }
...@@ -323,7 +323,7 @@ export default { ...@@ -323,7 +323,7 @@ export default {
},'加载中',{}) },'加载中',{})
if(this.mode==0){ if(this.mode==0){
this.list = res.map(x=>{ this.list = res.map(x=>{
x.sMaterial = `<div>${x.sSampleMaterialNo&&`<span style="color:#FF6633">${x.sSampleMaterialNo}</span><br>`}<span style="color:black;">${ x.sSampleMaterialName||''}</span></div>` x.sMaterial = `<div>${x.sSampleMaterialNo&&`<span style="color:#FF6633;text-decoration:${i<res.length-1?'underline':'none'}">${x.sSampleMaterialNo}</span><br>`}<span style="color:black;">${ x.sSampleMaterialName||''}</span></div>`
x.nAmountHTML = `<div><span style="color:#339966;">${(x.nAmount||0).toLocaleString()}</span></div>`; x.nAmountHTML = `<div><span style="color:#339966;">${(x.nAmount||0).toLocaleString()}</span></div>`;
x.nQtyHTML = `<div><span">${(x.nQty || x.nOutQty || x.nInQty||0).toLocaleString()}</span></div>`; x.nQtyHTML = `<div><span">${(x.nQty || x.nOutQty || x.nInQty||0).toLocaleString()}</span></div>`;
return x; return 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