Commit 74de877a by wangzhihui

```

feat(DeliverList): 新增入库状态多选功能并更新常量配置

- 将入库状态字段从单选改为多选,支持批量筛选
- 更新defaultPutStatusOptions中的"未入库"状态为"已签收(未入库)"
- 移除未使用的storeUsageList相关代码
- 调整常量文件中的数组格式化缩进
```
1 parent b0e83a1a
...@@ -32,7 +32,7 @@ export const defaultStatusOptions = [ ...@@ -32,7 +32,7 @@ export const defaultStatusOptions = [
// id: 7, // id: 7,
// label: "已驳回" // label: "已驳回"
// } // }
] ]
// 发货状态 // 发货状态
export const defaultDeliveryStatusOptions = [ export const defaultDeliveryStatusOptions = [
{ {
...@@ -75,7 +75,7 @@ export const defaultPutStatusOptions = [ ...@@ -75,7 +75,7 @@ export const defaultPutStatusOptions = [
}, },
{ {
id: 1, id: 1,
label: '未入库' label: '已签收(未入库)'
}, },
{ {
id: 2, id: 2,
...@@ -85,7 +85,7 @@ export const defaultPutStatusOptions = [ ...@@ -85,7 +85,7 @@ export const defaultPutStatusOptions = [
// id: 3, // id: 3,
// label: "部分入库" // label: "部分入库"
// }, // },
] ]
// 订单类型 // 订单类型
export const orderTypeOptions = [ export const orderTypeOptions = [
{ {
......
...@@ -79,7 +79,7 @@ export default { ...@@ -79,7 +79,7 @@ export default {
goodsType: '', goodsType: '',
deliveryNumber: '', deliveryNumber: '',
deliveryCompany: '', deliveryCompany: '',
putStatus: '', putStatusList: [],
orderCode: this.$route.query.orderCode ? this.$route.query.orderCode : '', orderCode: this.$route.query.orderCode ? this.$route.query.orderCode : '',
merchantName: '', merchantName: '',
placeOrderTimeStr: '', placeOrderTimeStr: '',
...@@ -159,8 +159,9 @@ export default { ...@@ -159,8 +159,9 @@ export default {
}, },
{ {
label: '状态', label: '状态',
name: 'putStatus', name: 'putStatusList',
type: 'select', type: 'select',
multiple: true,
optionList: [], optionList: [],
optionId: 'id', optionId: 'id',
optionLabel: 'label', optionLabel: 'label',
...@@ -359,7 +360,7 @@ export default { ...@@ -359,7 +360,7 @@ export default {
defaultPutStatusOptions: defaultPutStatusOptions, defaultPutStatusOptions: defaultPutStatusOptions,
orderTypeOptions: orderTypeOptions, orderTypeOptions: orderTypeOptions,
merchantName: [], merchantName: [],
storeUsageList: [], // storeUsageList: [],
purchaseTypeList: purchaseTypeList, purchaseTypeList: purchaseTypeList,
goodsTypeOptions: [] goodsTypeOptions: []
} }
...@@ -369,11 +370,11 @@ export default { ...@@ -369,11 +370,11 @@ export default {
mounted() { mounted() {
this.getOptionsList('showFormData') this.getOptionsList('showFormData')
this.getTypeList() this.getTypeList()
this.$apis.purchaseShopping.getMerchantList({}).then(res => { // this.$apis.purchaseShopping.getMerchantList({}).then(res => {
this.baseData.merchantName = res // this.baseData.merchantName = res
this.baseData.storeUsageList = res // this.baseData.storeUsageList = res
this.getOptionsList('showFormData') // this.getOptionsList('showFormData')
}) // })
}, },
methods: { methods: {
...@@ -381,6 +382,7 @@ export default { ...@@ -381,6 +382,7 @@ export default {
this.$apis.delivery.getTypeList({}).then(res => { this.$apis.delivery.getTypeList({}).then(res => {
this.baseData.goodsTypeOptions = res this.baseData.goodsTypeOptions = res
this.getOptionsList('showFormData', true, 'goodsType') this.getOptionsList('showFormData', true, 'goodsType')
this.getOptionsList('showFormData', false, 'putStatusList')
}) })
}, },
getParams() { getParams() {
...@@ -493,7 +495,7 @@ export default { ...@@ -493,7 +495,7 @@ export default {
this.searchForm = { this.searchForm = {
deliveryNumber: '', deliveryNumber: '',
deliveryCompany: '', deliveryCompany: '',
putStatus: '', putStatusList:[],
orderCode: '', orderCode: '',
merchantName: '', merchantName: '',
placeOrderTimeStr: '', placeOrderTimeStr: '',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!