|
@@ -1149,8 +1149,8 @@ import {regularFloating, regularInteger} from "@/util/regularJudgment";
|
|
|
// 接口数据请求🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
|
|
|
// 获取发货人数据 (往来单位 前四个代理)
|
|
|
hshipperBcorpsListfun(cnName){
|
|
|
- let corpType = '1712285382575398914,1712285645314990082,1712285842321448962,1712286433378574338'
|
|
|
- getBcorpslistByType(1,10,{cnName,corpType}).then(res=>{
|
|
|
+ let corpTypeName = '国内直接客户,国内同行及代理,国外直接客户,国外同行及代理'
|
|
|
+ getBcorpslistByType(1,10,{cnName,status: 0,corpTypeName}).then(res=>{
|
|
|
this.hshipperData = res.data.data.records.map(item=>{
|
|
|
item.cnName = item.cnName + ' - ' + item.code
|
|
|
return item
|
|
@@ -1159,8 +1159,8 @@ import {regularFloating, regularInteger} from "@/util/regularJudgment";
|
|
|
},
|
|
|
// 获取收货人数据 (往来单位 前四个代理)
|
|
|
hconsigneeBcorpsListfun(cnName){
|
|
|
- let corpType = '1712285382575398914,1712285645314990082,1712285842321448962,1712286433378574338'
|
|
|
- getBcorpslistByType(1,10,{cnName,corpType}).then(res=>{
|
|
|
+ let corpTypeName = '国内直接客户,国内同行及代理,国外直接客户,国外同行及代理'
|
|
|
+ getBcorpslistByType(1,10,{cnName,status: 0,corpTypeName}).then(res=>{
|
|
|
this.hconsigneeData = res.data.data.records.map(item=>{
|
|
|
item.cnName = item.cnName + ' - ' + item.code
|
|
|
return item
|
|
@@ -1169,8 +1169,8 @@ import {regularFloating, regularInteger} from "@/util/regularJudgment";
|
|
|
},
|
|
|
// 获取通知人数据 (往来单位 前四个代理)
|
|
|
hnotifyBcorpsListfun(cnName){
|
|
|
- let corpType = '1712285382575398914,1712285645314990082,1712285842321448962,1712286433378574338'
|
|
|
- getBcorpslistByType(1,10,{cnName,corpType}).then(res=>{
|
|
|
+ let corpTypeName = '国内直接客户,国内同行及代理,国外直接客户,国外同行及代理'
|
|
|
+ getBcorpslistByType(1,10,{cnName,status: 0,corpTypeName}).then(res=>{
|
|
|
this.hnotifyData = res.data.data.records.map(item=>{
|
|
|
item.cnName = item.cnName + ' - ' + item.code
|
|
|
return item
|
|
@@ -1179,8 +1179,8 @@ import {regularFloating, regularInteger} from "@/util/regularJudgment";
|
|
|
},
|
|
|
// 获取第二通知人数据 (往来单位 前四个代理)
|
|
|
hnotify2BcorpsListfun(cnName){
|
|
|
- let corpType = '1712285382575398914,1712285645314990082,1712285842321448962,1712286433378574338'
|
|
|
- getBcorpslistByType(1,10,{cnName,corpType}).then(res=>{
|
|
|
+ let corpTypeName = '国内直接客户,国内同行及代理,国外直接客户,国外同行及代理'
|
|
|
+ getBcorpslistByType(1,10,{cnName,status: 0,corpTypeName}).then(res=>{
|
|
|
this.hnotify2Data = res.data.data.records.map(item=>{
|
|
|
item.cnName = item.cnName + ' - ' + item.code
|
|
|
return item
|
|
@@ -1189,7 +1189,7 @@ import {regularFloating, regularInteger} from "@/util/regularJudgment";
|
|
|
},
|
|
|
// 收货地数据 (港口表)
|
|
|
placeReceiptBportsListfun(enName){
|
|
|
- bportsList(1,10,{enName}).then(res=>{
|
|
|
+ bportsList(1,10,{enName,status: 0}).then(res=>{
|
|
|
this.placeReceiptData = res.data.data.records.map(item=>{
|
|
|
item.enName = item.enName + ' - ' + item.code
|
|
|
return item
|
|
@@ -1198,7 +1198,7 @@ import {regularFloating, regularInteger} from "@/util/regularJudgment";
|
|
|
},
|
|
|
// 装货港数据
|
|
|
polBportsListfun(enName){
|
|
|
- bportsList(1,10,{enName}).then(res=>{
|
|
|
+ bportsList(1,10,{enName,status: 0}).then(res=>{
|
|
|
this.polData = res.data.data.records.map(item=>{
|
|
|
item.enName = item.enName + ' - ' + item.code
|
|
|
return item
|
|
@@ -1207,7 +1207,7 @@ import {regularFloating, regularInteger} from "@/util/regularJudgment";
|
|
|
},
|
|
|
// 卸货港数据
|
|
|
podBportsListfun(enName){
|
|
|
- bportsList(1,10,{enName}).then(res=>{
|
|
|
+ bportsList(1,10,{enName,status: 0}).then(res=>{
|
|
|
this.podData = res.data.data.records.map(item=>{
|
|
|
item.enName = item.enName + ' - ' + item.code
|
|
|
return item
|
|
@@ -1216,7 +1216,7 @@ import {regularFloating, regularInteger} from "@/util/regularJudgment";
|
|
|
},
|
|
|
// 目的地
|
|
|
destinationBportsListfun(enName){
|
|
|
- bportsList(1,10,{enName}).then(res=>{
|
|
|
+ bportsList(1,10,{enName,status: 0}).then(res=>{
|
|
|
this.destinationData = res.data.data.records.map(item=>{
|
|
|
item.enName = item.enName + ' - ' + item.code
|
|
|
return item
|
|
@@ -1225,14 +1225,14 @@ import {regularFloating, regularInteger} from "@/util/regularJudgment";
|
|
|
},
|
|
|
// 包装数据
|
|
|
packingUnitBpackagesListfun(cnName) {
|
|
|
- bpackagesList(1,10,{cnName}).then(res=>{
|
|
|
+ bpackagesList(1,10,{cnName,status: 0}).then(res=>{
|
|
|
this.packingUnitData = res.data.data.records
|
|
|
})
|
|
|
},
|
|
|
// 获取船公司数据
|
|
|
carrierBcorpslistByTypefun(cnName){
|
|
|
- let corpType = '1712286570540703745'
|
|
|
- getBcorpslistByType(1,10,{cnName,corpType}).then(res=>{
|
|
|
+ let corpTypeName = '船公司'
|
|
|
+ getBcorpslistByType(1,10,{cnName,status: 0,corpTypeName}).then(res=>{
|
|
|
this.carrierData = res.data.data.records.map(item=>{
|
|
|
item.cnName = item.cnName + ' - ' + item.code
|
|
|
return item
|
|
@@ -1241,7 +1241,7 @@ import {regularFloating, regularInteger} from "@/util/regularJudgment";
|
|
|
},
|
|
|
// 船名
|
|
|
vesselBvesselsListfun(cnName){
|
|
|
- getBvesselsList(1,10,{cnName}).then(res=>{
|
|
|
+ getBvesselsList(1,10,{cnName,status: 0}).then(res=>{
|
|
|
this.vesselData = res.data.data.records.map(item=>{
|
|
|
item.cnName = item.cnName + ' - ' + item.code
|
|
|
return item
|
|
@@ -1250,7 +1250,7 @@ import {regularFloating, regularInteger} from "@/util/regularJudgment";
|
|
|
},
|
|
|
// 航线数据
|
|
|
lineBlinesListfun(cnName){
|
|
|
- blinesList(1,10,{cnName}).then(res=>{
|
|
|
+ blinesList(1,10,{cnName,status: 0}).then(res=>{
|
|
|
this.lineData = res.data.data.records
|
|
|
})
|
|
|
},
|