From 6f79610fea977978f269b3fb77bbcb8a65a181a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com> Date: Wed, 17 May 2023 10:21:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E4=B9=8B=E5=89=8D=20?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=20=E6=B2=A1=E6=9C=89=20=E6=8E=A5=E5=8F=97?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 + dist/css/app.67adac03.css | 1 + dist/css/app.77fe0bc9.css | 1 - dist/index.html | 2 +- dist/js/app.26647702.js | 2 + dist/js/app.26647702.js.map | 1 + dist/js/app.a3dc0e63.js | 2 - dist/js/app.a3dc0e63.js.map | 1 - src/views/index.vue | 98 ++++++++++++++++++++++++++++++------- 9 files changed, 86 insertions(+), 24 deletions(-) create mode 100644 dist/css/app.67adac03.css delete mode 100644 dist/css/app.77fe0bc9.css create mode 100644 dist/js/app.26647702.js create mode 100644 dist/js/app.26647702.js.map delete mode 100644 dist/js/app.a3dc0e63.js delete mode 100644 dist/js/app.a3dc0e63.js.map diff --git a/README.md b/README.md index e69de29..477c30c 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,2 @@ +/home/nginx-vue/content/jiefeng_dg +http://60.209.125.238:25810/ diff --git a/dist/css/app.67adac03.css b/dist/css/app.67adac03.css new file mode 100644 index 0000000..8f73dfa --- /dev/null +++ b/dist/css/app.67adac03.css @@ -0,0 +1 @@ +*{margin:0;padding:0;font-family:Arial,Helvetica,sans-serif}html{font-size:16px}body{background:#fff}.main{width:100%}[data-v-3d796b87] .HeaderCell{color:#dd5643;background:#ffefe7!important;border-top:2px solid #dd5643!important;border-bottom:1px solid #dd5643!important;border-left:1px solid #dd5643!important;border-right:1px solid #dd5643!important}[data-v-3d796b87] .HeaderCell:first-child{border-left:2px solid #dd5643!important}[data-v-3d796b87] .HeaderCell:last-child{border-right:3px solid #dd5643!important}[data-v-3d796b87] .Cellname{color:#dd5643;border-top:0 solid #dd5643!important;border-bottom:2px solid #dd5643!important;border-left:1px solid #dd5643!important;border-right:1px solid #dd5643!important}[data-v-3d796b87] .Cellname:first-child{border-left:2px solid #dd5643!important}[data-v-3d796b87] .Cellname:last-child{border-right:3px solid #dd5643!important}[data-v-3d796b87] .el-table__expanded-cell{border-left:2px solid #52a5fa!important;border-right:3px solid #52a5fa!important;padding:0}.main[data-v-3d796b87]{width:70%;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:30px;box-sizing:border-box}.main .CsTitle[data-v-3d796b87]{font-size:22px;font-weight:bolder;margin:30px 0}.main .CsHint[data-v-3d796b87]{color:red;font-weight:700;margin-bottom:30px}.main .CsTop[data-v-3d796b87]{border:2px solid #479ffa;margin-bottom:20px}.main .CsTop .CsTopBox3>P[data-v-3d796b87]{margin:0!important;padding-top:0}.main .CsTop .CsTopBox3>P[data-v-3d796b87]:first-child{margin-top:6px}.main .CsTop>div[data-v-3d796b87]:nth-child(){background:red}.main .CsTop div>p[data-v-3d796b87]{padding:6px;box-sizing:border-box;font-size:14px}.main .CsTop div>p[data-v-3d796b87]:first-child{font-weight:700}.main .CsTop div>p[data-v-3d796b87]:nth-child(2){padding-top:0}.main .CsButtonBox[data-v-3d796b87]{width:100%;display:flex;align-items:flex-start}.main .Csbottom[data-v-3d796b87]{margin-top:20px;border:2px solid #479ffa}.main .Csbottom>div:nth-child(2) .CsBox p[data-v-3d796b87]:first-child{margin:0}.main .Csbottom>div[data-v-3d796b87]:nth-child(3){padding:6px;box-sizing:border-box}.main .Csbottom>div:nth-child(3) p[data-v-3d796b87]{font-weight:700}.main .Csbottom>div:nth-child(3) p span[data-v-3d796b87]{font-weight:100;margin-left:16px}.flex[data-v-3d796b87]{display:flex}.flex>.F1[data-v-3d796b87]{flex:1}.flex>.F2[data-v-3d796b87]{flex:2.06}.CsBox[data-v-3d796b87]{padding:6px;box-sizing:border-box}.CsFCRed[data-v-3d796b87]{color:red}.CsFW[data-v-3d796b87]{font-weight:bolder}.CsMt[data-v-3d796b87]{margin-top:12px}.column[data-v-3d796b87]{flex-direction:column}.BL[data-v-3d796b87]{border-left:2px solid #479ffa}.BR[data-v-3d796b87]{border-right:2px solid #479ffa}.BT[data-v-3d796b87]{border-top:2px solid #479ffa}.BB[data-v-3d796b87]{border-bottom:2px solid #479ffa}.CsTableCheckbox[data-v-3d796b87]{width:100%;display:flex;align-items:center;border-bottom:2px solid #52a5fa!important;background:#f2f7fd}.CsTableCheckbox[data-v-3d796b87] .el-checkbox__input{margin:0 10px 0 1rem}.CsTableCheckbox[data-v-3d796b87] .el-checkbox__label{border-left:3px solid #fff;width:100%;padding-left:0!important}.CsTableCheckbox[data-v-3d796b87] .el-checkbox__label>div>div>div{padding:6px;box-sizing:border-box;border-left:3px solid #fff;border-bottom:3px solid #fff;overflow:hidden}.CsTableCheckbox[data-v-3d796b87] .el-checkbox__label>div>div>div:first-child{border-left:none}.CsTableCheckbox[data-v-3d796b87] .el-checkbox__label>div>div>div p{font-weight:700;margin-bottom:.5rem}.CsCheckboxButtonBox[data-v-3d796b87]{padding:10px;box-sizing:border-box;border-bottom:2px solid #52a5fa!important}.CsBottom[data-v-3d796b87]{width:100%;margin-top:16px}.CsBottom p[data-v-3d796b87]:first-child{font-weight:700}[data-v-3d796b87] .el-icon-arrow-right{font-weight:bolder;color:#dd5643}.RXing[data-v-3d796b87]{color:red;margin-right:2px}.Csone[data-v-3d796b87]{padding:6px!important} \ No newline at end of file diff --git a/dist/css/app.77fe0bc9.css b/dist/css/app.77fe0bc9.css deleted file mode 100644 index 2412f4e..0000000 --- a/dist/css/app.77fe0bc9.css +++ /dev/null @@ -1 +0,0 @@ -*{margin:0;padding:0;font-family:Arial,Helvetica,sans-serif}html{font-size:16px}body{background:#fff}.main{width:100%}[data-v-36647a20] .HeaderCell{color:#dd5643;background:#ffefe7!important;border-top:2px solid #dd5643!important;border-bottom:1px solid #dd5643!important;border-left:1px solid #dd5643!important;border-right:1px solid #dd5643!important}[data-v-36647a20] .HeaderCell:first-child{border-left:2px solid #dd5643!important}[data-v-36647a20] .HeaderCell:last-child{border-right:3px solid #dd5643!important}[data-v-36647a20] .Cellname{color:#dd5643;border-top:0 solid #dd5643!important;border-bottom:2px solid #dd5643!important;border-left:1px solid #dd5643!important;border-right:1px solid #dd5643!important}[data-v-36647a20] .Cellname:first-child{border-left:2px solid #dd5643!important}[data-v-36647a20] .Cellname:last-child{border-right:3px solid #dd5643!important}[data-v-36647a20] .el-table__expanded-cell{border-left:2px solid #52a5fa!important;border-right:3px solid #52a5fa!important;padding:0}.main[data-v-36647a20]{width:70%;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:30px;box-sizing:border-box}.main .CsTitle[data-v-36647a20]{font-size:22px;font-weight:bolder;margin:30px 0}.main .CsHint[data-v-36647a20]{color:red;font-weight:700;margin-bottom:30px}.main .CsTop[data-v-36647a20]{border:2px solid #479ffa;margin-bottom:20px}.main .CsTop .CsTopBox3>P[data-v-36647a20]{margin:0!important;padding-top:0}.main .CsTop .CsTopBox3>P[data-v-36647a20]:first-child{margin-top:6px}.main .CsTop>div[data-v-36647a20]:nth-child(){background:red}.main .CsTop div>p[data-v-36647a20]{padding:6px;box-sizing:border-box;font-size:14px}.main .CsTop div>p[data-v-36647a20]:first-child{font-weight:700}.main .CsTop div>p[data-v-36647a20]:nth-child(2){padding-top:0}.main .CsButtonBox[data-v-36647a20]{width:100%;display:flex;align-items:flex-start}.main .Csbottom[data-v-36647a20]{margin-top:20px;border:2px solid #479ffa}.main .Csbottom>div:nth-child(2) .CsBox p[data-v-36647a20]:first-child{margin:0}.main .Csbottom>div[data-v-36647a20]:nth-child(3){padding:6px;box-sizing:border-box}.main .Csbottom>div:nth-child(3) p[data-v-36647a20]{font-weight:700}.main .Csbottom>div:nth-child(3) p span[data-v-36647a20]{font-weight:100;margin-left:16px}.flex[data-v-36647a20]{display:flex}.flex>.F1[data-v-36647a20]{flex:1}.flex>.F2[data-v-36647a20]{flex:2.06}.CsBox[data-v-36647a20]{padding:6px;box-sizing:border-box}.CsFCRed[data-v-36647a20]{color:red}.CsFW[data-v-36647a20]{font-weight:bolder}.CsMt[data-v-36647a20]{margin-top:12px}.column[data-v-36647a20]{flex-direction:column}.BL[data-v-36647a20]{border-left:2px solid #479ffa}.BR[data-v-36647a20]{border-right:2px solid #479ffa}.BT[data-v-36647a20]{border-top:2px solid #479ffa}.BB[data-v-36647a20]{border-bottom:2px solid #479ffa}.CsTableCheckbox[data-v-36647a20]{width:100%;display:flex;align-items:center;border-bottom:2px solid #52a5fa!important;background:#f2f7fd}.CsTableCheckbox[data-v-36647a20] .el-checkbox__input{margin:0 10px 0 1rem}.CsTableCheckbox[data-v-36647a20] .el-checkbox__label{border-left:3px solid #fff;width:100%;padding-left:0!important}.CsTableCheckbox[data-v-36647a20] .el-checkbox__label>div>div>div{padding:6px;box-sizing:border-box;border-left:3px solid #fff;border-bottom:3px solid #fff;overflow:hidden}.CsTableCheckbox[data-v-36647a20] .el-checkbox__label>div>div>div:first-child{border-left:none}.CsTableCheckbox[data-v-36647a20] .el-checkbox__label>div>div>div p{font-weight:700;margin-bottom:.5rem}.CsCheckboxButtonBox[data-v-36647a20]{padding:10px;box-sizing:border-box;border-bottom:2px solid #52a5fa!important}.CsBottom[data-v-36647a20]{width:100%;margin-top:16px}.CsBottom p[data-v-36647a20]:first-child{font-weight:700}[data-v-36647a20] .el-icon-arrow-right{font-weight:bolder;color:#dd5643}.RXing[data-v-36647a20]{color:red;margin-right:2px}.Csone[data-v-36647a20]{padding:6px!important} \ No newline at end of file diff --git a/dist/index.html b/dist/index.html index e84b17b..5934b8e 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -vue
\ No newline at end of file +vue
\ No newline at end of file diff --git a/dist/js/app.26647702.js b/dist/js/app.26647702.js new file mode 100644 index 0000000..ce80bda --- /dev/null +++ b/dist/js/app.26647702.js @@ -0,0 +1,2 @@ +(function(){var e={3301:function(e,t,a){"use strict";var s=a(8641),i=function(){var e=this,t=e._self._c;return t("router-view")},l=[],n={name:"App"},o=n,r=a(2349),c=(0,r.Z)(o,i,l,!1,null,null,null),p=c.exports,u=a(7728),d=a.n(u),m=a(2298),h=a.n(m),v=a(7170),f=function(){var e=this,t=e._self._c;return t("div",{staticClass:"main"},[t("p",{staticClass:"CsTitle"},[e._v("MULTIMODAL DANGEROUS GOODS FORM")]),t("p",{staticClass:"CsHint"},[e._v(" This form may be used as a dangerous goods declaration as it meets the requirements of SOLAS 74, chapter VII, regulation 5; MARPOL 73/78,Annex III, regulation 4 and section 9 of the General Introduction to the IMDG Code. ")]),t("div",{staticClass:"CsTop flex column",style:{width:"100%"}},[t("div",{staticClass:"flex BB"},[t("div",{staticClass:"F1 BR"},[t("p",[e._v("1.Shipper")]),t("p",[e._v(" "+e._s(e.tableData.shipper)+" ")])]),t("div",{staticClass:"F1"},[t("div",{staticClass:"BB"},[t("p",[e._v("2.Transport document number")]),t("p",[e._v(e._s(e.tableData.transportNumber))])]),t("div",{staticClass:"flex BB"},[t("p",[e._v("3.Page of pages")]),t("p",{staticClass:"Csone"},[e._v("   "+e._s(e.tableData.pageOfPages))])]),t("div",{staticClass:"flex"},[t("div",{staticClass:"F1 BR"},[t("p",[e._v("4.Shipper's reference")]),t("p",[e._v(e._s(e.tableData.shipperReference))])]),t("div",{staticClass:"F1"},[t("p",[e._v("5.Freight forwarder's reference")]),t("p",[e._v(e._s(e.tableData.freightForwarderReference))])])])])]),t("div",{staticClass:"flex BB"},[t("div",{staticClass:"flex column F1 BR"},[t("div",{staticClass:"F1 BB"},[t("p",[e._v("6.Consignee")]),t("p",[e._v(" "+e._s(e.tableData.consignee)+" ")])]),t("div",{staticClass:"F1"},[t("p",[e._v("7.Carrier (to be completed by the carrier)")]),t("p",[e._v(e._s(e.tableData.carrier))])])]),t("div",{staticClass:"flex column F1"},[t("div",{staticClass:"flex BB"},[t("div",{staticClass:"F1 BR"},[t("p",[e._v("10.Vessel/flight no.and date")]),t("p",[e._v(e._s(e.tableData.vesselOrflightNoAndDate))])]),t("div",{staticClass:"F1"},[t("p",[e._v("11.Port/place of loading")]),t("p",[e._v(e._s(e.tableData.portPlaceOfLoading))])])]),t("div",{staticClass:"flex BB"},[t("div",{staticClass:"F1 BR"},[t("p",[e._v("12.Port/place of discharge")]),t("p",[e._v(e._s(e.tableData.portPlaceOfLoading))])]),t("div",{staticClass:"F1"},[t("p",[e._v("13.Destination")]),t("p",[e._v(e._s(e.tableData.destination))])])]),t("div",{staticClass:"F1"},[e._m(0),t("p",[e._v(" 24 hr Emergency contact person : "),t("el-input",{style:{width:"40%",margin:"0 0 5px 15px"},attrs:{placeholder:"请输入内容",size:"small"},model:{value:e.tableData.contactPerson,callback:function(t){e.$set(e.tableData,"contactPerson",t)},expression:"tableData.contactPerson"}}),t("br"),e._v(" 24 hr Emergency contact telephone: "),t("el-input",{style:{width:"40%"},attrs:{placeholder:"请输入内容",size:"small"},model:{value:e.tableData.contactTelephone,callback:function(t){e.$set(e.tableData,"contactTelephone",t)},expression:"tableData.contactTelephone"}}),t("br")],1)])])]),t("div",{staticClass:"CsTopBox3 BB"},[t("p",[e._v("SHIPPER'S DECLARATION")]),t("p",[e._v(" "+e._s(e.tableData.shipperdeclaration)+" ")]),t("p",{staticClass:"CsFCRed"},[e._v(" 8.This shipment is within the limitations prescribed for: (Delete non-applicable) ")])]),t("div",[t("p",[e._v(" 14.Shipment information Number and kind of packages; description of goods ( *see bottom) ")]),t("p",[e._v(e._s(e.tableData.descriptionOfGoods))])])]),t("el-table",{ref:"tableRef",staticStyle:{width:"100%"},attrs:{data:e.tableData.jFSubDtos,border:"","header-cell-class-name":"HeaderCell","header-row-class-name":"HeaderRow","cell-class-name":"Cellname","row-class-name":"Rowname"}},[t("el-table-column",{attrs:{type:"selection",align:"center"}}),t("el-table-column",{attrs:{type:"expand"},scopedSlots:e._u([{key:"default",fn:function(a){return[e._l(a.row.gson,(function(a,s){return t("el-checkbox",{key:s,staticClass:"CsTableCheckbox",model:{value:a.CheckboxType,callback:function(t){e.$set(a,"CheckboxType",t)},expression:"item.CheckboxType"}},[t("div",{staticClass:"flex column"},[t("div",{staticClass:"flex"},[t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("UN No")]),t("el-select",{style:{width:"90%"},attrs:{placeholder:"UN No",filterable:"",remote:"","reserve-keyword":"","remote-method":e.UNNOremoteMethod,loading:e.UNNOloading},on:{change:t=>{e.FnChangeUNNO(t,a)}},model:{value:a.unno,callback:function(t){e.$set(a,"unno",t)},expression:"item.unno"}},e._l(e.UNNOData,(function(e){return t("el-option",{key:e.id,attrs:{label:e.unno,value:e.unno}})})),1)],1),t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Imo Class(Sub risk)")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Imo Class(Sub risk)"},on:{input:t=>{e.FnChangeimoClass(t,a)}},model:{value:a.imoClass,callback:function(t){e.$set(a,"imoClass",t)},expression:"item.imoClass"}})],1),t("div",{staticClass:"F1"},[t("p",[e._v("Sub Risk1")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Sub Risk1"},model:{value:a.subrisk1,callback:function(t){e.$set(a,"subrisk1",t)},expression:"item.subrisk1"}})],1),t("div",{staticClass:"F1"},[t("p",[e._v("Sub Risk2")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Sub Risk2"},model:{value:a.subrisk2,callback:function(t){e.$set(a,"subrisk2",t)},expression:"item.subrisk2"}})],1)]),t("div",{staticClass:"flex"},[t("div",{staticClass:"F2"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Proper Shipping Name")]),t("el-input",{style:{width:"95%"},attrs:{placeholder:"Proper Shipping Name"},model:{value:a.properShippingName,callback:function(t){e.$set(a,"properShippingName",t)},expression:"item.properShippingName"}})],1),t("div",{staticClass:"F2"},[t("p",[t("span",{directives:[{name:"show",rawName:"v-show",value:a.technicalNameType,expression:"item.technicalNameType"}],staticClass:"RXing"},[e._v("*")]),e._v(" Technical Name (if have) ")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Technical Name (if have)"},model:{value:a.technicalName,callback:function(t){e.$set(a,"technicalName",t)},expression:"item.technicalName"}})],1)]),t("div",{staticClass:"flex"},[t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Packing Group")]),t("el-select",{style:{width:"90%"},attrs:{placeholder:"Packing Group"},model:{value:a.packingGroup,callback:function(t){e.$set(a,"packingGroup",t)},expression:"item.packingGroup"}},[t("el-option",{attrs:{label:"Ⅰ",value:"1"}}),t("el-option",{attrs:{label:"Ⅱ",value:"2"}}),t("el-option",{attrs:{label:"Ⅲ",value:"3"}})],1)],1),t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("EMS")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"EMS"},model:{value:a.ems,callback:function(t){e.$set(a,"ems",t)},expression:"item.ems"}})],1),t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Packing Code")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Packing Code"},model:{value:a.packingCode,callback:function(t){e.$set(a,"packingCode",t)},expression:"item.packingCode"}})],1),t("div",{staticClass:"F1"})]),t("div",{staticClass:"flex"},[t("div",{staticClass:"F1"},[t("p",[e._v("Flash Point (if have )")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Flash Point (if have )"},on:{blur:t=>{e.FnBlurFlashPoint(t,a)}},model:{value:a.flashPoint,callback:function(t){e.$set(a,"flashPoint",t)},expression:"item.flashPoint"}},[t("template",{slot:"append"},[e._v("℃")])],2)],1),t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Marine Pollutant(p or no)")]),t("el-select",{style:{width:"90%"},attrs:{placeholder:"Marine Pollutant(p or no)"},model:{value:a.marinePollutant,callback:function(t){e.$set(a,"marinePollutant",t)},expression:"item.marinePollutant"}},[t("el-option",{attrs:{label:"P",value:"P"}}),t("el-option",{attrs:{label:"N",value:"N"}})],1)],1),t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Package Quantity")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Package Quantity "},model:{value:a.packageQuantity,callback:function(t){e.$set(a,"packageQuantity",t)},expression:"item.packageQuantity"}})],1),t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Package Type")]),t("el-select",{style:{width:"90%"},attrs:{placeholder:"Package Type "},model:{value:a.packageType,callback:function(t){e.$set(a,"packageType",t)},expression:"item.packageType"}},e._l(e.JFPackageData,(function(e){return t("el-option",{key:e.code,attrs:{label:e.value,value:e.code}})})),1)],1)]),t("div",{staticClass:"flex"},[t("div",{staticClass:"F1"},[t("p",[e._v("Inner Package")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Inner Package Type"},model:{value:a.innerPackage,callback:function(t){e.$set(a,"innerPackage",t)},expression:"item.innerPackage"}})],1),t("div",{staticClass:"F1"},[t("p",[e._v("Inner Package Type")]),t("el-select",{style:{width:"90%"},attrs:{placeholder:"Inner Package"},model:{value:a.innerPackageType,callback:function(t){e.$set(a,"innerPackageType",t)},expression:"item.innerPackageType"}},[t("el-option",{attrs:{label:"PLASTICS INNER PACKAGINGS",value:"PLASTICS INNER PACKAGINGS"}}),t("el-option",{attrs:{label:"PAPER INNER PACKAGINGS",value:"PAPER INNER PACKAGINGS"}}),t("el-option",{attrs:{label:"METAL INNER PACKAGINGS",value:"METAL INNER PACKAGINGS"}}),t("el-option",{attrs:{label:"GLASS INNER PACKAGINGS",value:"GLASS INNER PACKAGINGS"}})],1)],1),t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Gross Weight")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Gross Weight "},model:{value:a.grossWeight,callback:function(t){e.$set(a,"grossWeight",t)},expression:"item.grossWeight"}},[t("template",{slot:"append"},[e._v("KGS")])],2)],1),t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Net Weight")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Net Weight "},model:{value:a.netWeight,callback:function(t){e.$set(a,"netWeight",t)},expression:"item.netWeight"}},[t("template",{slot:"append"},[e._v("KGS")])],2)],1)]),t("div",{staticClass:"flex"},[t("div",{staticClass:"F1"},[t("p",[e._v("NA number")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"美国货,按需填写"},model:{value:a.naNumber,callback:function(t){e.$set(a,"naNumber",t)},expression:"item.naNumber"}})],1),t("div",{staticClass:"F1"},[t("p",[e._v(" Reportable/Excepted/Limited Quantify "),t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"美国RQs是指有害物质释放到环境中,对公众健康或环境造成重大危害的数量。根据CERCLA,当数量达到或超过规定的RQs时,必须通知联邦政府",placement:"top"}},[t("i",{staticClass:"el-icon-question"})])],1),t("el-select",{style:{width:"90%"},attrs:{placeholder:"美国RQs/可免除量/限量三选一"},model:{value:a.limitedQuantity,callback:function(t){e.$set(a,"limitedQuantity",t)},expression:"item.limitedQuantity"}},[t("el-option",{attrs:{label:"Reportable",value:"Reportable"}}),t("el-option",{attrs:{label:"Excepted",value:"Excepted"}}),t("el-option",{attrs:{label:"Limited",value:"Limited"}})],1)],1),t("div",{staticClass:"F1"},[t("p",[a.Limittype?t("span",{staticClass:"RXing"},[e._v("*")]):e._e(),e._v(" Control Temperature ")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"控制温度,特定UN填写"},model:{value:a.controlTemperature,callback:function(t){e.$set(a,"controlTemperature",t)},expression:"item.controlTemperature"}})],1),t("div",{staticClass:"F1"},[t("p",[a.Limittype?t("span",{staticClass:"RXing"},[e._v("*")]):e._e(),e._v(" Emergency Temperature ")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"紧急温度,特定UN填写"},model:{value:a.emergencyTemperature,callback:function(t){e.$set(a,"emergencyTemperature",t)},expression:"item.emergencyTemperature"}})],1)]),t("div",{staticClass:"flex"},[t("div",{staticClass:"F2"},[t("p",[e._v("UNNO suffix/Sequence")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"UNNO suffix/Sequence"},model:{value:a.unnoSufficSequence,callback:function(t){e.$set(a,"unnoSufficSequence",t)},expression:"item.unnoSufficSequence"}})],1),t("div",{staticClass:"F2"},[t("p",[e._v("IMDG Code Segregation Group")]),t("el-select",{style:{width:"90%"},attrs:{placeholder:"货物有隔离性需要选择"},model:{value:a.imdgCodeSegregationGroup,callback:function(t){e.$set(a,"imdgCodeSegregationGroup",t)},expression:"item.imdgCodeSegregationGroup"}},e._l(e.JFImdgData,(function(e){return t("el-option",{key:e.code,attrs:{label:e.value,value:e.code}})})),1)],1)])])])})),t("div",{staticClass:"CsCheckboxButtonBox"},[t("el-button",{attrs:{icon:"el-icon-document-copy",type:"primary",size:"mini"},on:{click:function(t){return e.FnCopyCheckbox(a.row)}}},[e._v(" 复制新增 ")]),t("el-button",{attrs:{icon:"el-icon-plus",type:"primary",size:"mini"},on:{click:function(t){return e.FnAddCheckbox(a.row)}}},[e._v(" 新增 ")]),t("el-button",{attrs:{icon:"el-icon-delete",type:"primary",size:"mini",plain:""},on:{click:function(t){return e.FnDelCheckbox(a.row)}}},[e._v(" 删除 ")])],1)]}}])}),t("el-table-column",{attrs:{prop:"containerNumber",label:"15.Container number",width:"180"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-input",{attrs:{placeholder:"Container number"},model:{value:a.row.containerNumber,callback:function(t){e.$set(a.row,"containerNumber",t)},expression:"scope.row.containerNumber"}})]}}])}),t("el-table-column",{attrs:{prop:"sealNumber",label:"16.Seal number(s)",width:"180"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-input",{attrs:{placeholder:"Seal number(s)"},model:{value:a.row.sealNumber,callback:function(t){e.$set(a.row,"sealNumber",t)},expression:"scope.row.sealNumber"}})]}}])}),t("el-table-column",{attrs:{prop:"containerSize",label:"17.Container Size & type"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-input",{attrs:{placeholder:"Container Size & type"},model:{value:a.row.containerSize,callback:function(t){e.$set(a.row,"containerSize",t)},expression:"scope.row.containerSize"}})]}}])}),t("el-table-column",{attrs:{prop:"tareMass",label:"18.Tare mass(kg)"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-input",{attrs:{placeholder:"Tare mass(kg)"},model:{value:a.row.tareMass,callback:function(t){e.$set(a.row,"tareMass",t)},expression:"scope.row.tareMass"}})]}}])})],1),t("div",{staticClass:"CsButtonBox"},[t("el-button",{attrs:{icon:"el-icon-document-copy",type:"text"},on:{click:e.FnCopyRow}},[e._v(" 复制添加一行 ")]),t("el-button",{attrs:{icon:"el-icon-plus",type:"text"},on:{click:e.FnAddRow}},[e._v(" 添加一行 ")]),t("el-button",{attrs:{icon:"el-icon-delete",type:"text"},on:{click:e.FnDelRow}},[e._v(" 删除一行 ")]),t("el-button",{attrs:{icon:"el-icon-upload",type:"text"},on:{click:e.FnSaveDRow}},[e._v(" 保存 ")])],1),t("div",{staticClass:"Csbottom flex column",style:{width:"100%"}},[t("div",{staticClass:"flex BB"},[t("div",{staticClass:"F1 CsBox BR CsFCRed"},[t("p",{staticClass:"CsFW"},[e._v("CONTAINER/VEHICLE PACKING CERTIFICATE")]),t("p",[e._v(" "+e._s(e.tableData.packingcertificate)+" ")])]),t("div",{staticClass:"F1 CsBox CsFCRed"},[t("p",{staticClass:"CsFW"},[e._v("21.RECEIVING ORGANIZATION RECEIPT")]),t("p",[e._v(" "+e._s(e.tableData.organizationreceipt)+" ")])])]),t("div",{staticClass:"flex"},[t("div",{staticClass:"F1 CsBox BR"},[t("p",{staticClass:"CsFW"},[e._v("20.Name of company")]),t("p",[e._v(e._s(e.tableData.nameOfCompany))]),t("p",{staticClass:"CsFW CsMt"},[e._v("Name/status of declarant")]),t("p",[e._v(" "+e._s(e.tableData.nameStatusDeclarant)+" ")]),t("p",{staticClass:"CsFW CsMt"},[e._v("Place and date")]),t("p",[e._v(e._s(e.tableData.placeDate))]),t("p",{staticClass:"CsFW CsMt"},[e._v("Signature of declarant")]),t("p",{staticClass:"CsFW"},[e._v(e._s(e.tableData.signatureDeclarant))])]),t("div",{staticClass:"F1 CsBox"},[t("p",{staticClass:"CsFW"},[e._v("22.Name of company")]),t("p",[e._v(e._s(e.tableData.nameOfCompany))]),t("p",{staticClass:"CsFW CsMt"},[e._v("Name/status of declarant")]),t("p",[e._v(" "+e._s(e.tableData.nameStatusDeclarant)+" ")]),t("p",{staticClass:"CsFW CsMt"},[e._v("Place and date")]),t("p",[e._v(e._s(e.tableData.placeDate))]),t("p",{staticClass:"CsFW CsMt"},[e._v("Signature of declarant")]),t("p",{staticClass:"CsFW"},[e._v(" "+e._s(e.tableData.signatureDeclarant))])])])]),e._m(1)],1)},b=[function(){var e=this,t=e._self._c;return t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v(" 9.Additional handling information ")])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"CsBottom"},[t("p",[e._v("* DANGEROUS GOODS:")]),t("p",[e._v(" You must specify: UN No., proper shipping name/correct technical name, IMO hazard class (subrisk), Packaging group (where assigned), Marine ")])])}],C=(a(7883),({data:e})=>{const t="/api",a=d().create({baseURL:t,timeout:6e4});return a.interceptors.response.use((e=>e),(e=>((0,m.Message)({showClose:!0,message:e,type:"warning",duration:0}),e))),a(e)});a(397);const g=e=>C({data:{url:"/api/JF/Info",method:"get",params:e}}),_=e=>C({data:{url:"/api/JF/SaveDetail",method:"POST",data:e}}),k=e=>C({data:{url:"/api/JF/JFImdg",method:"get",params:e}}),N=e=>C({data:{url:"/api/JF/JFPackage",method:"get",params:e}}),y=e=>C({data:{url:"/api/JF/JFUNNO/1/9999",method:"get",params:e}}),F=e=>C({data:{url:"/api/JF/JFUNNOLimit",method:"get",params:e}});var S={name:"ViewIndex",data(){return{tableData:{pageOfPages:"1-1",jFSubDtos:[{containerNumber:"",sealNumber:"",containerSize:"",tareMass:"",gson:[{unnoSufficSequence:"",imoClass:"",subrisk1:"",subrisk2:"",properShippingName:"",packingGroup:"",ems:"",marinePollutant:"",flashPoint:"",technicalName:"",technicalNameType:!1,Limittype:!1}]}]},JFImdgData:[],JFPackageData:[],UNNOData:[],JFUNNOLimitData:[],UNNOloading:!1}},mounted(){let e=this.$route.query.gid;e&&g({gid:e}).then((e=>{0==e.data.status&&e.data.rows.jFSubDtos&&(e.data.rows.jFSubDtos.forEach((e=>{e.gson.forEach((e=>{e.Limittype=!1}))})),this.tableData=e.data.rows)})),this.Init()},methods:{FnBlurFlashPoint(e,t){let a=e.target.value,s=!(a>0);if(a=Math.abs(a).toString(),2==a.split(".").length){let e=0;e=a.split(".")[0].length+a.split(".")[1].length,2==e&&(t.flashPoint=`0${a.split(".")[0]}.${a.split(".")[1]}`)}else{switch(a.length){case 1:a=`00${a}`;break;case 2:a=`0${a}`;break;default:break}t.flashPoint=a}s&&(t.flashPoint=`-${t.flashPoint}`)},FnChangeUNNO(e,t){this.UNNOData.forEach((a=>{a.unno==e&&(t.unnoSufficSequence=a.suffix,t.imoClass=a.imO_CLASS,t.subrisk1=a.suB_HAZARD1,t.subrisk2=a.suB_HAZARD2,t.properShippingName=a.propeR_SHIPPING_NAME,t.packingGroup=a.packinG_GROUP,t.ems=a.ems,t.marinePollutant=a.marinE_POLLUTANT,t.flashPoint=a.flasH_POINT,"*"==a.technicaL_NAME?t.technicalNameType=!0:t.technicalNameType=!1)})),this.FnCheckData(t)},FnChangeimoClass(e,t){console.log("???"),this.FnCheckData(t)},FnCheckData(e){console.log(e);let t=!0;this.JFUNNOLimitData.forEach((a=>{a.unno==e.unno&&a.class==e.imoClass&&(console.log(a),t=!1)})),e.Limittype=!t},UNNOremoteMethod(e){""!==e?(this.UNNOloading=!0,y({UNNO:e}).then((t=>{this.UNNOloading=!1,this.UNNOData=t.data.rows.items.filter((t=>t.unno.toLowerCase().indexOf(e.toLowerCase())>-1))}))):this.UNNOData=[]},Init(){k().then((e=>{this.JFImdgData=e.data.rows})),N().then((e=>{this.JFPackageData=e.data.rows})),F().then((e=>{this.JFUNNOLimitData=e.data.rows}))},FnAddCheckbox(e){e.gson.push({unnoSufficSequence:"",imoClass:"",subrisk1:"",subrisk2:"",properShippingName:"",packingGroup:"",ems:"",marinePollutant:"",flashPoint:"",technicalName:"",technicalNameType:!1,Limittype:!1})},FnDelCheckbox(e){e.gson.forEach(((t,a)=>{t.CheckboxType&&e.gson.splice(a,1)}))},FnCopyCheckbox(e){e.gson.forEach(((t,a)=>{t.CheckboxType&&(t.CheckboxType=!1,e.gson.push(t))}))},FnSaveDRow(){let e=!0,t=["unno","imoClass","properShippingName","packingGroup","ems","packingCode","marinePollutant","packageQuantity","packageType","grossWeight","netWeight"];this.tableData.jFSubDtos.forEach((a=>{a.pid=this.$route.query.gid,a.gson.forEach((a=>{let s=[];s=a.Limittype?[...t,"controlTemperature","emergencyTemperature"]:t,a.technicalNameType&&(s=[...s,"technicalName"]),s.forEach((t=>{a[t]||(e=!1)}))}))}));let a=["contactTelephone","contactPerson"];a.forEach((t=>{this.tableData[t]||(e=!1)})),e?_(this.tableData.jFSubDtos).then((e=>{this.$message({message:"保存"+(0==e.data.status?"成功":"失败"),type:0==e.data.status?"success":"warning"})})):this.$message({message:"请补全必填项",type:"warning"})},FnAddRow(){this.tableData.jFSubDtos.push({gson:[{unnoSufficSequence:"",imoClass:"",subrisk1:"",subrisk2:"",properShippingName:"",packingGroup:"",ems:"",marinePollutant:"",flashPoint:"",technicalName:"",Limittype:!0}]})},FnDelRow(){this.$refs.tableRef.selection.forEach((e=>{this.tableData.jFSubDtos.forEach(((t,a)=>{e.gId==t.gId&&this.tableData.jFSubDtos.splice(a,1)}))}))},FnCopyRow(){this.$refs.tableRef.selection.forEach((e=>{this.tableData.jFSubDtos.forEach(((t,a)=>{if(e.gId==t.gId){let{containerNumber:e,sealNumber:a,containerSize:s,tareMass:i,gson:l}=t;this.tableData.jFSubDtos.push({containerNumber:e,sealNumber:a,containerSize:s,tareMass:i,gson:l})}}))}))},FnTableClick(e,t,a,s){e[`Web_${t.property}_type`]=!0},FnTableCheckboxClick(e,t){e[`Web_${t}_type`]=!0},FnTableInputBlur(e,t){e[`Web_${t}_type`]=!1},FnTableCheckboxInputBlur(e,t){e[`Web_${t}_type`]=!1}}},x=S,P=(0,r.Z)(x,f,b,!1,null,"3d796b87",null),D=P.exports;const w=[{path:"/",component:D},{path:"*",redirect:"/"}];s["default"].use(v.ZP),s["default"].use(h()),s["default"].config.productionTip=!1,s["default"].prototype.$axios=d();const R=new v.ZP({routes:w,mode:"hash"});new s["default"]({router:R,render:e=>e(p)}).$mount("#app")},46:function(){}},t={};function a(s){var i=t[s];if(void 0!==i)return i.exports;var l=t[s]={exports:{}};return e[s](l,l.exports,a),l.exports}a.m=e,function(){var e=[];a.O=function(t,s,i,l){if(!s){var n=1/0;for(p=0;p=l)&&Object.keys(a.O).every((function(e){return a.O[e](s[r])}))?s.splice(r--,1):(o=!1,l0&&e[p-1][2]>l;p--)e[p]=e[p-1];e[p]=[s,i,l]}}(),function(){a.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return a.d(t,{a:t}),t}}(),function(){a.d=function(e,t){for(var s in t)a.o(t,s)&&!a.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}}(),function(){a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){var e={143:0};a.O.j=function(t){return 0===e[t]};var t=function(t,s){var i,l,n=s[0],o=s[1],r=s[2],c=0;if(n.some((function(t){return 0!==e[t]}))){for(i in o)a.o(o,i)&&(a.m[i]=o[i]);if(r)var p=r(a)}for(t&&t(s);c\r\n \r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!../node_modules/_babel-loader@8.2.5@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/_vue-loader@15.10.0@vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!../node_modules/_babel-loader@8.2.5@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/_vue-loader@15.10.0@vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=7adf69d7&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=7adf69d7&prod&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/_vue-loader@15.10.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"main\"},[_c('p',{staticClass:\"CsTitle\"},[_vm._v(\"MULTIMODAL DANGEROUS GOODS FORM\")]),_c('p',{staticClass:\"CsHint\"},[_vm._v(\" This form may be used as a dangerous goods declaration as it meets the requirements of SOLAS 74, chapter VII, regulation 5; MARPOL 73/78,Annex III, regulation 4 and section 9 of the General Introduction to the IMDG Code. \")]),_c('div',{staticClass:\"CsTop flex column\",style:({ width: '100%' })},[_c('div',{staticClass:\"flex BB\"},[_c('div',{staticClass:\"F1 BR\"},[_c('p',[_vm._v(\"1.Shipper\")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.tableData.shipper)+\" \")])]),_c('div',{staticClass:\"F1\"},[_c('div',{staticClass:\"BB\"},[_c('p',[_vm._v(\"2.Transport document number\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.transportNumber))])]),_c('div',{staticClass:\"flex BB\"},[_c('p',[_vm._v(\"3.Page of pages\")]),_c('p',{staticClass:\"Csone\"},[_vm._v(\"   \"+_vm._s(_vm.tableData.pageOfPages))])]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F1 BR\"},[_c('p',[_vm._v(\"4.Shipper's reference\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.shipperReference))])]),_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"5.Freight forwarder's reference\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.freightForwarderReference))])])])])]),_c('div',{staticClass:\"flex BB\"},[_c('div',{staticClass:\"flex column F1 BR\"},[_c('div',{staticClass:\"F1 BB\"},[_c('p',[_vm._v(\"6.Consignee\")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.tableData.consignee)+\" \")])]),_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"7.Carrier (to be completed by the carrier)\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.carrier))])])]),_c('div',{staticClass:\"flex column F1\"},[_c('div',{staticClass:\"flex BB\"},[_c('div',{staticClass:\"F1 BR\"},[_c('p',[_vm._v(\"10.Vessel/flight no.and date\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.vesselOrflightNoAndDate))])]),_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"11.Port/place of loading\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.portPlaceOfLoading))])])]),_c('div',{staticClass:\"flex BB\"},[_c('div',{staticClass:\"F1 BR\"},[_c('p',[_vm._v(\"12.Port/place of discharge\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.portPlaceOfLoading))])]),_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"13.Destination\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.destination))])])]),_c('div',{staticClass:\"F1\"},[_vm._m(0),_c('p',[_vm._v(\" 24 hr Emergency contact person : \"),_c('el-input',{style:({ width: '40%', margin: '0 0 5px 15px' }),attrs:{\"placeholder\":\"请输入内容\",\"size\":\"small\"},model:{value:(_vm.tableData.contactPerson),callback:function ($$v) {_vm.$set(_vm.tableData, \"contactPerson\", $$v)},expression:\"tableData.contactPerson\"}}),_c('br'),_vm._v(\" 24 hr Emergency contact telephone: \"),_c('el-input',{style:({ width: '40%' }),attrs:{\"placeholder\":\"请输入内容\",\"size\":\"small\"},model:{value:(_vm.tableData.contactTelephone),callback:function ($$v) {_vm.$set(_vm.tableData, \"contactTelephone\", $$v)},expression:\"tableData.contactTelephone\"}}),_c('br')],1)])])]),_c('div',{staticClass:\"CsTopBox3 BB\"},[_c('p',[_vm._v(\"SHIPPER'S DECLARATION\")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.tableData.shipperdeclaration)+\" \")]),_c('p',{staticClass:\"CsFCRed\"},[_vm._v(\" 8.This shipment is within the limitations prescribed for: (Delete non-applicable) \")])]),_c('div',[_c('p',[_vm._v(\" 14.Shipment information Number and kind of packages; description of goods ( *see bottom) \")]),_c('p',[_vm._v(_vm._s(_vm.tableData.descriptionOfGoods))])])]),_c('el-table',{ref:\"tableRef\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData.jFSubDtos,\"border\":\"\",\"header-cell-class-name\":\"HeaderCell\",\"header-row-class-name\":\"HeaderRow\",\"cell-class-name\":\"Cellname\",\"row-class-name\":\"Rowname\"}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"align\":\"center\"}}),_c('el-table-column',{attrs:{\"type\":\"expand\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._l((scope.row.gson),function(item,index){return _c('el-checkbox',{key:index,staticClass:\"CsTableCheckbox\",model:{value:(item.CheckboxType),callback:function ($$v) {_vm.$set(item, \"CheckboxType\", $$v)},expression:\"item.CheckboxType\"}},[_c('div',{staticClass:\"flex column\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"UN No\")]),_c('el-select',{style:({ width: '90%' }),attrs:{\"placeholder\":\"UN No\",\"filterable\":\"\",\"remote\":\"\",\"reserve-keyword\":\"\",\"remote-method\":_vm.UNNOremoteMethod,\"loading\":_vm.UNNOloading},on:{\"change\":(e) => {\n _vm.FnChangeUNNO(e, item);\n }},model:{value:(item.unno),callback:function ($$v) {_vm.$set(item, \"unno\", $$v)},expression:\"item.unno\"}},_vm._l((_vm.UNNOData),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.unno,\"value\":item.unno}})}),1)],1),_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Imo Class(Sub risk)\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Imo Class(Sub risk)\"},on:{\"input\":(e) => {\n _vm.FnChangeimoClass(e, item);\n }},model:{value:(item.imoClass),callback:function ($$v) {_vm.$set(item, \"imoClass\", $$v)},expression:\"item.imoClass\"}})],1),_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"Sub Risk1\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Sub Risk1\"},model:{value:(item.subrisk1),callback:function ($$v) {_vm.$set(item, \"subrisk1\", $$v)},expression:\"item.subrisk1\"}})],1),_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"Sub Risk2\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Sub Risk2\"},model:{value:(item.subrisk2),callback:function ($$v) {_vm.$set(item, \"subrisk2\", $$v)},expression:\"item.subrisk2\"}})],1)]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F2\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Proper Shipping Name\")]),_c('el-input',{style:({ width: '95%' }),attrs:{\"placeholder\":\"Proper Shipping Name\"},model:{value:(item.properShippingName),callback:function ($$v) {_vm.$set(item, \"properShippingName\", $$v)},expression:\"item.properShippingName\"}})],1),_c('div',{staticClass:\"F2\"},[_c('p',[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(item.technicalNameType),expression:\"item.technicalNameType\"}],staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\" Technical Name (if have) \")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Technical Name (if have)\"},model:{value:(item.technicalName),callback:function ($$v) {_vm.$set(item, \"technicalName\", $$v)},expression:\"item.technicalName\"}})],1)]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Packing Group\")]),_c('el-select',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Packing Group\"},model:{value:(item.packingGroup),callback:function ($$v) {_vm.$set(item, \"packingGroup\", $$v)},expression:\"item.packingGroup\"}},[_c('el-option',{attrs:{\"label\":\"Ⅰ\",\"value\":\"1\"}}),_c('el-option',{attrs:{\"label\":\"Ⅱ\",\"value\":\"2\"}}),_c('el-option',{attrs:{\"label\":\"Ⅲ\",\"value\":\"3\"}})],1)],1),_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"EMS\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"EMS\"},model:{value:(item.ems),callback:function ($$v) {_vm.$set(item, \"ems\", $$v)},expression:\"item.ems\"}})],1),_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Packing Code\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Packing Code\"},model:{value:(item.packingCode),callback:function ($$v) {_vm.$set(item, \"packingCode\", $$v)},expression:\"item.packingCode\"}})],1),_c('div',{staticClass:\"F1\"})]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"Flash Point (if have )\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Flash Point (if have )\"},on:{\"blur\":(e) => {\n _vm.FnBlurFlashPoint(e, item);\n }},model:{value:(item.flashPoint),callback:function ($$v) {_vm.$set(item, \"flashPoint\", $$v)},expression:\"item.flashPoint\"}},[_c('template',{slot:\"append\"},[_vm._v(\"℃\")])],2)],1),_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Marine Pollutant(p or no)\")]),_c('el-select',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Marine Pollutant(p or no)\"},model:{value:(item.marinePollutant),callback:function ($$v) {_vm.$set(item, \"marinePollutant\", $$v)},expression:\"item.marinePollutant\"}},[_c('el-option',{attrs:{\"label\":\"P\",\"value\":\"P\"}}),_c('el-option',{attrs:{\"label\":\"N\",\"value\":\"N\"}})],1)],1),_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Package Quantity\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Package Quantity \"},model:{value:(item.packageQuantity),callback:function ($$v) {_vm.$set(item, \"packageQuantity\", $$v)},expression:\"item.packageQuantity\"}})],1),_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Package Type\")]),_c('el-select',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Package Type \"},model:{value:(item.packageType),callback:function ($$v) {_vm.$set(item, \"packageType\", $$v)},expression:\"item.packageType\"}},_vm._l((_vm.JFPackageData),function(item){return _c('el-option',{key:item.code,attrs:{\"label\":item.value,\"value\":item.code}})}),1)],1)]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"Inner Package\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Inner Package Type\"},model:{value:(item.innerPackage),callback:function ($$v) {_vm.$set(item, \"innerPackage\", $$v)},expression:\"item.innerPackage\"}})],1),_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"Inner Package Type\")]),_c('el-select',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Inner Package\"},model:{value:(item.innerPackageType),callback:function ($$v) {_vm.$set(item, \"innerPackageType\", $$v)},expression:\"item.innerPackageType\"}},[_c('el-option',{attrs:{\"label\":\"PLASTICS INNER PACKAGINGS\",\"value\":\"PLASTICS INNER PACKAGINGS\"}}),_c('el-option',{attrs:{\"label\":\"PAPER INNER PACKAGINGS\",\"value\":\"PAPER INNER PACKAGINGS\"}}),_c('el-option',{attrs:{\"label\":\"METAL INNER PACKAGINGS\",\"value\":\"METAL INNER PACKAGINGS\"}}),_c('el-option',{attrs:{\"label\":\"GLASS INNER PACKAGINGS\",\"value\":\"GLASS INNER PACKAGINGS\"}})],1)],1),_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Gross Weight\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Gross Weight \"},model:{value:(item.grossWeight),callback:function ($$v) {_vm.$set(item, \"grossWeight\", $$v)},expression:\"item.grossWeight\"}},[_c('template',{slot:\"append\"},[_vm._v(\"KGS\")])],2)],1),_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Net Weight\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Net Weight \"},model:{value:(item.netWeight),callback:function ($$v) {_vm.$set(item, \"netWeight\", $$v)},expression:\"item.netWeight\"}},[_c('template',{slot:\"append\"},[_vm._v(\"KGS\")])],2)],1)]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"NA number\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"美国货,按需填写\"},model:{value:(item.naNumber),callback:function ($$v) {_vm.$set(item, \"naNumber\", $$v)},expression:\"item.naNumber\"}})],1),_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\" Reportable/Excepted/Limited Quantify \"),_c('el-tooltip',{staticClass:\"item\",attrs:{\"effect\":\"dark\",\"content\":\"美国RQs是指有害物质释放到环境中,对公众健康或环境造成重大危害的数量。根据CERCLA,当数量达到或超过规定的RQs时,必须通知联邦政府\",\"placement\":\"top\"}},[_c('i',{staticClass:\"el-icon-question\"})])],1),_c('el-select',{style:({ width: '90%' }),attrs:{\"placeholder\":\"美国RQs/可免除量/限量三选一\"},model:{value:(item.limitedQuantity),callback:function ($$v) {_vm.$set(item, \"limitedQuantity\", $$v)},expression:\"item.limitedQuantity\"}},[_c('el-option',{attrs:{\"label\":\"Reportable\",\"value\":\"Reportable\"}}),_c('el-option',{attrs:{\"label\":\"Excepted\",\"value\":\"Excepted\"}}),_c('el-option',{attrs:{\"label\":\"Limited\",\"value\":\"Limited\"}})],1)],1),_c('div',{staticClass:\"F1\"},[_c('p',[(item.Limittype)?_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]):_vm._e(),_vm._v(\" Control Temperature \")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"控制温度,特定UN填写\"},model:{value:(item.controlTemperature),callback:function ($$v) {_vm.$set(item, \"controlTemperature\", $$v)},expression:\"item.controlTemperature\"}})],1),_c('div',{staticClass:\"F1\"},[_c('p',[(item.Limittype)?_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]):_vm._e(),_vm._v(\" Emergency Temperature \")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"紧急温度,特定UN填写\"},model:{value:(item.emergencyTemperature),callback:function ($$v) {_vm.$set(item, \"emergencyTemperature\", $$v)},expression:\"item.emergencyTemperature\"}})],1)]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F2\"},[_c('p',[_vm._v(\"UNNO suffix/Sequence\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"UNNO suffix/Sequence\"},model:{value:(item.unnoSufficSequence),callback:function ($$v) {_vm.$set(item, \"unnoSufficSequence\", $$v)},expression:\"item.unnoSufficSequence\"}})],1),_c('div',{staticClass:\"F2\"},[_c('p',[_vm._v(\"IMDG Code Segregation Group\")]),_c('el-select',{style:({ width: '90%' }),attrs:{\"placeholder\":\"货物有隔离性需要选择\"},model:{value:(item.imdgCodeSegregationGroup),callback:function ($$v) {_vm.$set(item, \"imdgCodeSegregationGroup\", $$v)},expression:\"item.imdgCodeSegregationGroup\"}},_vm._l((_vm.JFImdgData),function(item){return _c('el-option',{key:item.code,attrs:{\"label\":item.value,\"value\":item.code}})}),1)],1)])])])}),_c('div',{staticClass:\"CsCheckboxButtonBox\"},[_c('el-button',{attrs:{\"icon\":\"el-icon-document-copy\",\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.FnCopyCheckbox(scope.row)}}},[_vm._v(\" 复制新增 \")]),_c('el-button',{attrs:{\"icon\":\"el-icon-plus\",\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.FnAddCheckbox(scope.row)}}},[_vm._v(\" 新增 \")]),_c('el-button',{attrs:{\"icon\":\"el-icon-delete\",\"type\":\"primary\",\"size\":\"mini\",\"plain\":\"\"},on:{\"click\":function($event){return _vm.FnDelCheckbox(scope.row)}}},[_vm._v(\" 删除 \")])],1)]}}])}),_c('el-table-column',{attrs:{\"prop\":\"containerNumber\",\"label\":\"15.Container number\",\"width\":\"180\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{attrs:{\"placeholder\":\"Container number\"},model:{value:(scope.row.containerNumber),callback:function ($$v) {_vm.$set(scope.row, \"containerNumber\", $$v)},expression:\"scope.row.containerNumber\"}})]}}])}),_c('el-table-column',{attrs:{\"prop\":\"sealNumber\",\"label\":\"16.Seal number(s)\",\"width\":\"180\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{attrs:{\"placeholder\":\"Seal number(s)\"},model:{value:(scope.row.sealNumber),callback:function ($$v) {_vm.$set(scope.row, \"sealNumber\", $$v)},expression:\"scope.row.sealNumber\"}})]}}])}),_c('el-table-column',{attrs:{\"prop\":\"containerSize\",\"label\":\"17.Container Size & type\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{attrs:{\"placeholder\":\"Container Size & type\"},model:{value:(scope.row.containerSize),callback:function ($$v) {_vm.$set(scope.row, \"containerSize\", $$v)},expression:\"scope.row.containerSize\"}})]}}])}),_c('el-table-column',{attrs:{\"prop\":\"tareMass\",\"label\":\"18.Tare mass(kg)\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{attrs:{\"placeholder\":\"Tare mass(kg)\"},model:{value:(scope.row.tareMass),callback:function ($$v) {_vm.$set(scope.row, \"tareMass\", $$v)},expression:\"scope.row.tareMass\"}})]}}])})],1),_c('div',{staticClass:\"CsButtonBox\"},[_c('el-button',{attrs:{\"icon\":\"el-icon-document-copy\",\"type\":\"text\"},on:{\"click\":_vm.FnCopyRow}},[_vm._v(\" 复制添加一行 \")]),_c('el-button',{attrs:{\"icon\":\"el-icon-plus\",\"type\":\"text\"},on:{\"click\":_vm.FnAddRow}},[_vm._v(\" 添加一行 \")]),_c('el-button',{attrs:{\"icon\":\"el-icon-delete\",\"type\":\"text\"},on:{\"click\":_vm.FnDelRow}},[_vm._v(\" 删除一行 \")]),_c('el-button',{attrs:{\"icon\":\"el-icon-upload\",\"type\":\"text\"},on:{\"click\":_vm.FnSaveDRow}},[_vm._v(\" 保存 \")])],1),_c('div',{staticClass:\"Csbottom flex column\",style:({ width: '100%' })},[_c('div',{staticClass:\"flex BB\"},[_c('div',{staticClass:\"F1 CsBox BR CsFCRed\"},[_c('p',{staticClass:\"CsFW\"},[_vm._v(\"CONTAINER/VEHICLE PACKING CERTIFICATE\")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.tableData.packingcertificate)+\" \")])]),_c('div',{staticClass:\"F1 CsBox CsFCRed\"},[_c('p',{staticClass:\"CsFW\"},[_vm._v(\"21.RECEIVING ORGANIZATION RECEIPT\")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.tableData.organizationreceipt)+\" \")])])]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F1 CsBox BR\"},[_c('p',{staticClass:\"CsFW\"},[_vm._v(\"20.Name of company\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.nameOfCompany))]),_c('p',{staticClass:\"CsFW CsMt\"},[_vm._v(\"Name/status of declarant\")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.tableData.nameStatusDeclarant)+\" \")]),_c('p',{staticClass:\"CsFW CsMt\"},[_vm._v(\"Place and date\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.placeDate))]),_c('p',{staticClass:\"CsFW CsMt\"},[_vm._v(\"Signature of declarant\")]),_c('p',{staticClass:\"CsFW\"},[_vm._v(_vm._s(_vm.tableData.signatureDeclarant))])]),_c('div',{staticClass:\"F1 CsBox\"},[_c('p',{staticClass:\"CsFW\"},[_vm._v(\"22.Name of company\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.nameOfCompany))]),_c('p',{staticClass:\"CsFW CsMt\"},[_vm._v(\"Name/status of declarant\")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.tableData.nameStatusDeclarant)+\" \")]),_c('p',{staticClass:\"CsFW CsMt\"},[_vm._v(\"Place and date\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.placeDate))]),_c('p',{staticClass:\"CsFW CsMt\"},[_vm._v(\"Signature of declarant\")]),_c('p',{staticClass:\"CsFW\"},[_vm._v(\" \"+_vm._s(_vm.tableData.signatureDeclarant))])])])]),_vm._m(1)],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\" 9.Additional handling information \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"CsBottom\"},[_c('p',[_vm._v(\"* DANGEROUS GOODS:\")]),_c('p',[_vm._v(\" You must specify: UN No., proper shipping name/correct technical name, IMO hazard class (subrisk), Packaging group (where assigned), Marine \")])])\n}]\n\nexport { render, staticRenderFns }","import axios from \"axios\";\r\nimport { Message } from \"element-ui\";\r\nexport default ({ data }) => {\r\n const baseURL = process.env.VUE_APP_AXIOS_BASEURL;\r\n const server = axios.create({\r\n baseURL,\r\n timeout: 60000,\r\n });\r\n server.interceptors.response.use(\r\n (req) => {\r\n // if (req.data.code != 200) {\r\n // Message({\r\n // showClose: true,\r\n // message: req.data.message ? req.data.message : req.data.msg,\r\n // type: \"warning\",\r\n // duration: 0,\r\n // });\r\n // } else {\r\n // // Message({\r\n // // message: req.data.message ? req.data.message : req.data.msg,\r\n // // type: \"success\",\r\n // // duration: 500,\r\n // // });\r\n // }\r\n return req;\r\n },\r\n (err) => {\r\n Message({\r\n showClose: true,\r\n message: err,\r\n type: \"warning\",\r\n duration: 0,\r\n });\r\n return err;\r\n }\r\n );\r\n return server(data);\r\n};\r\n","import request from \"@/utils/axios\";\r\nimport qs from \"qs\";\r\nimport http from \"@/utils/http\";\r\n//获取链接详情\r\nconst getInfo = (params) => {\r\n return request({\r\n data: {\r\n url: \"/api/JF/Info\",\r\n method: \"get\",\r\n params,\r\n },\r\n });\r\n};\r\n//保存详情\r\nconst SaveDetail = (data) => {\r\n return request({\r\n data: {\r\n url: \"/api/JF/SaveDetail\",\r\n method: \"POST\",\r\n data,\r\n },\r\n });\r\n};\r\n// Imdg\r\nconst JFImdg = (params) => {\r\n return request({\r\n data: {\r\n url: \"/api/JF/JFImdg\",\r\n method: \"get\",\r\n params,\r\n },\r\n });\r\n};\r\n// package\r\nconst JFPackage = (params) => {\r\n return request({\r\n data: {\r\n url: \"/api/JF/JFPackage\",\r\n method: \"get\",\r\n params,\r\n },\r\n });\r\n};\r\n// UNNO\r\nconst JFUNNO = (params) => {\r\n return request({\r\n data: {\r\n url: \"/api/JF/JFUNNO/1/9999\",\r\n method: \"get\",\r\n params,\r\n },\r\n });\r\n};\r\n// unno 限制页\r\nconst JFUNNOLimit = (params) => {\r\n return request({\r\n data: {\r\n url: \"/api/JF/JFUNNOLimit\",\r\n method: \"get\",\r\n params,\r\n },\r\n });\r\n};\r\nexport { getInfo, SaveDetail, JFImdg, JFPackage, JFUNNO, JFUNNOLimit };\r\n","\r\n\r\n\r\n","import mod from \"-!../../node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.5@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/_vue-loader@15.10.0@vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.5@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/_vue-loader@15.10.0@vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=3d796b87&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=3d796b87&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.10.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3d796b87\",\n null\n \n)\n\nexport default component.exports","import ViewIndex from \"../views/index.vue\";\r\nexport const routes = [\r\n { path: \"/\", component: ViewIndex },\r\n { path: \"*\", redirect: \"/\" },\r\n];\r\n","import Vue from \"vue\";\r\nimport App from \"./App.vue\";\r\nimport axios from \"axios\";\r\nimport ElementUI from \"element-ui\";\r\nimport VueRouter from \"vue-router\";\r\nimport \"element-ui/lib/theme-chalk/index.css\";\r\nimport { routes } from \"./utils/routes.js\";\r\nVue.use(VueRouter);\r\nVue.use(ElementUI);\r\nVue.config.productionTip = false;\r\nVue.prototype.$axios = axios;\r\nconst router = new VueRouter({\r\n routes: routes,\r\n // mode: \"history\", //去掉#\r\n mode: \"hash\",\r\n});\r\nnew Vue({\r\n router: router,\r\n render: (h) => h(App),\r\n}).$mount(\"#app\");\r\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkvue\"] = self[\"webpackChunkvue\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(3301); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["render","_vm","this","_c","_self","staticRenderFns","name","component","staticClass","_v","style","width","_s","tableData","shipper","transportNumber","pageOfPages","shipperReference","freightForwarderReference","consignee","carrier","vesselOrflightNoAndDate","portPlaceOfLoading","destination","_m","margin","attrs","model","value","contactPerson","callback","$$v","$set","expression","contactTelephone","shipperdeclaration","descriptionOfGoods","ref","staticStyle","jFSubDtos","scopedSlots","_u","key","fn","scope","_l","row","gson","item","index","CheckboxType","UNNOremoteMethod","UNNOloading","on","e","FnChangeUNNO","unno","UNNOData","id","FnChangeimoClass","imoClass","subrisk1","subrisk2","properShippingName","directives","rawName","technicalNameType","technicalName","packingGroup","ems","packingCode","FnBlurFlashPoint","flashPoint","slot","marinePollutant","packageQuantity","packageType","JFPackageData","code","innerPackage","innerPackageType","grossWeight","netWeight","naNumber","limitedQuantity","Limittype","_e","controlTemperature","emergencyTemperature","unnoSufficSequence","imdgCodeSegregationGroup","JFImdgData","$event","FnCopyCheckbox","FnAddCheckbox","FnDelCheckbox","containerNumber","sealNumber","containerSize","tareMass","FnCopyRow","FnAddRow","FnDelRow","FnSaveDRow","packingcertificate","organizationreceipt","nameOfCompany","nameStatusDeclarant","placeDate","signatureDeclarant","data","baseURL","process","server","axios","timeout","interceptors","response","use","req","err","Message","showClose","message","type","duration","getInfo","params","request","url","method","SaveDetail","JFImdg","JFPackage","JFUNNO","JFUNNOLimit","JFUNNOLimitData","mounted","gid","res","item2","methods","num","console","FnCheckData","UNNO","Init","Arr2","FnTableClick","FnTableCheckboxClick","FnTableInputBlur","FnTableCheckboxInputBlur","routes","path","ViewIndex","redirect","Vue","VueRouter","ElementUI","router","mode","h","App","$mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","deferred","O","result","chunkIds","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","Function","window","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","forEach","bind","push","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/app.a3dc0e63.js b/dist/js/app.a3dc0e63.js deleted file mode 100644 index adb3990..0000000 --- a/dist/js/app.a3dc0e63.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(){var e={405:function(e,t,a){"use strict";var s=a(8641),i=function(){var e=this,t=e._self._c;return t("router-view")},n=[],l={name:"App"},o=l,r=a(2349),c=(0,r.Z)(o,i,n,!1,null,null,null),p=c.exports,u=a(7728),d=a.n(u),m=a(2298),v=a.n(m),h=a(7170),C=function(){var e=this,t=e._self._c;return t("div",{staticClass:"main"},[t("p",{staticClass:"CsTitle"},[e._v("MULTIMODAL DANGEROUS GOODS FORM")]),t("p",{staticClass:"CsHint"},[e._v(" This form may be used as a dangerous goods declaration as it meets the requirements of SOLAS 74, chapter VII, regulation 5; MARPOL 73/78,Annex III, regulation 4 and section 9 of the General Introduction to the IMDG Code. ")]),t("div",{staticClass:"CsTop flex column",style:{width:"100%"}},[t("div",{staticClass:"flex BB"},[t("div",{staticClass:"F1 BR"},[t("p",[e._v("1.Shipper")]),t("p",[e._v(" "+e._s(e.tableData.shipper)+" ")])]),t("div",{staticClass:"F1"},[t("div",{staticClass:"BB"},[t("p",[e._v("2.Transport document number")]),t("p",[e._v(e._s(e.tableData.transportNumber))])]),t("div",{staticClass:"flex BB"},[t("p",[e._v("3.Page of pages")]),t("p",{staticClass:"Csone"},[e._v("   "+e._s(e.tableData.pageOfPages))])]),t("div",{staticClass:"flex"},[t("div",{staticClass:"F1 BR"},[t("p",[e._v("4.Shipper's reference")]),t("p",[e._v(e._s(e.tableData.shipperReference))])]),t("div",{staticClass:"F1"},[t("p",[e._v("5.Freight forwarder's reference")]),t("p",[e._v(e._s(e.tableData.freightForwarderReference))])])])])]),t("div",{staticClass:"flex BB"},[t("div",{staticClass:"flex column F1 BR"},[t("div",{staticClass:"F1 BB"},[t("p",[e._v("6.Consignee")]),t("p",[e._v(" "+e._s(e.tableData.consignee)+" ")])]),t("div",{staticClass:"F1"},[t("p",[e._v("7.Carrier (to be completed by the carrier)")]),t("p",[e._v(e._s(e.tableData.carrier))])])]),t("div",{staticClass:"flex column F1"},[t("div",{staticClass:"flex BB"},[t("div",{staticClass:"F1 BR"},[t("p",[e._v("10.Vessel/flight no.and date")]),t("p",[e._v(e._s(e.tableData.vesselOrflightNoAndDate))])]),t("div",{staticClass:"F1"},[t("p",[e._v("11.Port/place of loading")]),t("p",[e._v(e._s(e.tableData.portPlaceOfLoading))])])]),t("div",{staticClass:"flex BB"},[t("div",{staticClass:"F1 BR"},[t("p",[e._v("12.Port/place of discharge")]),t("p",[e._v(e._s(e.tableData.portPlaceOfLoading))])]),t("div",{staticClass:"F1"},[t("p",[e._v("13.Destination")]),t("p",[e._v(e._s(e.tableData.destination))])])]),t("div",{staticClass:"F1"},[e._m(0),t("p",[e._v(" 24 hr Emergency contact person : "),t("el-input",{style:{width:"40%",margin:"0 0 5px 15px"},attrs:{placeholder:"请输入内容",size:"small"},model:{value:e.tableData.contactPerson,callback:function(t){e.$set(e.tableData,"contactPerson",t)},expression:"tableData.contactPerson"}}),t("br"),e._v(" 24 hr Emergency contact telephone: "),t("el-input",{style:{width:"40%"},attrs:{placeholder:"请输入内容",size:"small"},model:{value:e.tableData.contactTelephone,callback:function(t){e.$set(e.tableData,"contactTelephone",t)},expression:"tableData.contactTelephone"}}),t("br")],1)])])]),t("div",{staticClass:"CsTopBox3 BB"},[t("p",[e._v("SHIPPER'S DECLARATION")]),t("p",[e._v(" "+e._s(e.tableData.shipperdeclaration)+" ")]),t("p",{staticClass:"CsFCRed"},[e._v(" 8.This shipment is within the limitations prescribed for: (Delete non-applicable) ")])]),t("div",[t("p",[e._v(" 14.Shipment information Number and kind of packages; description of goods ( *see bottom) ")]),t("p",[e._v(e._s(e.tableData.descriptionOfGoods))])])]),t("el-table",{ref:"tableRef",staticStyle:{width:"100%"},attrs:{data:e.tableData.jFSubDtos,border:"","header-cell-class-name":"HeaderCell","header-row-class-name":"HeaderRow","cell-class-name":"Cellname","row-class-name":"Rowname"}},[t("el-table-column",{attrs:{type:"selection",align:"center"}}),t("el-table-column",{attrs:{type:"expand"},scopedSlots:e._u([{key:"default",fn:function(a){return[e._l(a.row.gson,(function(a,s){return t("el-checkbox",{key:s,staticClass:"CsTableCheckbox",model:{value:a.CheckboxType,callback:function(t){e.$set(a,"CheckboxType",t)},expression:"item.CheckboxType"}},[t("div",{staticClass:"flex column"},[t("div",{staticClass:"flex"},[t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("UN No")]),t("el-select",{style:{width:"90%"},attrs:{placeholder:"UN No",filterable:"",remote:"","reserve-keyword":"","remote-method":e.UNNOremoteMethod,loading:e.UNNOloading},on:{change:t=>{e.FnChangeUNNO(t,a)}},model:{value:a.unno,callback:function(t){e.$set(a,"unno",t)},expression:"item.unno"}},e._l(e.UNNOData,(function(e){return t("el-option",{key:e.id,attrs:{label:e.unno,value:e.unno}})})),1)],1),t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Imo Class(Sub risk)")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Imo Class(Sub risk)"},on:{change:t=>{e.FnChangeimoClass(t,a)}},model:{value:a.imoClass,callback:function(t){e.$set(a,"imoClass",t)},expression:"item.imoClass"}})],1),t("div",{staticClass:"F1"},[t("p",[e._v("Sub Risk1")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Sub Risk1"},model:{value:a.subrisk1,callback:function(t){e.$set(a,"subrisk1",t)},expression:"item.subrisk1"}})],1),t("div",{staticClass:"F1"},[t("p",[e._v("Sub Risk2")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Sub Risk2"},model:{value:a.subrisk2,callback:function(t){e.$set(a,"subrisk2",t)},expression:"item.subrisk2"}})],1)]),t("div",{staticClass:"flex"},[t("div",{staticClass:"F2"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Proper Shipping Name")]),t("el-input",{style:{width:"95%"},attrs:{placeholder:"Proper Shipping Name"},model:{value:a.properShippingName,callback:function(t){e.$set(a,"properShippingName",t)},expression:"item.properShippingName"}})],1),t("div",{staticClass:"F2"},[t("p",[e._v("Technical Name (if have)")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Technical Name (if have)"},model:{value:a.technicalName,callback:function(t){e.$set(a,"technicalName",t)},expression:"item.technicalName"}})],1)]),t("div",{staticClass:"flex"},[t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Packing Group")]),t("el-select",{style:{width:"90%"},attrs:{placeholder:"Packing Group"},model:{value:a.packingGroup,callback:function(t){e.$set(a,"packingGroup",t)},expression:"item.packingGroup"}},[t("el-option",{attrs:{label:"Ⅰ",value:"1"}}),t("el-option",{attrs:{label:"Ⅱ",value:"2"}}),t("el-option",{attrs:{label:"Ⅲ",value:"3"}})],1)],1),t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("EMS")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"EMS"},model:{value:a.ems,callback:function(t){e.$set(a,"ems",t)},expression:"item.ems"}})],1),t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Packing Code")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Packing Code"},model:{value:a.packingCode,callback:function(t){e.$set(a,"packingCode",t)},expression:"item.packingCode"}})],1),t("div",{staticClass:"F1"})]),t("div",{staticClass:"flex"},[t("div",{staticClass:"F1"},[t("p",[e._v("Flash Point (if have )")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Flash Point (if have )"},model:{value:a.flashPoint,callback:function(t){e.$set(a,"flashPoint",t)},expression:"item.flashPoint"}},[t("template",{slot:"append"},[e._v("℃")])],2)],1),t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Marine Pollutant(p or no)")]),t("el-select",{style:{width:"90%"},attrs:{placeholder:"Marine Pollutant(p or no)"},model:{value:a.marinePollutant,callback:function(t){e.$set(a,"marinePollutant",t)},expression:"item.marinePollutant"}},[t("el-option",{attrs:{label:"P",value:"P"}}),t("el-option",{attrs:{label:"N",value:"N"}})],1)],1),t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Package Quantity")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Package Quantity "},model:{value:a.packageQuantity,callback:function(t){e.$set(a,"packageQuantity",t)},expression:"item.packageQuantity"}})],1),t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Package Type")]),t("el-select",{style:{width:"90%"},attrs:{placeholder:"Package Type "},model:{value:a.packageType,callback:function(t){e.$set(a,"packageType",t)},expression:"item.packageType"}},e._l(e.JFPackageData,(function(e){return t("el-option",{key:e.code,attrs:{label:e.value,value:e.code}})})),1)],1)]),t("div",{staticClass:"flex"},[t("div",{staticClass:"F1"},[t("p",[e._v("Inner Package")]),t("el-select",{style:{width:"90%"},attrs:{placeholder:"Inner Package"},model:{value:a.innerPackage,callback:function(t){e.$set(a,"innerPackage",t)},expression:"item.innerPackage"}},[t("el-option",{attrs:{label:"PLASTICS INNER PACKAGINGS",value:"PLASTICS INNER PACKAGINGS"}}),t("el-option",{attrs:{label:"PAPER INNER PACKAGINGS",value:"PAPER INNER PACKAGINGS"}}),t("el-option",{attrs:{label:"METAL INNER PACKAGINGS",value:"METAL INNER PACKAGINGS"}}),t("el-option",{attrs:{label:"GLASS INNER PACKAGINGS",value:"GLASS INNER PACKAGINGS"}})],1)],1),t("div",{staticClass:"F1"},[t("p",[e._v("Inner Package Type")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Inner Package Type"},model:{value:a.innerPackageType,callback:function(t){e.$set(a,"innerPackageType",t)},expression:"item.innerPackageType"}})],1),t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Gross Weight")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Gross Weight "},model:{value:a.grossWeight,callback:function(t){e.$set(a,"grossWeight",t)},expression:"item.grossWeight"}},[t("template",{slot:"append"},[e._v("KGS")])],2)],1),t("div",{staticClass:"F1"},[t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v("Net Weight")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"Net Weight "},model:{value:a.netWeight,callback:function(t){e.$set(a,"netWeight",t)},expression:"item.netWeight"}},[t("template",{slot:"append"},[e._v("KGS")])],2)],1)]),t("div",{staticClass:"flex"},[t("div",{staticClass:"F1"},[t("p",[e._v("NA number")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"美国货,按需填写"},model:{value:a.naNumber,callback:function(t){e.$set(a,"naNumber",t)},expression:"item.naNumber"}})],1),t("div",{staticClass:"F1"},[t("p",[e._v(" Reportable/Excepted/Limited Quantify "),t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"美国RQs是指有害物质释放到环境中,对公众健康或环境造成重大危害的数量。根据CERCLA,当数量达到或超过规定的RQs时,必须通知联邦政府",placement:"top"}},[t("i",{staticClass:"el-icon-question"})])],1),t("el-select",{style:{width:"90%"},attrs:{placeholder:"美国RQs/可免除量/限量三选一"},model:{value:a.limitedQuantity,callback:function(t){e.$set(a,"limitedQuantity",t)},expression:"item.limitedQuantity"}},[t("el-option",{attrs:{label:"Reportable",value:"Reportable"}}),t("el-option",{attrs:{label:"Excepted",value:"Excepted"}}),t("el-option",{attrs:{label:"Limited",value:"Limited"}})],1)],1),t("div",{staticClass:"F1"},[t("p",[a.Limittype?t("span",{staticClass:"RXing"},[e._v("*")]):e._e(),e._v(" Control Temperature ")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"控制温度,特定UN填写"},model:{value:a.controlTemperature,callback:function(t){e.$set(a,"controlTemperature",t)},expression:"item.controlTemperature"}})],1),t("div",{staticClass:"F1"},[t("p",[a.Limittype?t("span",{staticClass:"RXing"},[e._v("*")]):e._e(),e._v(" Emergency Temperature ")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"紧急温度,特定UN填写"},model:{value:a.emergencyTemperature,callback:function(t){e.$set(a,"emergencyTemperature",t)},expression:"item.emergencyTemperature"}})],1)]),t("div",{staticClass:"flex"},[t("div",{staticClass:"F2"},[t("p",[e._v("UNNO suffix/Sequence")]),t("el-input",{style:{width:"90%"},attrs:{placeholder:"UNNO suffix/Sequence"},model:{value:a.unnoSufficSequence,callback:function(t){e.$set(a,"unnoSufficSequence",t)},expression:"item.unnoSufficSequence"}})],1),t("div",{staticClass:"F2"},[t("p",[e._v("IMDG Code Segregation Group")]),t("el-select",{style:{width:"90%"},attrs:{placeholder:"货物有隔离性需要选择"},model:{value:a.imdgCodeSegregationGroup,callback:function(t){e.$set(a,"imdgCodeSegregationGroup",t)},expression:"item.imdgCodeSegregationGroup"}},e._l(e.JFImdgData,(function(e){return t("el-option",{key:e.code,attrs:{label:e.value,value:e.code}})})),1)],1)])])])})),t("div",{staticClass:"CsCheckboxButtonBox"},[t("el-button",{attrs:{icon:"el-icon-document-copy",type:"primary",size:"mini"},on:{click:function(t){return e.FnCopyCheckbox(a.row)}}},[e._v(" 复制新增 ")]),t("el-button",{attrs:{icon:"el-icon-plus",type:"primary",size:"mini"},on:{click:function(t){return e.FnAddCheckbox(a.row)}}},[e._v(" 新增 ")]),t("el-button",{attrs:{icon:"el-icon-delete",type:"primary",size:"mini",plain:""},on:{click:function(t){return e.FnDelCheckbox(a.row)}}},[e._v(" 删除 ")])],1)]}}])}),t("el-table-column",{attrs:{prop:"containerNumber",label:"15.Container number",width:"180"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-input",{attrs:{placeholder:"Container number"},model:{value:a.row.containerNumber,callback:function(t){e.$set(a.row,"containerNumber",t)},expression:"scope.row.containerNumber"}})]}}])}),t("el-table-column",{attrs:{prop:"sealNumber",label:"16.Seal number(s)",width:"180"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-input",{attrs:{placeholder:"Seal number(s)"},model:{value:a.row.sealNumber,callback:function(t){e.$set(a.row,"sealNumber",t)},expression:"scope.row.sealNumber"}})]}}])}),t("el-table-column",{attrs:{prop:"containerSize",label:"17.Container Size & type"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-input",{attrs:{placeholder:"Container Size & type"},model:{value:a.row.containerSize,callback:function(t){e.$set(a.row,"containerSize",t)},expression:"scope.row.containerSize"}})]}}])}),t("el-table-column",{attrs:{prop:"tareMass",label:"18.Tare mass(kg)"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-input",{attrs:{placeholder:"Tare mass(kg)"},model:{value:a.row.tareMass,callback:function(t){e.$set(a.row,"tareMass",t)},expression:"scope.row.tareMass"}})]}}])})],1),t("div",{staticClass:"CsButtonBox"},[t("el-button",{attrs:{icon:"el-icon-document-copy",type:"text"},on:{click:e.FnCopyRow}},[e._v(" 复制添加一行 ")]),t("el-button",{attrs:{icon:"el-icon-plus",type:"text"},on:{click:e.FnAddRow}},[e._v(" 添加一行 ")]),t("el-button",{attrs:{icon:"el-icon-delete",type:"text"},on:{click:e.FnDelRow}},[e._v(" 删除一行 ")]),t("el-button",{attrs:{icon:"el-icon-upload",type:"text"},on:{click:e.FnSaveDRow}},[e._v(" 保存 ")])],1),t("div",{staticClass:"Csbottom flex column",style:{width:"100%"}},[t("div",{staticClass:"flex BB"},[t("div",{staticClass:"F1 CsBox BR CsFCRed"},[t("p",{staticClass:"CsFW"},[e._v("CONTAINER/VEHICLE PACKING CERTIFICATE")]),t("p",[e._v(" "+e._s(e.tableData.packingcertificate)+" ")])]),t("div",{staticClass:"F1 CsBox CsFCRed"},[t("p",{staticClass:"CsFW"},[e._v("21.RECEIVING ORGANIZATION RECEIPT")]),t("p",[e._v(" "+e._s(e.tableData.organizationreceipt)+" ")])])]),t("div",{staticClass:"flex"},[t("div",{staticClass:"F1 CsBox BR"},[t("p",{staticClass:"CsFW"},[e._v("20.Name of company")]),t("p",[e._v(e._s(e.tableData.nameOfCompany))]),t("p",{staticClass:"CsFW CsMt"},[e._v("Name/status of declarant")]),t("p",[e._v(" "+e._s(e.tableData.nameStatusDeclarant)+" ")]),t("p",{staticClass:"CsFW CsMt"},[e._v("Place and date")]),t("p",[e._v(e._s(e.tableData.placeDate))]),t("p",{staticClass:"CsFW CsMt"},[e._v("Signature of declarant")]),t("p",{staticClass:"CsFW"},[e._v(e._s(e.tableData.signatureDeclarant))])]),t("div",{staticClass:"F1 CsBox"},[t("p",{staticClass:"CsFW"},[e._v("22.Name of company")]),t("p",[e._v(e._s(e.tableData.nameOfCompany))]),t("p",{staticClass:"CsFW CsMt"},[e._v("Name/status of declarant")]),t("p",[e._v(" "+e._s(e.tableData.nameStatusDeclarant)+" ")]),t("p",{staticClass:"CsFW CsMt"},[e._v("Place and date")]),t("p",[e._v(e._s(e.tableData.placeDate))]),t("p",{staticClass:"CsFW CsMt"},[e._v("Signature of declarant")]),t("p",{staticClass:"CsFW"},[e._v(" "+e._s(e.tableData.signatureDeclarant))])])])]),e._m(1)],1)},f=[function(){var e=this,t=e._self._c;return t("p",[t("span",{staticClass:"RXing"},[e._v("*")]),e._v(" 9.Additional handling information ")])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"CsBottom"},[t("p",[e._v("* DANGEROUS GOODS:")]),t("p",[e._v(" You must specify: UN No., proper shipping name/correct technical name, IMO hazard class (subrisk), Packaging group (where assigned), Marine ")])])}],b=(a(7883),({data:e})=>{const t="/api",a=d().create({baseURL:t,timeout:6e4});return a.interceptors.response.use((e=>e),(e=>((0,m.Message)({showClose:!0,message:e,type:"warning",duration:0}),e))),a(e)});a(397);const g=e=>b({data:{url:"/api/JF/Info",method:"get",params:e}}),_=e=>b({data:{url:"/api/JF/SaveDetail",method:"POST",data:e}}),k=e=>b({data:{url:"/api/JF/JFImdg",method:"get",params:e}}),y=e=>b({data:{url:"/api/JF/JFPackage",method:"get",params:e}}),N=e=>b({data:{url:"/api/JF/JFUNNO/1/9999",method:"get",params:e}}),F=e=>b({data:{url:"/api/JF/JFUNNOLimit",method:"get",params:e}});var S={name:"ViewIndex",data(){return{tableData:{jFSubDtos:[{containerNumber:"",sealNumber:"",containerSize:"",tareMass:"",gson:[{unnoSufficSequence:"",imoClass:"",subrisk1:"",subrisk2:"",properShippingName:"",packingGroup:"",ems:"",marinePollutant:"",flashPoint:"",technicalName:"",Limittype:!1}]}]},JFImdgData:[],JFPackageData:[],UNNOData:[],JFUNNOLimitData:[],UNNOloading:!1}},mounted(){let e=this.$route.query.gid;e&&g({gid:e}).then((e=>{0==e.data.status&&e.data.rows.jFSubDtos&&(e.data.rows.jFSubDtos.forEach((e=>{e.gson.forEach((e=>{e.Limittype=!1}))})),this.tableData=e.data.rows)})),this.Init()},methods:{FnChangeUNNO(e,t){this.UNNOData.forEach((a=>{a.unno==e&&(t.unnoSufficSequence=a.suffix,t.imoClass=a.imO_CLASS,t.subrisk1=a.suB_HAZARD1,t.subrisk2=a.suB_HAZARD2,t.properShippingName=a.propeR_SHIPPING_NAME,t.packingGroup=a.packinG_GROUP,t.ems=a.ems,t.marinePollutant=a.marinE_POLLUTANT,t.flashPoint=a.flasH_POINT,t.technicalName=a.technicaL_NAME)})),this.FnCheckData(t)},FnChangeimoClass(e,t){this.FnCheckData(t)},FnCheckData(e){let t=!0;this.JFUNNOLimitData.forEach((a=>{a.unno==e.unno&&a.class==e.imoClass&&(t=!1)})),e.Limittype=!t},UNNOremoteMethod(e){""!==e?(this.UNNOloading=!0,N({UNNO:e}).then((t=>{this.UNNOloading=!1,this.UNNOData=t.data.rows.items.filter((t=>t.unno.toLowerCase().indexOf(e.toLowerCase())>-1))}))):this.UNNOData=[]},Init(){k().then((e=>{this.JFImdgData=e.data.rows})),y().then((e=>{this.JFPackageData=e.data.rows})),F().then((e=>{this.JFUNNOLimitData=e.data.rows}))},FnAddCheckbox(e){e.gson.push({unnoSufficSequence:"",imoClass:"",subrisk1:"",subrisk2:"",properShippingName:"",packingGroup:"",ems:"",marinePollutant:"",flashPoint:"",technicalName:"",Limittype:!1})},FnDelCheckbox(e){e.gson.forEach(((t,a)=>{t.CheckboxType&&e.gson.splice(a,1)}))},FnCopyCheckbox(e){e.gson.forEach(((t,a)=>{t.CheckboxType&&(t.CheckboxType=!1,e.gson.push(t))}))},FnSaveDRow(){let e=!0,t=["unno","imoClass","properShippingName","packingGroup","ems","packingCode","marinePollutant","packageQuantity","packageType","grossWeight","netWeight"];this.tableData.jFSubDtos.forEach((a=>{a.pid=this.$route.query.gid,a.gson.forEach((a=>{let s=[];s=a.Limittype?[...t,"controlTemperature","emergencyTemperature"]:t,s.forEach((t=>{a[t]||(e=!1)}))}))})),e?_(this.tableData.jFSubDtos).then((e=>{this.$message({message:"保存"+(0==e.data.status?"成功":"失败"),type:0==e.data.status?"success":"warning"})})):this.$message({message:"请补全必填项",type:"warning"})},FnAddRow(){this.tableData.jFSubDtos.push({gson:[{unnoSufficSequence:"",imoClass:"",subrisk1:"",subrisk2:"",properShippingName:"",packingGroup:"",ems:"",marinePollutant:"",flashPoint:"",technicalName:"",Limittype:!0}]})},FnDelRow(){this.$refs.tableRef.selection.forEach((e=>{this.tableData.jFSubDtos.forEach(((t,a)=>{e.gId==t.gId&&this.tableData.jFSubDtos.splice(a,1)}))}))},FnCopyRow(){this.$refs.tableRef.selection.forEach((e=>{this.tableData.jFSubDtos.forEach(((t,a)=>{e.gId==t.gId&&this.tableData.jFSubDtos.push(t)}))}))},FnTableClick(e,t,a,s){e[`Web_${t.property}_type`]=!0},FnTableCheckboxClick(e,t){e[`Web_${t}_type`]=!0},FnTableInputBlur(e,t){e[`Web_${t}_type`]=!1},FnTableCheckboxInputBlur(e,t){e[`Web_${t}_type`]=!1}}},x=S,D=(0,r.Z)(x,C,f,!1,null,"36647a20",null),w=D.exports;const P=[{path:"/",component:w},{path:"*",redirect:"/"}];s["default"].use(h.ZP),s["default"].use(v()),s["default"].config.productionTip=!1,s["default"].prototype.$axios=d();const R=new h.ZP({routes:P,mode:"hash"});new s["default"]({router:R,render:e=>e(p)}).$mount("#app")},46:function(){}},t={};function a(s){var i=t[s];if(void 0!==i)return i.exports;var n=t[s]={exports:{}};return e[s](n,n.exports,a),n.exports}a.m=e,function(){var e=[];a.O=function(t,s,i,n){if(!s){var l=1/0;for(p=0;p=n)&&Object.keys(a.O).every((function(e){return a.O[e](s[r])}))?s.splice(r--,1):(o=!1,n0&&e[p-1][2]>n;p--)e[p]=e[p-1];e[p]=[s,i,n]}}(),function(){a.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return a.d(t,{a:t}),t}}(),function(){a.d=function(e,t){for(var s in t)a.o(t,s)&&!a.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}}(),function(){a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){var e={143:0};a.O.j=function(t){return 0===e[t]};var t=function(t,s){var i,n,l=s[0],o=s[1],r=s[2],c=0;if(l.some((function(t){return 0!==e[t]}))){for(i in o)a.o(o,i)&&(a.m[i]=o[i]);if(r)var p=r(a)}for(t&&t(s);c\r\n \r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!../node_modules/_babel-loader@8.2.5@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/_vue-loader@15.10.0@vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!../node_modules/_babel-loader@8.2.5@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/_vue-loader@15.10.0@vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=7adf69d7&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=7adf69d7&prod&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/_vue-loader@15.10.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"main\"},[_c('p',{staticClass:\"CsTitle\"},[_vm._v(\"MULTIMODAL DANGEROUS GOODS FORM\")]),_c('p',{staticClass:\"CsHint\"},[_vm._v(\" This form may be used as a dangerous goods declaration as it meets the requirements of SOLAS 74, chapter VII, regulation 5; MARPOL 73/78,Annex III, regulation 4 and section 9 of the General Introduction to the IMDG Code. \")]),_c('div',{staticClass:\"CsTop flex column\",style:({ width: '100%' })},[_c('div',{staticClass:\"flex BB\"},[_c('div',{staticClass:\"F1 BR\"},[_c('p',[_vm._v(\"1.Shipper\")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.tableData.shipper)+\" \")])]),_c('div',{staticClass:\"F1\"},[_c('div',{staticClass:\"BB\"},[_c('p',[_vm._v(\"2.Transport document number\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.transportNumber))])]),_c('div',{staticClass:\"flex BB\"},[_c('p',[_vm._v(\"3.Page of pages\")]),_c('p',{staticClass:\"Csone\"},[_vm._v(\"   \"+_vm._s(_vm.tableData.pageOfPages))])]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F1 BR\"},[_c('p',[_vm._v(\"4.Shipper's reference\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.shipperReference))])]),_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"5.Freight forwarder's reference\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.freightForwarderReference))])])])])]),_c('div',{staticClass:\"flex BB\"},[_c('div',{staticClass:\"flex column F1 BR\"},[_c('div',{staticClass:\"F1 BB\"},[_c('p',[_vm._v(\"6.Consignee\")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.tableData.consignee)+\" \")])]),_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"7.Carrier (to be completed by the carrier)\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.carrier))])])]),_c('div',{staticClass:\"flex column F1\"},[_c('div',{staticClass:\"flex BB\"},[_c('div',{staticClass:\"F1 BR\"},[_c('p',[_vm._v(\"10.Vessel/flight no.and date\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.vesselOrflightNoAndDate))])]),_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"11.Port/place of loading\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.portPlaceOfLoading))])])]),_c('div',{staticClass:\"flex BB\"},[_c('div',{staticClass:\"F1 BR\"},[_c('p',[_vm._v(\"12.Port/place of discharge\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.portPlaceOfLoading))])]),_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"13.Destination\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.destination))])])]),_c('div',{staticClass:\"F1\"},[_vm._m(0),_c('p',[_vm._v(\" 24 hr Emergency contact person : \"),_c('el-input',{style:({ width: '40%', margin: '0 0 5px 15px' }),attrs:{\"placeholder\":\"请输入内容\",\"size\":\"small\"},model:{value:(_vm.tableData.contactPerson),callback:function ($$v) {_vm.$set(_vm.tableData, \"contactPerson\", $$v)},expression:\"tableData.contactPerson\"}}),_c('br'),_vm._v(\" 24 hr Emergency contact telephone: \"),_c('el-input',{style:({ width: '40%' }),attrs:{\"placeholder\":\"请输入内容\",\"size\":\"small\"},model:{value:(_vm.tableData.contactTelephone),callback:function ($$v) {_vm.$set(_vm.tableData, \"contactTelephone\", $$v)},expression:\"tableData.contactTelephone\"}}),_c('br')],1)])])]),_c('div',{staticClass:\"CsTopBox3 BB\"},[_c('p',[_vm._v(\"SHIPPER'S DECLARATION\")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.tableData.shipperdeclaration)+\" \")]),_c('p',{staticClass:\"CsFCRed\"},[_vm._v(\" 8.This shipment is within the limitations prescribed for: (Delete non-applicable) \")])]),_c('div',[_c('p',[_vm._v(\" 14.Shipment information Number and kind of packages; description of goods ( *see bottom) \")]),_c('p',[_vm._v(_vm._s(_vm.tableData.descriptionOfGoods))])])]),_c('el-table',{ref:\"tableRef\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData.jFSubDtos,\"border\":\"\",\"header-cell-class-name\":\"HeaderCell\",\"header-row-class-name\":\"HeaderRow\",\"cell-class-name\":\"Cellname\",\"row-class-name\":\"Rowname\"}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"align\":\"center\"}}),_c('el-table-column',{attrs:{\"type\":\"expand\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._l((scope.row.gson),function(item,index){return _c('el-checkbox',{key:index,staticClass:\"CsTableCheckbox\",model:{value:(item.CheckboxType),callback:function ($$v) {_vm.$set(item, \"CheckboxType\", $$v)},expression:\"item.CheckboxType\"}},[_c('div',{staticClass:\"flex column\"},[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"UN No\")]),_c('el-select',{style:({ width: '90%' }),attrs:{\"placeholder\":\"UN No\",\"filterable\":\"\",\"remote\":\"\",\"reserve-keyword\":\"\",\"remote-method\":_vm.UNNOremoteMethod,\"loading\":_vm.UNNOloading},on:{\"change\":(e) => {\n _vm.FnChangeUNNO(e, item);\n }},model:{value:(item.unno),callback:function ($$v) {_vm.$set(item, \"unno\", $$v)},expression:\"item.unno\"}},_vm._l((_vm.UNNOData),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.unno,\"value\":item.unno}})}),1)],1),_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Imo Class(Sub risk)\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Imo Class(Sub risk)\"},on:{\"change\":(e) => {\n _vm.FnChangeimoClass(e, item);\n }},model:{value:(item.imoClass),callback:function ($$v) {_vm.$set(item, \"imoClass\", $$v)},expression:\"item.imoClass\"}})],1),_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"Sub Risk1\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Sub Risk1\"},model:{value:(item.subrisk1),callback:function ($$v) {_vm.$set(item, \"subrisk1\", $$v)},expression:\"item.subrisk1\"}})],1),_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"Sub Risk2\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Sub Risk2\"},model:{value:(item.subrisk2),callback:function ($$v) {_vm.$set(item, \"subrisk2\", $$v)},expression:\"item.subrisk2\"}})],1)]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F2\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Proper Shipping Name\")]),_c('el-input',{style:({ width: '95%' }),attrs:{\"placeholder\":\"Proper Shipping Name\"},model:{value:(item.properShippingName),callback:function ($$v) {_vm.$set(item, \"properShippingName\", $$v)},expression:\"item.properShippingName\"}})],1),_c('div',{staticClass:\"F2\"},[_c('p',[_vm._v(\"Technical Name (if have)\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Technical Name (if have)\"},model:{value:(item.technicalName),callback:function ($$v) {_vm.$set(item, \"technicalName\", $$v)},expression:\"item.technicalName\"}})],1)]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Packing Group\")]),_c('el-select',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Packing Group\"},model:{value:(item.packingGroup),callback:function ($$v) {_vm.$set(item, \"packingGroup\", $$v)},expression:\"item.packingGroup\"}},[_c('el-option',{attrs:{\"label\":\"Ⅰ\",\"value\":\"1\"}}),_c('el-option',{attrs:{\"label\":\"Ⅱ\",\"value\":\"2\"}}),_c('el-option',{attrs:{\"label\":\"Ⅲ\",\"value\":\"3\"}})],1)],1),_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"EMS\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"EMS\"},model:{value:(item.ems),callback:function ($$v) {_vm.$set(item, \"ems\", $$v)},expression:\"item.ems\"}})],1),_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Packing Code\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Packing Code\"},model:{value:(item.packingCode),callback:function ($$v) {_vm.$set(item, \"packingCode\", $$v)},expression:\"item.packingCode\"}})],1),_c('div',{staticClass:\"F1\"})]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"Flash Point (if have )\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Flash Point (if have )\"},model:{value:(item.flashPoint),callback:function ($$v) {_vm.$set(item, \"flashPoint\", $$v)},expression:\"item.flashPoint\"}},[_c('template',{slot:\"append\"},[_vm._v(\"℃\")])],2)],1),_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Marine Pollutant(p or no)\")]),_c('el-select',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Marine Pollutant(p or no)\"},model:{value:(item.marinePollutant),callback:function ($$v) {_vm.$set(item, \"marinePollutant\", $$v)},expression:\"item.marinePollutant\"}},[_c('el-option',{attrs:{\"label\":\"P\",\"value\":\"P\"}}),_c('el-option',{attrs:{\"label\":\"N\",\"value\":\"N\"}})],1)],1),_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Package Quantity\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Package Quantity \"},model:{value:(item.packageQuantity),callback:function ($$v) {_vm.$set(item, \"packageQuantity\", $$v)},expression:\"item.packageQuantity\"}})],1),_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Package Type\")]),_c('el-select',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Package Type \"},model:{value:(item.packageType),callback:function ($$v) {_vm.$set(item, \"packageType\", $$v)},expression:\"item.packageType\"}},_vm._l((_vm.JFPackageData),function(item){return _c('el-option',{key:item.code,attrs:{\"label\":item.value,\"value\":item.code}})}),1)],1)]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"Inner Package\")]),_c('el-select',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Inner Package\"},model:{value:(item.innerPackage),callback:function ($$v) {_vm.$set(item, \"innerPackage\", $$v)},expression:\"item.innerPackage\"}},[_c('el-option',{attrs:{\"label\":\"PLASTICS INNER PACKAGINGS\",\"value\":\"PLASTICS INNER PACKAGINGS\"}}),_c('el-option',{attrs:{\"label\":\"PAPER INNER PACKAGINGS\",\"value\":\"PAPER INNER PACKAGINGS\"}}),_c('el-option',{attrs:{\"label\":\"METAL INNER PACKAGINGS\",\"value\":\"METAL INNER PACKAGINGS\"}}),_c('el-option',{attrs:{\"label\":\"GLASS INNER PACKAGINGS\",\"value\":\"GLASS INNER PACKAGINGS\"}})],1)],1),_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"Inner Package Type\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Inner Package Type\"},model:{value:(item.innerPackageType),callback:function ($$v) {_vm.$set(item, \"innerPackageType\", $$v)},expression:\"item.innerPackageType\"}})],1),_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Gross Weight\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Gross Weight \"},model:{value:(item.grossWeight),callback:function ($$v) {_vm.$set(item, \"grossWeight\", $$v)},expression:\"item.grossWeight\"}},[_c('template',{slot:\"append\"},[_vm._v(\"KGS\")])],2)],1),_c('div',{staticClass:\"F1\"},[_c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\"Net Weight\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"Net Weight \"},model:{value:(item.netWeight),callback:function ($$v) {_vm.$set(item, \"netWeight\", $$v)},expression:\"item.netWeight\"}},[_c('template',{slot:\"append\"},[_vm._v(\"KGS\")])],2)],1)]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\"NA number\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"美国货,按需填写\"},model:{value:(item.naNumber),callback:function ($$v) {_vm.$set(item, \"naNumber\", $$v)},expression:\"item.naNumber\"}})],1),_c('div',{staticClass:\"F1\"},[_c('p',[_vm._v(\" Reportable/Excepted/Limited Quantify \"),_c('el-tooltip',{staticClass:\"item\",attrs:{\"effect\":\"dark\",\"content\":\"美国RQs是指有害物质释放到环境中,对公众健康或环境造成重大危害的数量。根据CERCLA,当数量达到或超过规定的RQs时,必须通知联邦政府\",\"placement\":\"top\"}},[_c('i',{staticClass:\"el-icon-question\"})])],1),_c('el-select',{style:({ width: '90%' }),attrs:{\"placeholder\":\"美国RQs/可免除量/限量三选一\"},model:{value:(item.limitedQuantity),callback:function ($$v) {_vm.$set(item, \"limitedQuantity\", $$v)},expression:\"item.limitedQuantity\"}},[_c('el-option',{attrs:{\"label\":\"Reportable\",\"value\":\"Reportable\"}}),_c('el-option',{attrs:{\"label\":\"Excepted\",\"value\":\"Excepted\"}}),_c('el-option',{attrs:{\"label\":\"Limited\",\"value\":\"Limited\"}})],1)],1),_c('div',{staticClass:\"F1\"},[_c('p',[(item.Limittype)?_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]):_vm._e(),_vm._v(\" Control Temperature \")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"控制温度,特定UN填写\"},model:{value:(item.controlTemperature),callback:function ($$v) {_vm.$set(item, \"controlTemperature\", $$v)},expression:\"item.controlTemperature\"}})],1),_c('div',{staticClass:\"F1\"},[_c('p',[(item.Limittype)?_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]):_vm._e(),_vm._v(\" Emergency Temperature \")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"紧急温度,特定UN填写\"},model:{value:(item.emergencyTemperature),callback:function ($$v) {_vm.$set(item, \"emergencyTemperature\", $$v)},expression:\"item.emergencyTemperature\"}})],1)]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F2\"},[_c('p',[_vm._v(\"UNNO suffix/Sequence\")]),_c('el-input',{style:({ width: '90%' }),attrs:{\"placeholder\":\"UNNO suffix/Sequence\"},model:{value:(item.unnoSufficSequence),callback:function ($$v) {_vm.$set(item, \"unnoSufficSequence\", $$v)},expression:\"item.unnoSufficSequence\"}})],1),_c('div',{staticClass:\"F2\"},[_c('p',[_vm._v(\"IMDG Code Segregation Group\")]),_c('el-select',{style:({ width: '90%' }),attrs:{\"placeholder\":\"货物有隔离性需要选择\"},model:{value:(item.imdgCodeSegregationGroup),callback:function ($$v) {_vm.$set(item, \"imdgCodeSegregationGroup\", $$v)},expression:\"item.imdgCodeSegregationGroup\"}},_vm._l((_vm.JFImdgData),function(item){return _c('el-option',{key:item.code,attrs:{\"label\":item.value,\"value\":item.code}})}),1)],1)])])])}),_c('div',{staticClass:\"CsCheckboxButtonBox\"},[_c('el-button',{attrs:{\"icon\":\"el-icon-document-copy\",\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.FnCopyCheckbox(scope.row)}}},[_vm._v(\" 复制新增 \")]),_c('el-button',{attrs:{\"icon\":\"el-icon-plus\",\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":function($event){return _vm.FnAddCheckbox(scope.row)}}},[_vm._v(\" 新增 \")]),_c('el-button',{attrs:{\"icon\":\"el-icon-delete\",\"type\":\"primary\",\"size\":\"mini\",\"plain\":\"\"},on:{\"click\":function($event){return _vm.FnDelCheckbox(scope.row)}}},[_vm._v(\" 删除 \")])],1)]}}])}),_c('el-table-column',{attrs:{\"prop\":\"containerNumber\",\"label\":\"15.Container number\",\"width\":\"180\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{attrs:{\"placeholder\":\"Container number\"},model:{value:(scope.row.containerNumber),callback:function ($$v) {_vm.$set(scope.row, \"containerNumber\", $$v)},expression:\"scope.row.containerNumber\"}})]}}])}),_c('el-table-column',{attrs:{\"prop\":\"sealNumber\",\"label\":\"16.Seal number(s)\",\"width\":\"180\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{attrs:{\"placeholder\":\"Seal number(s)\"},model:{value:(scope.row.sealNumber),callback:function ($$v) {_vm.$set(scope.row, \"sealNumber\", $$v)},expression:\"scope.row.sealNumber\"}})]}}])}),_c('el-table-column',{attrs:{\"prop\":\"containerSize\",\"label\":\"17.Container Size & type\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{attrs:{\"placeholder\":\"Container Size & type\"},model:{value:(scope.row.containerSize),callback:function ($$v) {_vm.$set(scope.row, \"containerSize\", $$v)},expression:\"scope.row.containerSize\"}})]}}])}),_c('el-table-column',{attrs:{\"prop\":\"tareMass\",\"label\":\"18.Tare mass(kg)\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-input',{attrs:{\"placeholder\":\"Tare mass(kg)\"},model:{value:(scope.row.tareMass),callback:function ($$v) {_vm.$set(scope.row, \"tareMass\", $$v)},expression:\"scope.row.tareMass\"}})]}}])})],1),_c('div',{staticClass:\"CsButtonBox\"},[_c('el-button',{attrs:{\"icon\":\"el-icon-document-copy\",\"type\":\"text\"},on:{\"click\":_vm.FnCopyRow}},[_vm._v(\" 复制添加一行 \")]),_c('el-button',{attrs:{\"icon\":\"el-icon-plus\",\"type\":\"text\"},on:{\"click\":_vm.FnAddRow}},[_vm._v(\" 添加一行 \")]),_c('el-button',{attrs:{\"icon\":\"el-icon-delete\",\"type\":\"text\"},on:{\"click\":_vm.FnDelRow}},[_vm._v(\" 删除一行 \")]),_c('el-button',{attrs:{\"icon\":\"el-icon-upload\",\"type\":\"text\"},on:{\"click\":_vm.FnSaveDRow}},[_vm._v(\" 保存 \")])],1),_c('div',{staticClass:\"Csbottom flex column\",style:({ width: '100%' })},[_c('div',{staticClass:\"flex BB\"},[_c('div',{staticClass:\"F1 CsBox BR CsFCRed\"},[_c('p',{staticClass:\"CsFW\"},[_vm._v(\"CONTAINER/VEHICLE PACKING CERTIFICATE\")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.tableData.packingcertificate)+\" \")])]),_c('div',{staticClass:\"F1 CsBox CsFCRed\"},[_c('p',{staticClass:\"CsFW\"},[_vm._v(\"21.RECEIVING ORGANIZATION RECEIPT\")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.tableData.organizationreceipt)+\" \")])])]),_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"F1 CsBox BR\"},[_c('p',{staticClass:\"CsFW\"},[_vm._v(\"20.Name of company\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.nameOfCompany))]),_c('p',{staticClass:\"CsFW CsMt\"},[_vm._v(\"Name/status of declarant\")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.tableData.nameStatusDeclarant)+\" \")]),_c('p',{staticClass:\"CsFW CsMt\"},[_vm._v(\"Place and date\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.placeDate))]),_c('p',{staticClass:\"CsFW CsMt\"},[_vm._v(\"Signature of declarant\")]),_c('p',{staticClass:\"CsFW\"},[_vm._v(_vm._s(_vm.tableData.signatureDeclarant))])]),_c('div',{staticClass:\"F1 CsBox\"},[_c('p',{staticClass:\"CsFW\"},[_vm._v(\"22.Name of company\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.nameOfCompany))]),_c('p',{staticClass:\"CsFW CsMt\"},[_vm._v(\"Name/status of declarant\")]),_c('p',[_vm._v(\" \"+_vm._s(_vm.tableData.nameStatusDeclarant)+\" \")]),_c('p',{staticClass:\"CsFW CsMt\"},[_vm._v(\"Place and date\")]),_c('p',[_vm._v(_vm._s(_vm.tableData.placeDate))]),_c('p',{staticClass:\"CsFW CsMt\"},[_vm._v(\"Signature of declarant\")]),_c('p',{staticClass:\"CsFW\"},[_vm._v(\" \"+_vm._s(_vm.tableData.signatureDeclarant))])])])]),_vm._m(1)],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('p',[_c('span',{staticClass:\"RXing\"},[_vm._v(\"*\")]),_vm._v(\" 9.Additional handling information \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"CsBottom\"},[_c('p',[_vm._v(\"* DANGEROUS GOODS:\")]),_c('p',[_vm._v(\" You must specify: UN No., proper shipping name/correct technical name, IMO hazard class (subrisk), Packaging group (where assigned), Marine \")])])\n}]\n\nexport { render, staticRenderFns }","import axios from \"axios\";\r\nimport { Message } from \"element-ui\";\r\nexport default ({ data }) => {\r\n const baseURL = process.env.VUE_APP_AXIOS_BASEURL;\r\n const server = axios.create({\r\n baseURL,\r\n timeout: 60000,\r\n });\r\n server.interceptors.response.use(\r\n (req) => {\r\n // if (req.data.code != 200) {\r\n // Message({\r\n // showClose: true,\r\n // message: req.data.message ? req.data.message : req.data.msg,\r\n // type: \"warning\",\r\n // duration: 0,\r\n // });\r\n // } else {\r\n // // Message({\r\n // // message: req.data.message ? req.data.message : req.data.msg,\r\n // // type: \"success\",\r\n // // duration: 500,\r\n // // });\r\n // }\r\n return req;\r\n },\r\n (err) => {\r\n Message({\r\n showClose: true,\r\n message: err,\r\n type: \"warning\",\r\n duration: 0,\r\n });\r\n return err;\r\n }\r\n );\r\n return server(data);\r\n};\r\n","import request from \"@/utils/axios\";\r\nimport qs from \"qs\";\r\nimport http from \"@/utils/http\";\r\n//获取链接详情\r\nconst getInfo = (params) => {\r\n return request({\r\n data: {\r\n url: \"/api/JF/Info\",\r\n method: \"get\",\r\n params,\r\n },\r\n });\r\n};\r\n//保存详情\r\nconst SaveDetail = (data) => {\r\n return request({\r\n data: {\r\n url: \"/api/JF/SaveDetail\",\r\n method: \"POST\",\r\n data,\r\n },\r\n });\r\n};\r\n// Imdg\r\nconst JFImdg = (params) => {\r\n return request({\r\n data: {\r\n url: \"/api/JF/JFImdg\",\r\n method: \"get\",\r\n params,\r\n },\r\n });\r\n};\r\n// package\r\nconst JFPackage = (params) => {\r\n return request({\r\n data: {\r\n url: \"/api/JF/JFPackage\",\r\n method: \"get\",\r\n params,\r\n },\r\n });\r\n};\r\n// UNNO\r\nconst JFUNNO = (params) => {\r\n return request({\r\n data: {\r\n url: \"/api/JF/JFUNNO/1/9999\",\r\n method: \"get\",\r\n params,\r\n },\r\n });\r\n};\r\n// unno 限制页\r\nconst JFUNNOLimit = (params) => {\r\n return request({\r\n data: {\r\n url: \"/api/JF/JFUNNOLimit\",\r\n method: \"get\",\r\n params,\r\n },\r\n });\r\n};\r\nexport { getInfo, SaveDetail, JFImdg, JFPackage, JFUNNO, JFUNNOLimit };\r\n","\r\n\r\n\r\n","import mod from \"-!../../node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.5@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/_vue-loader@15.10.0@vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.5@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/_vue-loader@15.10.0@vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=36647a20&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=36647a20&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.10.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"36647a20\",\n null\n \n)\n\nexport default component.exports","import ViewIndex from \"../views/index.vue\";\r\nexport const routes = [\r\n { path: \"/\", component: ViewIndex },\r\n { path: \"*\", redirect: \"/\" },\r\n];\r\n","import Vue from \"vue\";\r\nimport App from \"./App.vue\";\r\nimport axios from \"axios\";\r\nimport ElementUI from \"element-ui\";\r\nimport VueRouter from \"vue-router\";\r\nimport \"element-ui/lib/theme-chalk/index.css\";\r\nimport { routes } from \"./utils/routes.js\";\r\nVue.use(VueRouter);\r\nVue.use(ElementUI);\r\nVue.config.productionTip = false;\r\nVue.prototype.$axios = axios;\r\nconst router = new VueRouter({\r\n routes: routes,\r\n // mode: \"history\", //去掉#\r\n mode: \"hash\",\r\n});\r\nnew Vue({\r\n router: router,\r\n render: (h) => h(App),\r\n}).$mount(\"#app\");\r\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkvue\"] = self[\"webpackChunkvue\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(405); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["render","_vm","this","_c","_self","staticRenderFns","name","component","staticClass","_v","style","width","_s","tableData","shipper","transportNumber","pageOfPages","shipperReference","freightForwarderReference","consignee","carrier","vesselOrflightNoAndDate","portPlaceOfLoading","destination","_m","margin","attrs","model","value","contactPerson","callback","$$v","$set","expression","contactTelephone","shipperdeclaration","descriptionOfGoods","ref","staticStyle","jFSubDtos","scopedSlots","_u","key","fn","scope","_l","row","gson","item","index","CheckboxType","UNNOremoteMethod","UNNOloading","on","e","FnChangeUNNO","unno","UNNOData","id","FnChangeimoClass","imoClass","subrisk1","subrisk2","properShippingName","technicalName","packingGroup","ems","packingCode","flashPoint","slot","marinePollutant","packageQuantity","packageType","JFPackageData","code","innerPackage","innerPackageType","grossWeight","netWeight","naNumber","limitedQuantity","Limittype","_e","controlTemperature","emergencyTemperature","unnoSufficSequence","imdgCodeSegregationGroup","JFImdgData","$event","FnCopyCheckbox","FnAddCheckbox","FnDelCheckbox","containerNumber","sealNumber","containerSize","tareMass","FnCopyRow","FnAddRow","FnDelRow","FnSaveDRow","packingcertificate","organizationreceipt","nameOfCompany","nameStatusDeclarant","placeDate","signatureDeclarant","data","baseURL","process","server","axios","timeout","interceptors","response","use","req","err","Message","showClose","message","type","duration","getInfo","params","request","url","method","SaveDetail","JFImdg","JFPackage","JFUNNO","JFUNNOLimit","JFUNNOLimitData","mounted","gid","res","item2","methods","FnCheckData","UNNO","Init","Arr2","FnTableClick","FnTableCheckboxClick","FnTableInputBlur","FnTableCheckboxInputBlur","routes","path","ViewIndex","redirect","Vue","VueRouter","ElementUI","router","mode","h","App","$mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","deferred","O","result","chunkIds","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","Function","window","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","forEach","bind","push","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/src/views/index.vue b/src/views/index.vue index 6d8138e..f61226e 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -167,7 +167,7 @@ v-model="item.imoClass" :style="{ width: '90%' }" placeholder="Imo Class(Sub risk)" - @change=" + @input=" (e) => { FnChangeimoClass(e, item); } @@ -201,7 +201,10 @@ >
-

Technical Name (if have)

+

+ * + Technical Name (if have) +

@@ -298,8 +306,16 @@

Inner Package

- +
+
+

Inner Package Type

+ @@ -325,14 +341,6 @@
-
-

Inner Package Type

- -

*Gross Weight

0 ? false : true; + data = Math.abs(data).toString(); + if (data.split(".").length == 2) { + let num = 0; + num = data.split(".")[0].length + data.split(".")[1].length; + if (num == 2) { + item.flashPoint = `0${data.split(".")[0]}.${data.split(".")[1]}`; + } + } else { + switch (data.length) { + case 1: + data = `00${data}`; + break; + case 2: + data = `0${data}`; + break; + default: + break; + } + item.flashPoint = data; + } + if (Negative) { + item.flashPoint = `-${item.flashPoint}`; + } + }, FnChangeUNNO(e, data) { this.UNNOData.forEach((item) => { if (item.unno == e) { @@ -696,7 +733,11 @@ export default { data.ems = item.ems; data.marinePollutant = item.marinE_POLLUTANT; data.flashPoint = item.flasH_POINT; - data.technicalName = item.technicaL_NAME; + if (item.technicaL_NAME == "*") { + data.technicalNameType = true; + } else { + data.technicalNameType = false; + } } }); this.FnCheckData(data); @@ -749,6 +790,7 @@ export default { marinePollutant: "", flashPoint: "", technicalName: "", + technicalNameType: false, Limittype: false, }); }, @@ -792,6 +834,9 @@ export default { } else { Arr2 = Arr; } + if (item2.technicalNameType) { + Arr2 = [...Arr2, "technicalName"]; + } Arr2.forEach((i) => { if (!item2[i]) { type = false; @@ -799,8 +844,14 @@ export default { }); }); }); + let Arr2 = ["contactTelephone", "contactPerson"]; + Arr2.forEach((item) => { + if (!this.tableData[item]) { + type = false; + } + }); if (type) { - SaveDetail(this.tableData.jFSubDtos).then((res) => { + SaveDetail(this.tableData).then((res) => { this.$message({ message: `保存${res.data.status == 0 ? "成功" : "失败"}`, type: res.data.status == 0 ? "success" : "warning", @@ -845,7 +896,16 @@ export default { this.$refs.tableRef.selection.forEach((item) => { this.tableData.jFSubDtos.forEach((item2, index2) => { if (item.gId == item2.gId) { - this.tableData.jFSubDtos.push(item2); + let { containerNumber, sealNumber, containerSize, tareMass, gson } = + item2; + + this.tableData.jFSubDtos.push({ + containerNumber, + sealNumber, + containerSize, + tareMass, + gson, + }); } }); }); @@ -880,9 +940,9 @@ export default { border-right: 3px solid #dd5643 !important; } } -/deep/.HeaderRow { - // background: #ffefe7 !important; -} +// /deep/.HeaderRow { +// // background: #ffefe7 !important; +// } /deep/.Cellname { color: #dd5643; border-top: 0px solid #dd5643 !important; @@ -896,8 +956,8 @@ export default { border-right: 3px solid #dd5643 !important; } } -/deep/.Rowname { -} +// /deep/.Rowname { +// } /deep/.el-table__expanded-cell { border-left: 2px solid #52a5fa !important; border-right: 3px solid #52a5fa !important;