|
@@ -60,6 +60,11 @@
|
|
allowClear></v-select>
|
|
allowClear></v-select>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
|
|
+ <a-col :md="6" :sm="24">
|
|
|
|
+ <a-form-model-item label="退货仓库">
|
|
|
|
+ <chooseWarehouse ref="warehouse" isPermission v-model="queryParam.warehouseSn"></chooseWarehouse>
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ </a-col>
|
|
</template>
|
|
</template>
|
|
<a-col :md="7" :sm="24" style="margin-bottom: 10px;">
|
|
<a-col :md="7" :sm="24" style="margin-bottom: 10px;">
|
|
<a-button
|
|
<a-button
|
|
@@ -124,13 +129,14 @@ import rangeDate from '@/views/common/rangeDate.vue'
|
|
import subarea from '@/views/common/subarea.js'
|
|
import subarea from '@/views/common/subarea.js'
|
|
import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
|
|
import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
|
|
import reportModal from '@/views/common/reportModal.vue'
|
|
import reportModal from '@/views/common/reportModal.vue'
|
|
|
|
+import chooseWarehouse from '@/views/common/chooseWarehouse'
|
|
import AreaList from '@/views/common/areaList.js'
|
|
import AreaList from '@/views/common/areaList.js'
|
|
import { hdExportExcel } from '@/libs/exportExcel'
|
|
import { hdExportExcel } from '@/libs/exportExcel'
|
|
import { reportSalesReturnList, reportSalesReturnCount, salesReturnsExport } from '@/api/reportData'
|
|
import { reportSalesReturnList, reportSalesReturnCount, salesReturnsExport } from '@/api/reportData'
|
|
export default {
|
|
export default {
|
|
name: 'SalesReturnsReportList',
|
|
name: 'SalesReturnsReportList',
|
|
mixins: [commonMixin],
|
|
mixins: [commonMixin],
|
|
- components: { STable, VSelect, rangeDate, subarea, dealerSubareaScopeList, reportModal, AreaList },
|
|
|
|
|
|
+ components: { STable, VSelect, rangeDate, subarea, dealerSubareaScopeList, reportModal, AreaList, chooseWarehouse },
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
spinning: false,
|
|
spinning: false,
|
|
@@ -150,6 +156,7 @@ export default {
|
|
subareaSn: undefined,
|
|
subareaSn: undefined,
|
|
subareaAreaSn: undefined
|
|
subareaAreaSn: undefined
|
|
},
|
|
},
|
|
|
|
+ warehouseSn: undefined,
|
|
dealerSn: '',
|
|
dealerSn: '',
|
|
dealerLevel: undefined,
|
|
dealerLevel: undefined,
|
|
dealerProvinceSn: undefined,
|
|
dealerProvinceSn: undefined,
|
|
@@ -195,7 +202,8 @@ export default {
|
|
{ title: '退货类型', dataIndex: 'returnType', width: 120, align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '退货类型', dataIndex: 'returnType', width: 120, align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '直接绑定客户名称', dataIndex: 'directDealerName', width: 120, align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '直接绑定客户名称', dataIndex: 'directDealerName', width: 120, align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '间接绑定客户名称', dataIndex: 'indirectDealerName', width: 120, align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '间接绑定客户名称', dataIndex: 'indirectDealerName', width: 120, align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
- { title: '退货数量', dataIndex: 'totalQty', width: 90, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }
|
|
|
|
|
|
+ { title: '退货数量', dataIndex: 'totalQty', width: 90, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
|
+ { title: '退货仓库', dataIndex: 'warehouseName', width: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true }
|
|
// { title: '开单退货金额', dataIndex: 'totalAmount', width: 90, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
// { title: '开单退货金额', dataIndex: 'totalAmount', width: 90, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
// { title: '经销商价', dataIndex: 'totalWholesalePrice2', width: 90, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
// { title: '经销商价', dataIndex: 'totalWholesalePrice2', width: 90, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
// { title: '服务中心价', dataIndex: 'totalWholesalePrice1', width: 90, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
// { title: '服务中心价', dataIndex: 'totalWholesalePrice1', width: 90, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
@@ -304,6 +312,7 @@ export default {
|
|
this.queryParam.subareaArea.subareaSn = undefined
|
|
this.queryParam.subareaArea.subareaSn = undefined
|
|
this.queryParam.subareaArea.subareaAreaSn = undefined
|
|
this.queryParam.subareaArea.subareaAreaSn = undefined
|
|
this.queryParam.dealerSn = undefined
|
|
this.queryParam.dealerSn = undefined
|
|
|
|
+ this.queryParam.warehouseSn = undefined
|
|
this.queryParam.dealerLevel = undefined
|
|
this.queryParam.dealerLevel = undefined
|
|
this.queryParam.dealerProvinceSn = undefined
|
|
this.queryParam.dealerProvinceSn = undefined
|
|
this.queryParam.dealerCitySn = undefined
|
|
this.queryParam.dealerCitySn = undefined
|