|
|
@ -48,9 +48,9 @@ const booking = {
|
|
|
|
destinationidInitList: [],
|
|
|
|
destinationidInitList: [],
|
|
|
|
placedeliveryidInitList: [],
|
|
|
|
placedeliveryidInitList: [],
|
|
|
|
payableatInitList: [],
|
|
|
|
payableatInitList: [],
|
|
|
|
shipperInitList: [], // 发货人 - 没有
|
|
|
|
shippernameInitList: [], // 发货人 - 没有
|
|
|
|
consigneeInitList: [], // 收货人 - 没有
|
|
|
|
consigneenameInitList: [], // 收货人 - 没有
|
|
|
|
notifierInitList: [], // 通知人 - 没有
|
|
|
|
notifypartynameInitList: [], // 通知人 - 没有
|
|
|
|
// 签单信息
|
|
|
|
// 签单信息
|
|
|
|
issueplaceInitList: [],
|
|
|
|
issueplaceInitList: [],
|
|
|
|
prepardatInitList: [],
|
|
|
|
prepardatInitList: [],
|
|
|
@ -268,6 +268,12 @@ const booking = {
|
|
|
|
case 'ck':
|
|
|
|
case 'ck':
|
|
|
|
allData['warehouseInitList'] = $data
|
|
|
|
allData['warehouseInitList'] = $data
|
|
|
|
break
|
|
|
|
break
|
|
|
|
|
|
|
|
case 'dcdl':
|
|
|
|
|
|
|
|
allData['forwarderInitList'] = $data
|
|
|
|
|
|
|
|
break
|
|
|
|
|
|
|
|
case 'forwarder':
|
|
|
|
|
|
|
|
allData['shipagencyInitList'] = $data
|
|
|
|
|
|
|
|
break
|
|
|
|
case 'portload':
|
|
|
|
case 'portload':
|
|
|
|
allData['placereceiptidInitList'] = $data
|
|
|
|
allData['placereceiptidInitList'] = $data
|
|
|
|
allData['portloadidInitList'] = $data
|
|
|
|
allData['portloadidInitList'] = $data
|
|
|
@ -282,30 +288,32 @@ const booking = {
|
|
|
|
allData['payableatInitList'] = $data
|
|
|
|
allData['payableatInitList'] = $data
|
|
|
|
break
|
|
|
|
break
|
|
|
|
case 'user':
|
|
|
|
case 'user':
|
|
|
|
allData['saleInitList'] = $data
|
|
|
|
allData['saleInitList'] = $data.result
|
|
|
|
allData['opInitList'] = $data
|
|
|
|
allData['opInitList'] = $data.result
|
|
|
|
allData['docInitList'] = $data
|
|
|
|
allData['docInitList'] = $data.result
|
|
|
|
allData['custserviceInitList'] = $data
|
|
|
|
allData['custserviceInitList'] = $data.result
|
|
|
|
allData['routeInitList'] = $data
|
|
|
|
allData['routeInitList'] = $data.result
|
|
|
|
break
|
|
|
|
break
|
|
|
|
case 'contractno':
|
|
|
|
case 'contractno':
|
|
|
|
allData['goodsnameInitList'] = $data // 这里返回的是品名
|
|
|
|
allData['contractnoInitList'] = $data
|
|
|
|
break
|
|
|
|
break
|
|
|
|
case 'customer':
|
|
|
|
case 'goodsName':
|
|
|
|
// 这里返回的数据应该为 委托单位,订舱代理,目前返回错误
|
|
|
|
allData['goodsnameInitList'] = $data
|
|
|
|
const customernameList = []
|
|
|
|
break
|
|
|
|
const forwarderList = []
|
|
|
|
case 'wtdw':
|
|
|
|
$data.map((customer, cindex) => {
|
|
|
|
allData['customernameInitList'] = $data
|
|
|
|
console.log(customer.propString.includes('customername'), customer.propString.includes('forwarder'))
|
|
|
|
break
|
|
|
|
if (customer.propString.includes('customername')) {
|
|
|
|
case 'service':
|
|
|
|
customernameList.push(customer)
|
|
|
|
allData['serviceInitList'] = $data
|
|
|
|
}
|
|
|
|
break
|
|
|
|
if (customer.propString.includes('forwarder')) {
|
|
|
|
case 'sTemplate':
|
|
|
|
forwarderList.push(customer)
|
|
|
|
allData['shippernameInitList'] = $data
|
|
|
|
}
|
|
|
|
break
|
|
|
|
})
|
|
|
|
case 'fTemplate':
|
|
|
|
allData['customernameInitList'] = customernameList
|
|
|
|
allData['consigneenameInitList'] = $data
|
|
|
|
allData['forwarderInitList'] = forwarderList
|
|
|
|
break
|
|
|
|
|
|
|
|
case 'tTemplate':
|
|
|
|
|
|
|
|
allData['notifypartynameInitList'] = $data
|
|
|
|
break
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|