|
@@ -176,6 +176,7 @@ export default {
|
|
props: ['companies', 'costField', 'isTenThound'],
|
|
props: ['companies', 'costField', 'isTenThound'],
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ lastSupportCompany: '',
|
|
totalAmount:[],
|
|
totalAmount:[],
|
|
selfSupport:{ companyArr: [] },
|
|
selfSupport:{ companyArr: [] },
|
|
otherSupport: { companyArr: [], companyAmount: [] },
|
|
otherSupport: { companyArr: [], companyAmount: [] },
|
|
@@ -405,9 +406,18 @@ export default {
|
|
return Number(currentTotalTip) > Number(current) ? 'color: red' : '';
|
|
return Number(currentTotalTip) > Number(current) ? 'color: red' : '';
|
|
},
|
|
},
|
|
setCellClassName({ column, row }) {
|
|
setCellClassName({ column, row }) {
|
|
|
|
+
|
|
const { label } = column;
|
|
const { label } = column;
|
|
let base = ''
|
|
let base = ''
|
|
|
|
|
|
|
|
+ // console.log(label === '', row.order_type)
|
|
|
|
+ if(
|
|
|
|
+ (label === '' && row.order_type === '自营订单' || row.order_type === undefined) &&
|
|
|
|
+ row.companyName !== this.lastSupportCompany
|
|
|
|
+ ) {
|
|
|
|
+ base += 'no-border-bottom '
|
|
|
|
+ }
|
|
|
|
+
|
|
if(row.companyName === "北京万宇恒通国际科贸有限公司") {
|
|
if(row.companyName === "北京万宇恒通国际科贸有限公司") {
|
|
base += 'font-bold '
|
|
base += 'font-bold '
|
|
}
|
|
}
|
|
@@ -489,6 +499,11 @@ export default {
|
|
...this.selfSupport.companyArr
|
|
...this.selfSupport.companyArr
|
|
]
|
|
]
|
|
|
|
|
|
|
|
+
|
|
|
|
+ this.lastSupportCompany = this.selfSupport.companyArr[this.selfSupport.companyArr.length -1].companyName
|
|
|
|
+
|
|
|
|
+ console.log(this.selfSupport.companyArr)
|
|
|
|
+
|
|
this.otherSupport.companyAmount = [
|
|
this.otherSupport.companyAmount = [
|
|
{
|
|
{
|
|
...amountData,
|
|
...amountData,
|