|
@@ -69,6 +69,11 @@
|
|
|
<BizUser id="tireSalesReportList-bizUserSn" v-model="queryParam.subareaArea.bizUserSn"></BizUser>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
+ <a-col :md="6" :sm="24">
|
|
|
+ <a-form-model-item label="客服">
|
|
|
+ <customerService ref="customerName" v-model="queryParam.bizUserSn"></customerService>
|
|
|
+ </a-form-model-item>
|
|
|
+ </a-col>
|
|
|
<a-col :md="6" :sm="24">
|
|
|
<a-form-model-item label="产品编码/原厂编码">
|
|
|
<a-input id="tireSalesReportList-productWord" v-model.trim="queryParam.productWord" allowClear placeholder="请输入产品编码/原厂编码"/>
|
|
@@ -82,7 +87,6 @@
|
|
|
</template>
|
|
|
<a-col :md="6" :sm="24">
|
|
|
<a-button
|
|
|
- style="margin-left: 5px"
|
|
|
type="primary"
|
|
|
@click="handleSearch"
|
|
|
:disabled="disabled"
|
|
@@ -93,7 +97,7 @@
|
|
|
:disabled="disabled"
|
|
|
id="tireSalesReportList-reset">重置</a-button>
|
|
|
<a-button
|
|
|
- style="margin-left: 10px"
|
|
|
+ style="margin-left: 8px"
|
|
|
type="primary"
|
|
|
class="button-warning"
|
|
|
@click="handleExport(0)"
|
|
@@ -102,7 +106,7 @@
|
|
|
v-if="$hasPermissions('B_tireReportExport')"
|
|
|
id="tireSalesReportList-export">导出</a-button>
|
|
|
<a-button
|
|
|
- style="margin-left: 10px"
|
|
|
+ style="margin-left: 8px"
|
|
|
type="primary"
|
|
|
class="button-warning"
|
|
|
@click="handleExport(1)"
|
|
@@ -164,6 +168,8 @@
|
|
|
<a-col :md="4" :sm="24" v-if="$hasPermissions('M_tireSalesReportList_salesPrice')">客户现有库存金额:{{ (totalData&&totalData.rptDealerStockVO && (totalData.rptDealerStockVO.totalStockAmount || totalData.rptDealerStockVO.totalStockAmount==0)) ? toThousands(totalData.rptDealerStockVO.totalStockAmount): '--' }}</a-col>
|
|
|
<a-col :md="4" :sm="24">出库加盟商数量:{{ (totalData && (totalData.outQtyDealer || totalData.outQtyDealer==0)) ?totalData.outQtyDealer: '--' }}</a-col>
|
|
|
<a-col :md="4" :sm="24" v-if="$hasPermissions('M_tireSalesReportList_salesPrice')">出库加盟商金额:{{ (totalData && (totalData.outAmountDealer || totalData.outAmountDealer==0)) ? toThousands(totalData.outAmountDealer): '--' }}</a-col>
|
|
|
+ <a-col :md="4" :sm="24">出库跨区域数量:{{ (totalData && (totalData.outQtyDealer || totalData.outQtyDealer==0)) ?totalData.outQtyDealer: '--' }}</a-col>
|
|
|
+ <a-col :md="4" :sm="24" v-if="$hasPermissions('M_tireSalesReportList_salesPrice')">出库跨区域金额:{{ (totalData && (totalData.outAmountDealer || totalData.outAmountDealer==0)) ? toThousands(totalData.outAmountDealer): '--' }}</a-col>
|
|
|
<a-col :md="4" :sm="24">出库终端数量:{{ (totalData && (totalData.outQtyTerminal || totalData.outQtyTerminal==0)) ?totalData.outQtyTerminal: '--' }}</a-col>
|
|
|
<a-col :md="4" :sm="24" v-if="$hasPermissions('M_tireSalesReportList_salesPrice')">出库终端金额:{{ (totalData && (totalData.outAmountTerminal || totalData.outAmountTerminal==0)) ? toThousands(totalData.outAmountTerminal): '--' }}</a-col>
|
|
|
<a-col :md="4" :sm="24">累计出库数量:{{ (totalData && (totalData.outQty || totalData.outQty==0)) ?totalData.outQty: '--' }}</a-col>
|
|
@@ -192,13 +198,14 @@ import AreaList from '@/views/common/areaList.js'
|
|
|
import BizUser from '@/views/common/bizUser.js'
|
|
|
import reportModal from '@/views/common/reportModal.vue'
|
|
|
import outDetailModal from './outDetailModal'
|
|
|
+import customerService from '@/views/common/customerService'
|
|
|
import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
|
|
|
// 接口
|
|
|
import { queryTireDetailCount, tireListExport, tireReportDetailList, tireOutDetailListExport } from '@/api/reportData'
|
|
|
export default {
|
|
|
name: 'TireSalesReportList',
|
|
|
mixins: [commonMixin],
|
|
|
- components: { STable, VSelect, outDetailModal, rangeDate, subarea, AreaList, BizUser, dealerSubareaScopeList, reportModal },
|
|
|
+ components: { STable, VSelect, outDetailModal, rangeDate, subarea, AreaList, BizUser, dealerSubareaScopeList, reportModal, customerService },
|
|
|
data () {
|
|
|
return {
|
|
|
spinning: false,
|
|
@@ -493,3 +500,8 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
+<style lang="less" scoped>
|
|
|
+ /deep/.button-warning{
|
|
|
+ margin-right:0;
|
|
|
+ }
|
|
|
+</style>
|