|
@@ -108,30 +108,30 @@
|
|
|
<a-col span="2">合计:</a-col>
|
|
|
<a-col span="22">
|
|
|
<a-row>
|
|
|
- <a-col span="4">箭牌滤清器:{{ (totalData && (totalData.jpLqqAmount || totalData.jpLqqAmount==0)) ? totalData.jpLqqAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">箭牌变速箱滤清器:{{ (totalData && (totalData.jpBsxLqqAmount || totalData.jpBsxLqqAmount==0)) ? totalData.jpBsxLqqAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">箭牌雨刮片:{{ (totalData && (totalData.jpYgpAmount || totalData.jpYgpAmount==0)) ? totalData.jpYgpAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">箭牌喇叭:{{ (totalData && (totalData.jpLbAmount || totalData.jpLbAmount==0)) ? totalData.jpLbAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">箭牌刹车片:{{ (totalData && (totalData.jpScpAmount || totalData.jpScpAmount==0)) ? totalData.jpScpAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">箭牌感应线:{{ (totalData && (totalData.jpGyxAmount || totalData.jpGyxAmount==0)) ? totalData.jpGyxAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">冠牌滤清器:{{ (totalData && (totalData.gpLqqAmount || totalData.gpLqqAmount==0)) ? totalData.gpLqqAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">冠牌雨刮片:{{ (totalData && (totalData.gpYgpAmount || totalData.gpYgpAmount==0)) ? totalData.gpYgpAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">冠牌刹车片:{{ (totalData && (totalData.gpScpAmount || totalData.gpScpAmount==0)) ? totalData.gpScpAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">稳升点火线圈:{{ (totalData && (totalData.wsDhxqAmount || totalData.wsDhxqAmount==0)) ? totalData.wsDhxqAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">稳升灯泡:{{ (totalData && (totalData.wsDpAmount || totalData.wsDpAmount==0)) ? totalData.wsDpAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">汇箭:{{ (totalData && (totalData.hjAmount || totalData.hjAmount==0)) ? totalData.hjAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">德路斯:{{ (totalData && (totalData.dlsAmount || totalData.dlsAmount==0)) ? totalData.dlsAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">TBU刹车片:{{ (totalData && (totalData.tbuScpAmount || totalData.tbuScpAmount==0)) ? totalData.tbuScpAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">TBU刹车油:{{ (totalData && (totalData.tbuScyAmount || totalData.tbuScyAmount==0)) ? totalData.tbuScyAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">TBU-P:{{ (totalData && (totalData.tbupAmount || totalData.tbupAmount==0)) ? totalData.tbupAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">布瑞斯:{{ (totalData && (totalData.brsAmount || totalData.brsAmount==0)) ? totalData.brsAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">NGK:{{ (totalData && (totalData.ngkAmount || totalData.ngkAmount==0)) ? totalData.ngkAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">飞利浦:{{ (totalData && (totalData.flpAmount || totalData.flpAmount==0)) ? totalData.flpAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">车仆:{{ (totalData && (totalData.cpAmount || totalData.cpAmount==0)) ? totalData.cpAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">瓦尔塔:{{ (totalData && (totalData.wetAmount || totalData.wetAmount==0)) ? totalData.wetAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">雷贝斯托:{{ (totalData && (totalData.lbstAmount || totalData.lbstAmount==0)) ? totalData.lbstAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">德尔福:{{ (totalData && (totalData.defAmount || totalData.defAmount==0)) ? totalData.defAmount : '--' }}</a-col>
|
|
|
- <a-col span="4">巴诺德:{{ (totalData && (totalData.bndAmount || totalData.bndAmount==0)) ? totalData.bndAmount : '--' }}</a-col>
|
|
|
+ <a-col span="4">箭牌滤清器:{{ (totalData && (totalData.jpLqqAmount || totalData.jpLqqAmount==0)) ? toThousands(totalData.jpLqqAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">箭牌变速箱滤清器:{{ (totalData && (totalData.jpBsxLqqAmount || totalData.jpBsxLqqAmount==0)) ? toThousands(totalData.jpBsxLqqAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">箭牌雨刮片:{{ (totalData && (totalData.jpYgpAmount || totalData.jpYgpAmount==0)) ? toThousands(totalData.jpYgpAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">箭牌喇叭:{{ (totalData && (totalData.jpLbAmount || totalData.jpLbAmount==0)) ? toThousands(totalData.jpLbAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">箭牌刹车片:{{ (totalData && (totalData.jpScpAmount || totalData.jpScpAmount==0)) ? toThousands(totalData.jpScpAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">箭牌感应线:{{ (totalData && (totalData.jpGyxAmount || totalData.jpGyxAmount==0)) ? toThousands(totalData.jpGyxAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">冠牌滤清器:{{ (totalData && (totalData.gpLqqAmount || totalData.gpLqqAmount==0)) ? toThousands(totalData.gpLqqAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">冠牌雨刮片:{{ (totalData && (totalData.gpYgpAmount || totalData.gpYgpAmount==0)) ? toThousands(totalData.gpYgpAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">冠牌刹车片:{{ (totalData && (totalData.gpScpAmount || totalData.gpScpAmount==0)) ? toThousands(totalData.gpScpAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">稳升点火线圈:{{ (totalData && (totalData.wsDhxqAmount || totalData.wsDhxqAmount==0)) ? toThousands(totalData.wsDhxqAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">稳升灯泡:{{ (totalData && (totalData.wsDpAmount || totalData.wsDpAmount==0)) ? toThousands(totalData.wsDpAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">汇箭:{{ (totalData && (totalData.hjAmount || totalData.hjAmount==0)) ? toThousands(totalData.hjAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">德路斯:{{ (totalData && (totalData.dlsAmount || totalData.dlsAmount==0)) ? toThousands(totalData.dlsAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">TBU刹车片:{{ (totalData && (totalData.tbuScpAmount || totalData.tbuScpAmount==0)) ? toThousands(totalData.tbuScpAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">TBU刹车油:{{ (totalData && (totalData.tbuScyAmount || totalData.tbuScyAmount==0)) ? toThousands(totalData.tbuScyAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">TBU-P:{{ (totalData && (totalData.tbupAmount || totalData.tbupAmount==0)) ? toThousands(totalData.tbupAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">布瑞斯:{{ (totalData && (totalData.brsAmount || totalData.brsAmount==0)) ? toThousands(totalData.brsAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">NGK:{{ (totalData && (totalData.ngkAmount || totalData.ngkAmount==0)) ? toThousands(totalData.ngkAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">飞利浦:{{ (totalData && (totalData.flpAmount || totalData.flpAmount==0)) ? toThousands(totalData.flpAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">车仆:{{ (totalData && (totalData.cpAmount || totalData.cpAmount==0)) ? toThousands(totalData.cpAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">瓦尔塔:{{ (totalData && (totalData.wetAmount || totalData.wetAmount==0)) ? toThousands(totalData.wetAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">雷贝斯托:{{ (totalData && (totalData.lbstAmount || totalData.lbstAmount==0)) ? toThousands(totalData.lbstAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">德尔福:{{ (totalData && (totalData.defAmount || totalData.defAmount==0)) ? toThousands(totalData.defAmount) : '--' }}</a-col>
|
|
|
+ <a-col span="4">巴诺德:{{ (totalData && (totalData.bndAmount || totalData.bndAmount==0)) ? toThousands(totalData.bndAmount) : '--' }}</a-col>
|
|
|
<a-col span="6" v-if="$hasPermissions('B_isShowPrice')">开单销售单合计金额:{{ (totalData && (totalData.totalAmount || totalData.totalAmount==0)) ? toThousands(totalData.totalAmount) : '--' }}</a-col>
|
|
|
</a-row>
|
|
|
</a-col>
|
|
@@ -221,146 +221,146 @@ export default {
|
|
|
children: [
|
|
|
{
|
|
|
title: '箭牌',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
children: [
|
|
|
{
|
|
|
title: '滤清器',
|
|
|
dataIndex: 'jpLqqAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: '变速箱滤清器',
|
|
|
dataIndex: 'jpBsxLqqAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: '雨刮片',
|
|
|
dataIndex: 'jpYgpAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: '喇叭',
|
|
|
dataIndex: 'jpLbAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: '刹车片',
|
|
|
dataIndex: 'jpScpAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: '感应线',
|
|
|
dataIndex: 'jpGyxAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
title: '冠牌',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
children: [
|
|
|
{
|
|
|
title: '滤清器',
|
|
|
dataIndex: 'gpLqqAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: '雨刮片',
|
|
|
dataIndex: 'gpYgpAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: '刹车片',
|
|
|
dataIndex: 'gpScpAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
title: '稳升',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
children: [
|
|
|
{
|
|
|
title: '点火线圈',
|
|
|
dataIndex: 'wsDhxqAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: '灯泡',
|
|
|
dataIndex: 'wsDpAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
title: '汇箭',
|
|
|
dataIndex: 'hjAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: '德路斯',
|
|
|
dataIndex: 'dlsAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: 'TBU',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
children: [
|
|
|
{
|
|
|
title: '刹车片',
|
|
|
dataIndex: 'tbuScpAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: '刹车油',
|
|
|
dataIndex: 'tbuScyAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
title: 'TBU-P',
|
|
|
dataIndex: 'tbupAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: '布瑞斯',
|
|
|
dataIndex: 'brsAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
@@ -370,55 +370,55 @@ export default {
|
|
|
{
|
|
|
title: 'NGK',
|
|
|
dataIndex: 'ngkAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: '飞利浦',
|
|
|
dataIndex: 'flpAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: '车仆',
|
|
|
dataIndex: 'cpAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: '瓦尔塔',
|
|
|
dataIndex: 'wetAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: '雷贝斯托',
|
|
|
dataIndex: 'lbstAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: '德尔福',
|
|
|
dataIndex: 'defAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
},
|
|
|
{
|
|
|
title: '巴诺德',
|
|
|
dataIndex: 'bndAmount',
|
|
|
- align: 'center',
|
|
|
+ align: 'right',
|
|
|
width: 80,
|
|
|
- customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' }
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
- // { title: '开单退货单合计金额', width: 90, dataIndex: 'totalAmount', align: 'center', customRender: function (text) { return (text || text == 0) ? ('¥' + text) : '--' } }
|
|
|
+ // { title: '开单退货单合计金额', width: 90, dataIndex: 'totalAmount', align: 'center', customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' } }
|
|
|
]
|
|
|
if (this.$hasPermissions('B_isShowPrice')) { // 售价权限
|
|
|
arr.splice(arr.length, 0, { title: '开单退货单合计金额', width: 90, dataIndex: 'totalAmount', align: 'right', customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' } })
|