Commit 74de877a by wangzhihui

```

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

- 将入库状态字段从单选改为多选,支持批量筛选
- 更新defaultPutStatusOptions中的"未入库"状态为"已签收(未入库)"
- 移除未使用的storeUsageList相关代码
- 调整常量文件中的数组格式化缩进
```
1 parent b0e83a1a
// 订单状态 // 订单状态
export const defaultStatusOptions = [ export const defaultStatusOptions = [
{ {
id: 1, id: 1,
label: '运营审核' label: '运营审核'
}, },
{ {
id: 2, id: 2,
label: '总监审核' label: '总监审核'
}, },
{ {
id: 8, id: 8,
label: '商务审核' label: '商务审核'
}, },
{ {
id: 3, id: 3,
label: '已取消' label: '已取消'
}, },
{ {
id: 4, id: 4,
label: '已驳回' label: '已驳回'
}, },
{ {
id: 5, id: 5,
label: '已审核' label: '已审核'
} }
// { // {
// id: 6, // id: 6,
// label: "已审核" // label: "已审核"
// }, // },
// { // {
// id: 7, // id: 7,
// label: "已驳回" // label: "已驳回"
// } // }
] ]
// 发货状态 // 发货状态
export const defaultDeliveryStatusOptions = [ export const defaultDeliveryStatusOptions = [
{ {
...@@ -69,23 +69,23 @@ export const putStatusOptions = [ ...@@ -69,23 +69,23 @@ export const putStatusOptions = [
] ]
// 入库状态 // 入库状态
export const defaultPutStatusOptions = [ export const defaultPutStatusOptions = [
{ {
id: 0, id: 0,
label: '待签收' label: '待签收'
}, },
{ {
id: 1, id: 1,
label: '未入库' label: '已签收(未入库)'
}, },
{ {
id: 2, id: 2,
label: '已入库' label: '已入库'
} }
// { // {
// 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!