退料优化
This commit is contained in:
		
							parent
							
								
									81d89ca6e7
								
							
						
					
					
						commit
						c19c31e62a
					
				| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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 传递到下个页面
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue