diff --git a/src/pages/picking/outbound/code-outbound.vue b/src/pages/picking/outbound/code-outbound.vue index 97e3786..cf8dec5 100644 --- a/src/pages/picking/outbound/code-outbound.vue +++ b/src/pages/picking/outbound/code-outbound.vue @@ -203,8 +203,8 @@ const toggleForm = () => { // 页面加载完毕 onLoad((options) => { - console.log(queryParams.value) queryParams.value = JSON.parse(options.queryParams) + console.log('🚀 ~ queryParams.value:', queryParams.value) }) onShow(() => { @@ -342,7 +342,13 @@ const onHandleOutbound = async () => { parentId, typeId, publishTask, - jiJuType: e.jiJuType + jiJuType: e.jiJuType, + publishTask: queryParams.value.publishTask, + leaseProject: queryParams.value.leaseProject, + leaseProjectId: queryParams.value.leaseProjectId, + leaseUnit: queryParams.value.leaseUnit, + leaseUnitId: queryParams.value.leaseUnitId, + taskId: queryParams.value.taskId, }) }) console.log('mmmmmmmmmmmmmmmm', paramsList) diff --git a/src/pages/picking/outbound/details.vue b/src/pages/picking/outbound/details.vue index 8fde695..d2cd7c9 100644 --- a/src/pages/picking/outbound/details.vue +++ b/src/pages/picking/outbound/details.vue @@ -218,17 +218,18 @@ const leaseOutBack = async (item) => { }else{ if(item.manageType==0){//编码 console.log('编码xxxxxxxxx', item) - const { status,manageType,maTypeName,typeName,storageNum,preNum,alNum,unitName,id,typeId, unitValue} = item - leaseApplyInfo.value.maTypeName = maTypeName - leaseApplyInfo.value.typeName = typeName - leaseApplyInfo.value.unitName = unitName - leaseApplyInfo.value.storageNum = storageNum - leaseApplyInfo.value.preNum = preNum - leaseApplyInfo.value.alNum = alNum - leaseApplyInfo.value.id = id - leaseApplyInfo.value.typeId = typeId - leaseApplyInfo.value.manageType = manageType - leaseApplyInfo.value.unitValue = unitValue + // const { status,manageType,maTypeName,typeName,storageNum,preNum,alNum,unitName,id,typeId, unitValue} = item + // leaseApplyInfo.value.maTypeName = maTypeName + // leaseApplyInfo.value.typeName = typeName + // leaseApplyInfo.value.unitName = unitName + // leaseApplyInfo.value.storageNum = storageNum + // leaseApplyInfo.value.preNum = preNum + // leaseApplyInfo.value.alNum = alNum + // leaseApplyInfo.value.id = id + // leaseApplyInfo.value.typeId = typeId + // leaseApplyInfo.value.manageType = manageType + // leaseApplyInfo.value.unitValue = unitValue + leaseApplyInfo.value = item console.log(leaseApplyInfo.value) let codingUrl = '/pages/picking/outbound/inner-detail' // 把 leaseApplyInfo 领料信息转成 json 传递到下个页面 diff --git a/src/pages/picking/outbound/num-outbound.vue b/src/pages/picking/outbound/num-outbound.vue index c426eba..18773c2 100644 --- a/src/pages/picking/outbound/num-outbound.vue +++ b/src/pages/picking/outbound/num-outbound.vue @@ -171,7 +171,10 @@ const onHandleOutbound = async () => { outNum: preNum, publishTask: queryParams.value.publishTask, leaseProject: queryParams.value.leaseProject, + leaseProjectId: queryParams.value.leaseProjectId, leaseUnit: queryParams.value.leaseUnit, + leaseUnitId: queryParams.value.leaseUnitId, + taskId: queryParams.value.taskId, maCodeList: maCodeList.value, } console.log('出库参数', params)