|
|
@@ -1266,7 +1266,7 @@ import {regularFloating, regularInteger} from "@/util/regularJudgment";
|
|
|
},
|
|
|
// 添加跳转
|
|
|
addJump(name){
|
|
|
- let corpType = '1712285382575398914,1712285645314990082,1712285842321448962,1712286433378574338'
|
|
|
+ let corpTypeName = '国内直接客户,国内同行及代理,国外直接客户,国外同行及代理'
|
|
|
if (this.$store.getters.CorrespondenceUnitslos) {
|
|
|
this.$alert("往来单位已存在,请保存关闭再进行操作", "温馨提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
@@ -1281,7 +1281,7 @@ import {regularFloating, regularInteger} from "@/util/regularJudgment";
|
|
|
this.$router.push({
|
|
|
path: "/iosBasicData/bcorps/index",
|
|
|
query: {
|
|
|
- corpType:corpType
|
|
|
+ corpType:corpTypeName
|
|
|
},
|
|
|
})
|
|
|
},
|
|
|
@@ -1289,8 +1289,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,corpTypeName}).then(res=>{
|
|
|
this.hshipperData = res.data.data.records.map(item=>{
|
|
|
item.cnName = item.cnName + ' - ' + item.code
|
|
|
return item
|
|
|
@@ -1299,8 +1299,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,corpTypeName}).then(res=>{
|
|
|
this.hconsigneeData = res.data.data.records.map(item=>{
|
|
|
item.cnName = item.cnName + ' - ' + item.code
|
|
|
return item
|
|
|
@@ -1309,8 +1309,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,corpTypeName}).then(res=>{
|
|
|
this.hnotifyData = res.data.data.records.map(item=>{
|
|
|
item.cnName = item.cnName + ' - ' + item.code
|
|
|
return item
|
|
|
@@ -1356,8 +1356,8 @@ import {regularFloating, regularInteger} from "@/util/regularJudgment";
|
|
|
|
|
|
// 获取类别 COLOADER 数据
|
|
|
bcorpstypedefineListfun(cnName){
|
|
|
- let corpType = '1712285382575398914,1712285645314990082,1712285842321448962,1712286433378574338'
|
|
|
- getBcorpslistByType(1,10,{cnName,corpType}).then(res=>{
|
|
|
+ let corpTypeName = '国内直接客户,国内同行及代理,国外直接客户,国外同行及代理'
|
|
|
+ getBcorpslistByType(1,10,{cnName,corpTypeName}).then(res=>{
|
|
|
this.coloaderCnNameData = res.data.data.records.map(item=>{
|
|
|
item.cnName = item.cnName + ' - ' + item.code
|
|
|
return item
|
|
|
@@ -1378,8 +1378,8 @@ import {regularFloating, regularInteger} from "@/util/regularJudgment";
|
|
|
},
|
|
|
// 获取航空公司数据
|
|
|
carrierBcorpslistByTypefun(cnName){
|
|
|
- let corpType = '1712286570540703745'
|
|
|
- getBcorpslistByType(1,10,{cnName,corpType}).then(res=>{
|
|
|
+ let corpTypeName = '船公司'
|
|
|
+ getBcorpslistByType(1,10,{cnName,corpTypeName}).then(res=>{
|
|
|
this.carrierData = res.data.data.records.map(item=>{
|
|
|
item.cnName = item.cnName + ' - ' + item.code
|
|
|
return item
|
|
|
@@ -1397,8 +1397,8 @@ import {regularFloating, regularInteger} from "@/util/regularJudgment";
|
|
|
},
|
|
|
// 订舱代理
|
|
|
bookingAgentBcorpsListfun(cnName){
|
|
|
- let corpType = '1712285382575398914,1712285645314990082,1712285842321448962,1712286433378574338'
|
|
|
- getBcorpslistByType(1,10,{cnName,corpType}).then(res=>{
|
|
|
+ let corpTypeName = '国内直接客户,国内同行及代理,国外直接客户,国外同行及代理'
|
|
|
+ getBcorpslistByType(1,10,{cnName,corpTypeName}).then(res=>{
|
|
|
this.bookingAgentData = res.data.data.records
|
|
|
})
|
|
|
},
|