|
@@ -312,35 +312,6 @@ export default {
|
|
|
this.getWorkers()
|
|
|
}
|
|
|
})
|
|
|
- // if (
|
|
|
- // this.orderInfo.orderChannelId &&
|
|
|
- // this.orderInfo?.orderProducts?.find(item => item?.mainId)?.mainId &&
|
|
|
- // this.orderInfo.source &&
|
|
|
- // this.orderInfo.orderSmallType &&
|
|
|
- // this.orderInfo.streetId
|
|
|
- // ) {
|
|
|
- // adminWebsitWebsitList({
|
|
|
- // channelId: this.orderInfo?.orderChannelId,
|
|
|
- // categoryId: this.orderInfo?.orderProducts?.find(item => item?.mainId)?.mainId,
|
|
|
- // orderSource: this.orderInfo?.source,
|
|
|
- // orderSmallId: this.orderInfo?.orderSmallType,
|
|
|
- // streetCode: this.orderInfo?.streetId,
|
|
|
- // status: true,
|
|
|
- // type: 'C'
|
|
|
- // }).then(res => {
|
|
|
- // var boll = !!res.data.find(item => item.ifDispatch)
|
|
|
- // this.websitList = res.data.map(item => ({
|
|
|
- // label: item.name,
|
|
|
- // value: item.websitId,
|
|
|
- // disabled: boll ? item.ifDispatch : true,
|
|
|
- // data: item
|
|
|
- // }))
|
|
|
- // if (!this.orderInfo.id && this.websitList.length === 1) {
|
|
|
- // this.orderInfo.websitId = this.websitList[0].websitId
|
|
|
- // this.orderInfo.websitName = this.websitList[0].name
|
|
|
- // }
|
|
|
- // })
|
|
|
- // }
|
|
|
},
|
|
|
getWorkers() {
|
|
|
if (this.orderInfo.websitId) {
|