|
@@ -460,6 +460,7 @@
|
|
|
let URL = null
|
|
let URL = null
|
|
|
if (this.isType == 'pick') { // 领料
|
|
if (this.isType == 'pick') { // 领料
|
|
|
if (this.rootCategoryLevelId == 23) {
|
|
if (this.rootCategoryLevelId == 23) {
|
|
|
|
|
+ this.list = []
|
|
|
param = {}
|
|
param = {}
|
|
|
param.workOrderId = this.pid
|
|
param.workOrderId = this.pid
|
|
|
URL = listOutsourceInWarehouse
|
|
URL = listOutsourceInWarehouse
|
|
@@ -470,7 +471,7 @@
|
|
|
} else if (this.isType == 'feed') { // 投料
|
|
} else if (this.isType == 'feed') { // 投料
|
|
|
|
|
|
|
|
if ([4, 7, 14].includes(Number(this.rootCategoryLevelId))) {
|
|
if ([4, 7, 14].includes(Number(this.rootCategoryLevelId))) {
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
URL = assetPage
|
|
URL = assetPage
|
|
|
} else if (this.rootCategoryLevelId == 2) {
|
|
} else if (this.rootCategoryLevelId == 2) {
|
|
|
param.workOrderId = this.pid
|
|
param.workOrderId = this.pid
|
|
@@ -478,7 +479,7 @@
|
|
|
delete param.categoryLevelId
|
|
delete param.categoryLevelId
|
|
|
URL = listInProduct
|
|
URL = listInProduct
|
|
|
} else if (![2, 4, 7, 14].includes(Number(this.rootCategoryLevelId))) {
|
|
} else if (![2, 4, 7, 14].includes(Number(this.rootCategoryLevelId))) {
|
|
|
- URL = assetPage
|
|
|
|
|
|
|
+ URL = assetPage
|
|
|
// if (this.formData.dimension == 3) { // 包装维度
|
|
// if (this.formData.dimension == 3) { // 包装维度
|
|
|
// URL = getInventoryDetails
|
|
// URL = getInventoryDetails
|
|
|
// param.dimension = 3
|
|
// param.dimension = 3
|
|
@@ -548,7 +549,6 @@
|
|
|
|
|
|
|
|
//勾选
|
|
//勾选
|
|
|
selectVal(e, val, index) {
|
|
selectVal(e, val, index) {
|
|
|
- console.log(val)
|
|
|
|
|
if (val.rootCategoryLevelId == 11 && val.status == 1) {
|
|
if (val.rootCategoryLevelId == 11 && val.status == 1) {
|
|
|
return false
|
|
return false
|
|
|
}
|
|
}
|
|
@@ -601,13 +601,15 @@
|
|
|
if (rr.confirm) {
|
|
if (rr.confirm) {
|
|
|
let param = {
|
|
let param = {
|
|
|
taskId: this.taskId,
|
|
taskId: this.taskId,
|
|
|
- workOrderId: this.pid
|
|
|
|
|
|
|
+ workOrderId: this.pid,
|
|
|
|
|
+ pickOutInList: this.list
|
|
|
}
|
|
}
|
|
|
- uni.$emit('setSelectList', this.list, this.pid)
|
|
|
|
|
- uni.navigateBack()
|
|
|
|
|
- return false
|
|
|
|
|
- outsourceEndPick(param).then(res => {
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+ outsourceEndPick(param).then(res => {
|
|
|
|
|
+ console.log(11, res)
|
|
|
|
|
+ uni.$emit('setSelectList', this.list, this.pid)
|
|
|
|
|
+ uni.navigateBack()
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
|