|
@@ -48,9 +48,13 @@
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :md="6" :sm="24">
|
|
<a-col :md="6" :sm="24">
|
|
<a-form-model-item label="收款方式">
|
|
<a-form-model-item label="收款方式">
|
|
- <a-select id="chainSalesDetailReportList-settleStyleSn" v-model="queryParam.settleStyleSn" allowClear placeholder="请选择收款方式">
|
|
|
|
- <a-select-option v-for="item in settleStyleList" :value="item.settleStyleSn" :key="item.settleStyleSn">{{ item.name }}</a-select-option>
|
|
|
|
- </a-select>
|
|
|
|
|
|
+ <v-select
|
|
|
|
+ code="SETTLE_STYLE"
|
|
|
|
+ id="chainSalesDetailReportList-settleStyleSn"
|
|
|
|
+ v-model="queryParam.settleStyleSn"
|
|
|
|
+ allowClear
|
|
|
|
+ placeholder="请选择收款方式"
|
|
|
|
+ ></v-select>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :md="6" :sm="24">
|
|
<a-col :md="6" :sm="24">
|
|
@@ -169,7 +173,6 @@ import { STable, VSelect } from '@/components'
|
|
import rangeDate from '@/views/common/rangeDate.vue'
|
|
import rangeDate from '@/views/common/rangeDate.vue'
|
|
import { getArea } from '@/api/data'
|
|
import { getArea } from '@/api/data'
|
|
import { custTypeFindAllList } from '@/api/custType'
|
|
import { custTypeFindAllList } from '@/api/custType'
|
|
-import { settleStyleFindAllList } from '@/api/customer'
|
|
|
|
import ProductType from '../../common/productType.js'
|
|
import ProductType from '../../common/productType.js'
|
|
import ProductBrand from '../../common/productBrand.js'
|
|
import ProductBrand from '../../common/productBrand.js'
|
|
import { warehouseCascadeList } from '@/api/warehouse'
|
|
import { warehouseCascadeList } from '@/api/warehouse'
|
|
@@ -245,7 +248,6 @@ export default {
|
|
linkageGroupData: [],
|
|
linkageGroupData: [],
|
|
allocateTypeList: [], // 调拨类型
|
|
allocateTypeList: [], // 调拨类型
|
|
custTypeList: [], // 客户类型 下拉数据
|
|
custTypeList: [], // 客户类型 下拉数据
|
|
- settleStyleList: [], // 收款方式 下拉数据
|
|
|
|
productBrandList: [], // 品牌下拉数据
|
|
productBrandList: [], // 品牌下拉数据
|
|
productType: [],
|
|
productType: [],
|
|
productTypeList: [], // 分类下拉数据
|
|
productTypeList: [], // 分类下拉数据
|
|
@@ -258,7 +260,7 @@ export default {
|
|
{ title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
|
|
{ title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
|
|
{ title: '销售单号', dataIndex: 'salesBillNo', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '销售单号', dataIndex: 'salesBillNo', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '客户名称', dataIndex: 'salesTargetName', width: '13%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '客户名称', dataIndex: 'salesTargetName', width: '13%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
- { title: '收款方式', dataIndex: 'settleStyleName', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
|
|
|
+ { title: '收款方式', dataIndex: 'settleStyleSnDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '产品编码', dataIndex: 'productEntity.code', width: '13%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '产品编码', dataIndex: 'productEntity.code', width: '13%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '产品名称', dataIndex: 'productEntity.name', width: '14%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '产品名称', dataIndex: 'productEntity.name', width: '14%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '单位', dataIndex: 'productEntity.unit', width: '4%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '单位', dataIndex: 'productEntity.unit', width: '4%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
@@ -348,16 +350,6 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- // 收款方式
|
|
|
|
- getSettleStyleList () {
|
|
|
|
- settleStyleFindAllList().then(res => {
|
|
|
|
- if (res.status == 200) {
|
|
|
|
- this.settleStyleList = res.data
|
|
|
|
- } else {
|
|
|
|
- this.settleStyleList = []
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
// 产品分类 change
|
|
// 产品分类 change
|
|
changeProductType (val, opt) {
|
|
changeProductType (val, opt) {
|
|
this.queryParam.productEntity.productTypeSn1 = val[0] ? val[0] : ''
|
|
this.queryParam.productEntity.productTypeSn1 = val[0] ? val[0] : ''
|
|
@@ -457,7 +449,6 @@ export default {
|
|
this.getLinkageGroup()
|
|
this.getLinkageGroup()
|
|
this.getArea('province')
|
|
this.getArea('province')
|
|
this.getCustTypeList()
|
|
this.getCustTypeList()
|
|
- this.getSettleStyleList()
|
|
|
|
this.getWarehouseCascade()
|
|
this.getWarehouseCascade()
|
|
}
|
|
}
|
|
},
|
|
},
|