|
@@ -762,6 +762,7 @@ export default {
|
|
|
storageId: res.data.storageId
|
|
|
}
|
|
|
})
|
|
|
+ console.log(1111111111111111111)
|
|
|
this.getWorker()
|
|
|
this.getWarehouseList(res.data.websitId)
|
|
|
if (res.data.salesType == '工程') {
|
|
@@ -855,10 +856,11 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
getWorker() {
|
|
|
+ console.log(this.formType, '=============================')
|
|
|
getWorker({
|
|
|
pageNum: 1,
|
|
|
pageSize: -1,
|
|
|
- params: [{ param: 'b.websit_id', compare: '=', value: this.formData.websitId }]
|
|
|
+ params: this.formType == 2 ? [] : [{ param: 'b.websit_id', compare: '=', value: this.formData.websitId }]
|
|
|
}).then(res => {
|
|
|
this.workerList = res.data.records
|
|
|
})
|