diff --git a/.env b/.env
index c84d1c6..33e92d4 100644
--- a/.env
+++ b/.env
@@ -1,9 +1,9 @@
NODE_ENV=production
VUE_APP_PREVIEW=true
# VUE_APP_TYPE = 'customer'
-VUE_APP_TYPE = 'hechuan'
+# VUE_APP_TYPE = 'hechuan'
# VUE_APP_TYPE = 'yunyingduan'
-# VUE_APP_TYPE = 'gangjie'
+VUE_APP_TYPE = 'gangjie'
# 打包部署的三个端 客户端customer 和川端hechuan 运营端djy
# 和川大简云正式
@@ -11,8 +11,8 @@ VUE_APP_TYPE = 'hechuan'
# VUE_APP_SOCKET_BASE_URL=http://47.104.85.216:12345
# 和川大简云测试
-VUE_APP_API_BASE_URL=http://60.209.125.238:35100
-VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35100
+# VUE_APP_API_BASE_URL=http://60.209.125.238:35100
+# VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35100
# 客户端测试
# VUE_APP_API_BASE_URL=http://60.209.125.238:30813
@@ -23,8 +23,8 @@ VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35100
# VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:30814
# 港捷
-# VUE_APP_API_BASE_URL=http://118.190.144.189:5001
-# VUE_APP_SOCKET_BASE_URL=http://118.190.144.189:5001
+VUE_APP_API_BASE_URL=http://118.190.144.189:5001
+VUE_APP_SOCKET_BASE_URL=http://118.190.144.189:5001
# 客户端正式
# VUE_APP_API_BASE_URL=http://118.190.144.189:6001
diff --git a/.env.development b/.env.development
index 7caaa7b..ed1d2a1 100644
--- a/.env.development
+++ b/.env.development
@@ -1,9 +1,9 @@
NODE_ENV=development
VUE_APP_PREVIEW=true
# VUE_APP_TYPE = 'customer'
-VUE_APP_TYPE = 'hechuan'
+# VUE_APP_TYPE = 'hechuan'
# VUE_APP_TYPE = 'yunyingduan'
-# VUE_APP_TYPE = 'gangjie'
+VUE_APP_TYPE = 'gangjie'
# 打包部署的三个端 客户端customer 和川端hechuan 运营端yunyingduan
# 和川大简云正式
@@ -11,8 +11,8 @@ VUE_APP_TYPE = 'hechuan'
# VUE_APP_SOCKET_BASE_URL=http://47.104.85.216:12345
# 和川大简云测试
-VUE_APP_API_BASE_URL=http://60.209.125.238:35100
-VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35100
+# VUE_APP_API_BASE_URL=http://60.209.125.238:35100
+# VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35100
# 客户端测试
# VUE_APP_API_BASE_URL=http://60.209.125.238:30813
@@ -26,8 +26,8 @@ VUE_APP_SOCKET_BASE_URL=http://60.209.125.238:35100
# VUE_APP_SOCKET_BASE_URL=http://192.168.0.80:7373/
# 港捷
-# VUE_APP_API_BASE_URL=http://118.190.144.189:5001
-# VUE_APP_SOCKET_BASE_URL=http://118.190.144.189:5001
+VUE_APP_API_BASE_URL=http://118.190.144.189:5001
+VUE_APP_SOCKET_BASE_URL=http://118.190.144.189:5001
# 运营端正式
# VUE_APP_API_BASE_URL=http://118.190.144.189:6002
diff --git a/src/layouts/BasicLayout.vue b/src/layouts/BasicLayout.vue
index 6fd29fc..1e62519 100644
--- a/src/layouts/BasicLayout.vue
+++ b/src/layouts/BasicLayout.vue
@@ -144,7 +144,8 @@ export default {
'setCodeCountryList',
'setdpTreeList',
'setStatusDict',
- 'setProjectDict'
+ 'setProjectDict',
+ 'setCopySet'
]),
// 重新生成
setMenus() {
@@ -183,6 +184,9 @@ export default {
this.setdpTreeList()
this.setStatusDict()
this.setProjectDict()
+ if (!localStorage.getItem('booking_form_copy')) {
+ this.setCopySet()
+ }
}
}
}
diff --git a/src/layouts/UserLayout.vue b/src/layouts/UserLayout.vue
index 93471c0..07e757a 100644
--- a/src/layouts/UserLayout.vue
+++ b/src/layouts/UserLayout.vue
@@ -58,6 +58,7 @@ export default {
background-color: #ffffff;
background-image: url('../assets/login.jpg');
background-attachment: fixed;
+ background-size: 100% 100%;
background-repeat: no-repeat;
background-position: top left;
padding: 110px 0 144px;
diff --git a/src/store/modules/booking.js b/src/store/modules/booking.js
index a474a8d..9ef9ad0 100644
--- a/src/store/modules/booking.js
+++ b/src/store/modules/booking.js
@@ -13,7 +13,7 @@ import {
GetEnableStatusDictTreeList,
GetEnableProjectDictTreeList
} from '@/api/modular/main/BookingLedger'
-
+import { DjyTenantConfigGet } from '@/api/modular/main/TenantConfig'
const booking = {
state: {
inBookingDetailsSave: false,
@@ -191,6 +191,15 @@ const booking = {
})
})
},
+ setCopySet() {
+ DjyTenantConfigGet({ Type: 'booking_form_copy' }).then(res => {
+ if (res.code == 200) {
+ if (res.data) {
+ localStorage.setItem('booking_form_copy', res.data.configJson)
+ }
+ }
+ })
+ },
setStatusDict({ commit }, obj) {
return new Promise(resolve => {
GetEnableStatusDictTreeList()
diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index 2beffde..129e94c 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -226,6 +226,9 @@ const user = {
Vue.ls.remove(DICT_TYPE_TREE_DATA)
Vue.ls.remove('FIRSTFLAG')
localStorage.removeItem('formTableData');
+ localStorage.removeItem('bookingSetting');
+ localStorage.removeItem('booking_form_copy');
+ localStorage.removeItem('vesselinfoSetting');
})
})
},
diff --git a/src/views/main/BookingGangjie/detail/index.vue b/src/views/main/BookingGangjie/detail/index.vue
index 357cf31..7759047 100644
--- a/src/views/main/BookingGangjie/detail/index.vue
+++ b/src/views/main/BookingGangjie/detail/index.vue
@@ -459,15 +459,12 @@ export default {
if (nVal == '1-1') {
document.querySelector('#tab1').checked = true
document.querySelector('#tab2').checked = false
- document.querySelector('#tab3').checked = false
}
if (nVal == '2-2') {
document.querySelector('#tab2').checked = true
document.querySelector('#tab1').checked = false
- document.querySelector('#tab3').checked = false
}
if (nVal == '3-3') {
- document.querySelector('#tab3').checked = true
document.querySelector('#tab1').checked = false
document.querySelector('#tab2').checked = false
}
@@ -872,22 +869,22 @@ export default {
})
}
if (this.isCopy && !$data.isCopy) {
+ const arr = localStorage.getItem('booking_form_copy') ? JSON.parse(localStorage.getItem('booking_form_copy')) : []
const copyData = {
- customername: $data.bookingDetails.customername,
- portloadid: $data.bookingDetails.portloadid,
- carrierid: $data.bookingDetails.carrierid,
- carrier: $data.bookingDetails.carrier,
- portload: $data.bookingDetails.portload,
- issueplace: $data.bookingDetails.issueplace,
- prepardat: $data.bookingDetails.prepardat,
- route: $data.bookingDetails.route,
- shippingMethod: $data.bookingDetails.shippingMethod,
- shipper: $data.bookingDetails.shipper,
- consignee: $data.bookingDetails.consignee,
- notifyparty: $data.bookingDetails.notifyparty,
- goodsStatus: $data.bookingDetails.goodsStatus,
- sale: $data.bookingDetails.sale
+ bookingEDIExt: {}
}
+ arr.forEach(item => {
+ if (item.includes('bookingEDIExt')) {
+ const str = item.replace('bookingEDIExt.', '')
+ copyData.bookingEDIExt[str] = $data.bookingDetails.bookingEDIExt[str]
+ } else {
+ copyData[item] = $data.bookingDetails[item]
+ }
+ })
+ if (arr.includes('ctnall')) {
+ copyData.ctnInputs = $data.bookingDetails.ctnInputs
+ }
+ console.log($data)
this.bookingDetails = { ...JSON.parse(JSON.stringify(initDetail)), ...copyData }
this.oldBookingDetails = JSON.parse(JSON.stringify(this.bookingDetails))
} else {
@@ -1312,18 +1309,20 @@ export default {
let newData = res.data
if (this.$route.query.isCopy && !overSet) {
delete res.data.id
+ const arr = localStorage.getItem('booking_form_copy') ? JSON.parse(localStorage.getItem('booking_form_copy')) : []
const copyData = {
- customername: res.data.customername,
- portloadid: res.data.portloadid,
- portload: res.data.portload,
- issueplace: res.data.issueplace,
- prepardat: res.data.prepardat,
- route: res.data.route,
- shippingMethod: res.data.shippingMethod,
- shipper: res.data.shipper,
- consignee: res.data.consignee,
- notifyparty: res.data.notifyparty,
- sale: res.data.sale
+ bookingEDIExt: {}
+ }
+ arr.forEach(item => {
+ if (item.includes('bookingEDIExt')) {
+ const str = item.replace('bookingEDIExt.', '')
+ copyData.bookingEDIExt[str] = res.data.bookingEDIExt[str]
+ } else {
+ copyData[item] = res.data[item]
+ }
+ })
+ if (arr.includes('ctnall')) {
+ copyData.ctnInputs = res.data.ctnInputs
}
newData = { ...JSON.parse(JSON.stringify(initDetail)), ...copyData }
}
diff --git a/src/views/main/CopyConfig/Data.json b/src/views/main/CopyConfig/Data.json
new file mode 100644
index 0000000..9221f6c
--- /dev/null
+++ b/src/views/main/CopyConfig/Data.json
@@ -0,0 +1,173 @@
+[
+ {
+ "title": "基本信息",
+ "children": [
+ { "name": "委托单位", "code": "customername","copyName":"customerid" },
+ { "code": "customerid","noShow":true },
+ { "name": "提单号", "code": "mblno" },
+ { "name": "船公司", "code": "carrierid","copyName":"carrier" },
+ { "code": "carrier","noShow":true },
+ { "name": "订舱代理", "code": "forwarder","copyName":"forwarderid" },
+ { "code": "forwarderid","noShow":true },
+ { "name": "PO NO", "code": "pono" },
+ { "name": "分提单号", "code": "hblno" },
+ { "name": "订舱编号", "code": "custno" },
+ { "name": "EP号", "code": "EPCode" },
+ { "name": "运费协议号", "code": "contractno" },
+ { "name": "真提单号", "code": "tmblno" },
+ { "name": "船名", "code": "vessel" },
+ { "name": "内部航次", "code": "voynoinner" },
+ { "name": "航次/海关航次", "code": "voyno" },
+ { "name": "开船日期", "code": "etd" },
+ { "name": "是否占舱", "code": "zhanCangFlag" },
+ { "name": "船司航线", "code": "lanename" },
+ { "name": "船代", "code": "shipagency","copyName":"shipagencyid" },
+ { "code": "shipagencyid","noShow":true },
+ { "name": "航线", "code": "lineName" },
+ { "name": "揽货人", "code": "sale","copyName":"saleid" },
+ { "code": "saleid","noShow":true },
+ { "name": "操作", "code": "op","copyName":"opid" },
+ { "code": "opid","noShow":true },
+ { "name": "单证", "code": "doc","copyName":"docid" },
+ { "code": "docid","noShow":true },
+ { "name": "客服", "code": "custservice","copyName":"custserviceid" },
+ { "code": "custserviceid","noShow":true },
+ { "name": "航线操作", "code": "route","copyName":"routeid" },
+ { "code": "routeid","noShow":true },
+ { "name": "航线管理", "code": "lineManage","copyName":"lineManageID" },
+ { "code": "lineManageID","noShow":true },
+ { "name": "单证备注", "code": "dzRemark" },
+ { "name": "操作备注", "code": "czRemark" }
+ ]
+ },
+ {
+ "title": "收发通信息",
+ "children": [
+ { "name": "发货人", "code": "shipper" },
+ { "name": "收货人", "code": "consignee" },
+ { "name": "通知人", "code": "notifyparty" },
+ { "name": "场站", "code": "yard","copyName":"yardid" },
+ { "code": "yardid","noShow":true },
+ { "name": "场站费自结", "code": "feeself" },
+ { "name": "报关行", "code": "customser","copyName":"customserid" },
+ { "code": "customserid","noShow":true },
+ { "name": "车队", "code": "trucker","copyName":"truckerid" },
+ { "code": "truckerid","noShow":true },
+ { "name": "国外代理", "code": "agentname","copyName":"agentid" },
+ { "code": "agentid","noShow":true },
+ { "name": "仓库", "code": "warehouse","copyName":"warehouseID" },
+ { "code": "warehouseID","noShow":true },
+ { "name": "装运方式", "code": "shippingMethod" },
+ { "name": "截港时间", "code": "closingdate" },
+ { "name": "截单时间", "code": "closedocdate" },
+ { "name": "VGM时间", "code": "closevgmdate" },
+ { "name": "收货地代码", "code": "placereceiptid" },
+ { "name": "收货地", "code": "placereceipt" },
+ { "name": "装货港代码", "code": "portloadid" },
+ { "name": "装货港", "code": "portload" },
+ { "name": "中转港代码", "code": "transportid" },
+ { "name": "中转港", "code": "transport" },
+ { "name": "卸货港代码", "code": "portdischargeid" },
+ { "name": "卸货港", "code": "portdischarge" },
+ { "name": "目的地代码", "code": "destinationid" },
+ { "name": "目的地", "code": "destination" },
+ { "name": "交货地代码", "code": "placedeliveryid" },
+ { "name": "交货地", "code": "placedelivery" },
+ { "name": "件数", "code": "pkgs" },
+ { "name": "包装", "code": "kindpkgs" },
+ { "name": "毛重", "code": "kgs" },
+ { "name": "尺寸", "code": "cbm" }
+ ]
+ },
+ {
+ "title": "货物信息",
+ "children": [
+ { "name": "Seal No.(封志号) Marks & Nos.(标记与号码)", "code": "marks" },
+ { "name": "Description of Goods(包装种类与货名)", "code": "description" },
+ { "name": "品名", "code": "goodsname","copyName":"goodscode" },
+ { "code": "goodscode","noShow":true },
+ { "name": "货物标志", "code": "cargoid" },
+ { "name": "HS编码", "code": "hscode" }
+ ]
+ },
+ {
+ "title": "签单信息",
+ "children": [
+ { "name": "签单方式", "code": "issuetype" },
+ { "name": "签单日期", "code": "issuedate" },
+ { "name": "签单地点", "code": "issueplace" },
+ { "name": "签单地代码", "code": "issueplaceid" },
+ { "name": "提单份数", "code": "nobill" },
+ { "name": "副本份数", "code": "copynobill" },
+ { "name": "预付地点", "code": "prepardat","copyName":"prepardatid" },
+ { "code": "prepardatid","noShow":true },
+ { "name": "到付地点", "code": "payableat","copyName":"payableatid" },
+ { "code": "payableatid","noShow":true },
+ { "name": "付费方式", "code": "blfrt" },
+ { "name": "第三付款地", "code": "thirdpayaddr" },
+ { "name": "运输条款", "code": "service" },
+ { "name": "冷藏通风量", "code": "reeferf" },
+ { "name": "设置温度", "code": "tempset" },
+ { "name": "温度单位", "code": "tempid" },
+ { "name": "最低温度", "code": "tempmin" },
+ { "name": "最高温度", "code": "tempmax" },
+ { "name": "湿度", "code": "humidity" },
+ { "name": "危险品等级", "code": "dclass" },
+ { "name": "危险品编号", "code": "dunno" },
+ { "name": "危险品页号", "code": "dpage" },
+ { "name": "危险品标签", "code": "dlabel" },
+ { "name": "危险品联系人", "code": "linkman" }
+ ]
+ },
+ {
+ "title": "备注信息",
+ "children": [
+ { "name": "订舱备注", "code": "soremark" },
+ { "name": "截单备注", "code": "siremark" }
+ ]
+ },
+ {
+ "title": "箱信息",
+ "children": [
+ { "name": "箱信息", "code": "ctnall" }
+ ]
+ },
+ {
+ "title": "EDI补充信息",
+ "children": [
+ { "name": "发送方EDI代码", "code": "bookingEDIExt.sendCode" },
+ { "name": "接收方EDI代码", "code": "bookingEDIExt.receiveCode" },
+ { "name": "EDI联系人名称", "code": "bookingEDIExt.ediAttn" },
+ { "name": "EDI联系人电话", "code": "bookingEDIExt.ediAttnTel" },
+ { "name": "EDI联系人邮箱", "code": "bookingEDIExt.ediAttnMail" },
+ { "name": "AMS收货人", "code": "bookingEDIExt.amsConsignee" },
+ { "name": "AMS通知人", "code": "bookingEDIExt.amsNotifyParty" },
+ { "name": "操作英文名称", "code": "bookingEDIExt.opEName" },
+ { "name": "操作电话", "code": "bookingEDIExt.opTel" },
+ { "name": "操作邮箱", "code": "bookingEDIExt.opEmail" },
+ { "name": "商品名称", "code": "bookingEDIExt.goodsName" },
+ { "name": "SOC箱", "code": "iscontainersoc" },
+ { "name": "SCAC代码", "code": "scaccode" },
+ { "name": "ITN编号", "code": "itncode" },
+ { "name": "订舱人说明", "code": "bookingEDIExt.orderRemark" },
+ { "name": "付款方", "code": "freightpayer" },
+ { "name": "第一层包装皮重", "code": "bookingEDIExt.kingTareweight" },
+ { "name": "委托方", "code": "bookingEDIExt.weiTuoFang" },
+ { "name": "辅助字段1", "code": "bookingEDIExt.exRemark1" },
+ { "name": "辅助字段2", "code": "bookingEDIExt.exRemark2" },
+ { "name": "辅助字段3", "code": "bookingEDIExt.exRemark3" },
+ { "name": "辅助字段4", "code": "bookingEDIExt.exRemark4" },
+ { "name": "收货人EDI代码", "code": "bookingEDIExt.consigneeEdiCode" },
+ { "name": "发货人EDI代码", "code": "bookingEDIExt.shipperEdiCode" },
+ { "name": "通知方EDI代码", "code": "bookingEDIExt.notifyCdoe" },
+ { "name": "太平销售EDI代码", "code": "bookingEDIExt.salerCode" },
+ { "name": "EMANIFEST HBL", "code": "bookingEDIExt.emanifestHbl" },
+ { "name": "Master Bol Indicator", "code": "bookingEDIExt.masterBolIndicator" },
+ { "name": "S0C C0C", "code": "bookingEDIExt.s0CC0C" },
+ { "name": "欧盟港口、伊朗港口、KHI", "code": "bookingEDIExt.ckhi" },
+ { "name": "南美东", "code": "bookingEDIExt.cncm" },
+ { "name": "巴西线木质包装情况", "code": "bookingEDIExt.wncm" },
+ { "name": "ACI HBL", "code": "bookingEDIExt.acihbl" }
+ ]
+ }
+]
diff --git a/src/views/main/CopyConfig/index.vue b/src/views/main/CopyConfig/index.vue
new file mode 100644
index 0000000..3d56d5c
--- /dev/null
+++ b/src/views/main/CopyConfig/index.vue
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+ 保存
+
+
+
+
+
+
+ {{ item.title }}
+
+
+ {{ item2.name }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/main/TenantConfig/addForm.vue b/src/views/main/TenantConfig/addForm.vue
deleted file mode 100644
index e183ebe..0000000
--- a/src/views/main/TenantConfig/addForm.vue
+++ /dev/null
@@ -1,139 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
- {{ item.title }}
-
-
- {{ item2.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/main/TenantConfig/editForm.vue b/src/views/main/TenantConfig/editForm.vue
deleted file mode 100644
index cbac779..0000000
--- a/src/views/main/TenantConfig/editForm.vue
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- {{ item.title }}
-
-
- {{ item2.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/main/TenantConfig/index_old.vue b/src/views/main/TenantConfig/index_old.vue
deleted file mode 100644
index 3feccdc..0000000
--- a/src/views/main/TenantConfig/index_old.vue
+++ /dev/null
@@ -1,203 +0,0 @@
-
-
-
-
-
-
-
- 新增配置
-
-
-
-
-
-
-
-
- {{ FnRtenant(row.tenantId) }}
-
-
-
-
- {{ FnRjson(row.configJson) }}
-
-
-
-
- 编辑
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/main/mskOrderList/index.vue b/src/views/main/mskOrderList/index.vue
index 95700ff..3c01d8a 100644
--- a/src/views/main/mskOrderList/index.vue
+++ b/src/views/main/mskOrderList/index.vue
@@ -163,7 +163,7 @@
height="600px"
empty-text="没有更多数据了!">
-
+