Commit 74de877a by wangzhihui

```

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

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