You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
23 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7d56915c"],{"0025":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,".el-row{margin-bottom:10px}.el-link{margin-top:10px}.el-form{margin-top:25px}.el-form-item{margin-bottom:0!important}.search-form .el-select{display:block}.el-form .el-input__inner{height:36px}.el-form .el-row .el-col{padding-left:0!important;padding-right:0!important}.eldate-datetime{height:36px!important;width:180px!important}.eldate-date{height:36px!important;width:140px!important}.search-btn .el-button--default{padding:13px 20px!important}.el-table--border{border-right:1px solid #ebeef5}.pagetable .el-table{margin-top:10px;margin-left:15px;min-height:600px}.el-table table thead tr th{border-top:none;border-right:none}.el-table table tbody tr td{border:none}.el-pagination{margin-top:15px;margin-right:40px;float:right}.dialog-form.el-form .el-form-item{margin-bottom:20px!important}.el-input-number .el-input input{height:40px!important}.el-delete:hover{background:#fff0f0}.span_red{color:red}.el-dialog__headerbtn{font-size:24px}.el-dialog__headerbtn:hover{background-color:#cecaca}",""]),t.exports=e},"121a":function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"e",(function(){return d}));var a=n("b775"),c=n("2d46");function r(){return Object(c["a"])("tools/getdictlist")}function i(t,e){return Object(a["a"])({url:"tools/getdjydict/"+t,method:"get",params:e})}function o(t){return Object(a["a"])({url:"tools/getdictkeylist/"+t,method:"get"})}function s(t){return Object(a["a"])({url:"tools/getdictlist/"+t})}function d(t){var e="/api/tools/download?name="+encodeURI(t);return e}},"2ccb":function(t,e,n){"use strict";n("9684")},"408a":function(t,e,n){var a=n("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=a(t))throw TypeError("Incorrect invocation");return+t}},"4f70":function(t,e,n){var a=n("24fb"),c=n("0025");e=a(!1),e.i(c),e.push([t.i,".checkok{color:#06c40d}.checknot{color:#f80612}.checkinfo{position:absolute;top:0;right:2px;font-size:12px}.customs-declaration{width:1120px;margin:0 auto;font-size:14px}.customs-declaration .title{font-size:24px;text-align:center;font-family:SimSun;font-weight:700;margin-bottom:25px}.customs-declaration .el-col{color:#454545}.customs-declaration .el-col strong{color:#000}.customs-declaration .list-table{border-collapse:collapse;width:100%;border:2px solid #000}.customs-declaration .list-table thead tr th{padding-left:5px}.customs-declaration .list-table tbody tr{border-bottom:2px solid #000}.customs-declaration .list-table tbody tr td{padding-left:5px;border-right:2px solid #000;color:#454545;cursor:pointer;position:relative}.customs-declaration .list-table tbody tr td strong{color:#000}.border-none{border-top:0!important;padding:10px}.border-none tbody tr td strong{margin-right:5px}.border-none tbody tr,.border-none tbody tr td{border:none!important}",""]),t.exports=e},"6fd2":function(t,e,n){"use strict";n.d(e,"g",(function(){return r})),n.d(e,"i",(function(){return i})),n.d(e,"f",(function(){return o})),n.d(e,"l",(function(){return s})),n.d(e,"j",(function(){return d})),n.d(e,"h",(function(){return u})),n.d(e,"b",(function(){return l})),n.d(e,"k",(function(){return f})),n.d(e,"d",(function(){return _})),n.d(e,"c",(function(){return g})),n.d(e,"e",(function(){return h})),n.d(e,"a",(function(){return v}));var a=n("2d46"),c="baoguan";function r(){return Object(a["a"])(c+"/gettoken")}function i(t){return Object(a["a"])(c,t)}function o(t){return Object(a["a"])(c+"/export",t)}function s(t){return Object(a["b"])(c,t)}function d(t){return Object(a["b"])(c+"/ordercheck",t)}function u(t){return Object(a["a"])(c+"/"+t)}function l(t){return Object(a["b"])(c+"/bindclient",t)}function f(t){return Object(a["b"])(c+"/sendmail",t)}function _(t){return Object(a["a"])(c+"/client",t)}function g(t){return Object(a["b"])(c+"/client",t)}function h(t){return Object(a["b"])(c+"/client/up",t)}function v(){return Object(a["b"])(c+"/baoguanjob")}},9684:function(t,e,n){var a=n("4f70");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var c=n("499e").default;c("d282abb4",a,!0,{sourceMap:!1,shadowMode:!1})},b680:function(t,e,n){"use strict";var a=n("23e7"),c=n("a691"),r=n("408a"),i=n("1148"),o=n("d039"),s=1..toFixed,d=Math.floor,u=function(t,e,n){return 0===e?n:e%2===1?u(t,e-1,n*t):u(t*t,e/2,n)},l=function(t){var e=0,n=t;while(n>=4096)e+=12,n/=4096;while(n>=2)e+=1,n/=2;return e},f=s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!o((function(){s.call({})}));a({target:"Number",proto:!0,forced:f},{toFixed:function(t){var e,n,a,o,s=r(this),f=c(t),_=[0,0,0,0,0,0],g="",h="0",v=function(t,e){var n=-1,a=e;while(++n<6)a+=t*_[n],_[n]=a%1e7,a=d(a/1e7)},p=function(t){var e=6,n=0;while(--e>=0)n+=_[e],_[e]=d(n/t),n=n%t*1e7},b=function(){var t=6,e="";while(--t>=0)if(""!==e||0===t||0!==_[t]){var n=String(_[t]);e=""===e?n:e+i.call("0",7-n.length)+n}return e};if(f<0||f>20)throw RangeError("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return String(s);if(s<0&&(g="-",s=-s),s>1e-21)if(e=l(s*u(2,69,1))-69,n=e<0?s*u(2,-e,1):s/u(2,e,1),n*=4503599627370496,e=52-e,e>0){v(0,n),a=f;while(a>=7)v(1e7,0),a-=7;v(u(10,a,1),0),a=e-1;while(a>=23)p(1<<23),a-=23;p(1<<a),v(1,1),p(2),h=b()}else v(0,n),v(1<<-e,0),h=b()+i.call("0",f);return f>0?(o=h.length,h=g+(o<=f?"0."+i.call("0",f-o)+h:h.slice(0,o-f)+"."+h.slice(o-f))):h=g+h,h}})},cfca:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.data_bgcheck.data?n("div",{staticClass:"customs-declaration"},[n("el-row",[n("h1",{staticClass:"title"},[t._v("中华人民共和国海关出口货物报关单")])]),n("el-row",{staticStyle:{"margin-bottom":"5px"},attrs:{gutter:24}},[n("el-col",{attrs:{span:7}},[n("strong",[t._v("报关订单号:")]),t._v(t._s(t.data_order.uniqueNumber))]),n("el-col",{attrs:{span:7}},[n("strong",[t._v("报关单号:")]),t._v(t._s(t.data_order.customsNo))]),n("el-col",{attrs:{span:7}},[n("strong",[t._v("提单号:")]),t._v(t._s(t.data_order.shipOrderNo)+" ")])],1),n("el-row",[n("table",{staticClass:"list-table",staticStyle:{"border-bottom":"0px"}},[n("tbody",[n("tr",[n("td",{on:{click:function(e){return t.fun_check("DecHead.TradeCode")}}},[n("strong",[t._v("境内发货人")]),t._v("("+t._s(t.fun_getdatavalue("DecHead.TradeCode"))+")"),n("br"),t._v(t._s(t.fun_getdatavalue("DecHead.TradeName"))+" "),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.TradeCode"))}})]),n("td",{on:{click:function(e){return t.fun_check("DecHead.IEPort")}}},[n("strong",[t._v("出境关别")]),t._v("("+t._s(t.fun_getdatavalue("DecHead.IEPort"))+")"),n("br"),t._v(t._s(t.fun_getdict("关区代码",t.fun_getdatavalue("DecHead.IEPort")))+" "),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.IEPort"))}})]),n("td",[n("strong",[t._v("出口日期")]),n("br")]),n("td",[n("strong",[t._v("申报日期")]),n("br")]),n("td",[n("strong",[t._v("备案号")]),n("br")])]),n("tr",[n("td",{on:{click:function(e){return t.fun_check("DecHead.OverseasConsigneeEname")}}},[n("strong",[t._v("境外收货人")]),n("br"),t._v(t._s(t.fun_getdatavalue("DecHead.OverseasConsigneeEname"))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.OverseasConsigneeEname"))}})]),n("td",{on:{click:function(e){return t.fun_check("DecHead.TrafMode")}}},[n("strong",[t._v("运输方式")]),t._v("("+t._s(t.fun_getdatavalue("DecHead.TrafMode"))+")"),n("br"),t._v(t._s(t.fun_getdict("运输方式",t.fun_getdatavalue("DecHead.TrafMode")))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.TrafMode"))}})]),n("td",{on:{click:function(e){return t.fun_check("DecHead.TrafName")}}},[n("strong",[t._v("运输工具名称及航次号")]),n("br"),t._v(t._s(t.fun_getdatavalue("DecHead.TrafName",null,!1))+" "+t._s(t.fun_getdatavalue("DecHead.cusVoyageNo",null,!1,"/"))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.TrafName"))}})]),n("td",{attrs:{colspan:"4"},on:{click:function(e){return t.fun_check("DecHead.BillNo")}}},[n("strong",[t._v("提运单号")]),n("br"),t._v(t._s(t.fun_getdatavalue("DecHead.BillNo",null,!1))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.BillNo"))}})])]),n("tr",[n("td",{on:{click:function(e){return t.fun_check("DecHead.OwnerCodeScc")}}},[n("strong",[t._v("生产销售单位")]),t._v("("+t._s(t.fun_getdatavalue("DecHead.OwnerCodeScc"))+")"),n("br"),t._v(t._s(t.fun_getdatavalue("DecHead.OwnerName"))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.OwnerCodeScc"))}})]),n("td",{on:{click:function(e){return t.fun_check("DecHead.TradeMode")}}},[n("strong",[t._v("监管方式")]),t._v("("+t._s(t.fun_getdatavalue("DecHead.TradeMode"))+")"),n("br"),t._v(t._s(t.fun_getdict("监管方式",t.fun_getdatavalue("DecHead.TradeMode")))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.TradeMode"))}})]),n("td",{on:{click:function(e){return t.fun_check("DecHead.CutMode")}}},[n("strong",[t._v("征免性质")]),t._v("("+t._s(t.fun_getdatavalue("DecHead.CutMode"))+")"),n("br"),t._v(t._s(t.fun_getdict("免征性质",t.fun_getdatavalue("DecHead.CutMode")))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.CutMode"))}})]),n("td",{attrs:{colspan:"4"},on:{click:function(e){return t.fun_check("DecHead.LicenseNo")}}},[n("strong",[t._v("许可证号")]),n("br"),t._v(t._s(t.fun_getdatavalue("DecHead.LicenseNo",null,!1))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.LicenseNo"))}})])]),n("tr",{staticStyle:{"border-bottom":"0px"}},[n("td",{on:{click:function(e){return t.fun_check("DecHead.ContrNo")}}},[n("strong",[t._v("合同协议号")]),n("br"),t._v(t._s(t.fun_getdatavalue("DecHead.ContrNo"))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.ContrNo"))}})]),n("td",{on:{click:function(e){return t.fun_check("DecHead.TradeAreaCode")}}},[n("strong",[t._v("贸易国(地区)")]),t._v("("+t._s(t.fun_getdatavalue("DecHead.TradeAreaCode"))+")"),n("br"),t._v(t._s(t.fun_getdict("原产地区",t.fun_getdatavalue("DecHead.TradeAreaCode")))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.TradeAreaCode"))}})]),n("td",{on:{click:function(e){return t.fun_check("DecHead.TradeCountry")}}},[n("strong",[t._v("运抵国(地区)")]),t._v("("+t._s(t.fun_getdatavalue("DecHead.TradeCountry"))+")"),n("br"),t._v(t._s(t.fun_getdict("原产地区",t.fun_getdatavalue("DecHead.TradeCountry")))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.TradeCountry"))}})]),n("td",{on:{click:function(e){return t.fun_check("DecHead.DistinatePort")}}},[n("strong",[t._v("指运港")]),t._v("("+t._s(t.fun_getdatavalue("DecHead.DistinatePort"))+")"),n("br"),t._v(t._s(t.fun_getdict("港口代码表",t.fun_getdatavalue("DecHead.DistinatePort")))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.DistinatePort"))}})]),n("td",{on:{click:function(e){return t.fun_check("DecHead.EntyPortCode")}}},[n("strong",[t._v("离境口岸")]),t._v("("+t._s(t.fun_getdatavalue("DecHead.EntyPortCode"))+")"),n("br"),t._v(t._s(t.fun_getdict("国内口岸",t.fun_getdatavalue("DecHead.EntyPortCode")))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.EntyPortCode"))}})])])])]),n("table",{staticClass:"list-table",staticStyle:{"border-bottom":"0px"}},[n("tbody",[n("tr",[n("td",{staticStyle:{width:"31.5%"},on:{click:function(e){return t.fun_check("DecHead.WrapType")}}},[n("strong",[t._v("包装种类")]),t._v("("+t._s(t.fun_getdatavalue("DecHead.WrapType"))+")"),n("br"),t._v(t._s(t.fun_getdict("包装种类",t.fun_getdatavalue("DecHead.WrapType")))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.WrapType"))}})]),n("td",{on:{click:function(e){return t.fun_check("DecHead.PackNo")}}},[n("strong",[t._v("件数")]),n("br"),t._v(t._s(t.fun_getdatavalue("DecHead.PackNo"))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.PackNo"))}})]),n("td",{staticStyle:{width:"8.6%"},on:{click:function(e){return t.fun_check("DecHead.GrossWet")}}},[n("strong",[t._v("毛重(千克)")]),n("br"),t._v(t._s(t.fun_getdatavalue("DecHead.GrossWet"))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.GrossWet"))}})]),n("td",{staticStyle:{width:"10%"},on:{click:function(e){return t.fun_check("DecHead.NetWt")}}},[n("strong",[t._v("净重(千克)")]),n("br"),t._v(t._s(t.fun_getdatavalue("DecHead.NetWt"))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.NetWt"))}})]),n("td",{staticStyle:{width:"9.3%"},on:{click:function(e){return t.fun_check("DecHead.TransMode")}}},[n("strong",[t._v("成交方式")]),t._v("("+t._s(t.fun_getdatavalue("DecHead.TransMode"))+")"),n("br"),t._v(" "+t._s(t.fun_getdict("成交方式",t.fun_getdatavalue("DecHead.TransMode")))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.TransMode"))}})]),n("td",{on:{click:function(e){return t.fun_check("DecHead.FeeCurr")}}},[n("strong",[t._v("运费")]),n("br"),t._v(t._s(t.fun_getdatavalueFormat(t.fun_getdatavalue("DecHead.FeeCurr",null,!1)+"/"+t.fun_getdatavalue("DecHead.FeeRate",null,!0)+"/"+t.fun_getdatavalue("DecHead.FeeMark",null,!0)))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.FeeCurr"))}})]),n("td",{on:{click:function(e){return t.fun_check("DecHead.InsurCurr")}}},[n("strong",[t._v("保费")]),n("br"),t._v(t._s(t.fun_getdatavalueFormat(t.fun_getdatavalue("DecHead.InsurCurr",null,!1)+"/"+t.fun_getdatavalue("DecHead.InsurRate",null,!0)+"/"+t.fun_getdatavalue("DecHead.InsurMark",null,!0)))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.InsurCurr"))}})]),n("td",{on:{click:function(e){return t.fun_check("DecHead.OtherCurr")}}},[n("strong",[t._v("杂费")]),n("br"),t._v(t._s(t.fun_getdatavalue("DecHead.OtherCurr",null,!1))),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.OtherCurr"))}})])]),n("tr",{on:{click:function(e){return t.fun_check("DecHead.Accessory")}}},[n("td",{attrs:{colspan:"8"}},[n("strong",[t._v("随附单证及编号")]),n("br"),n("div",{domProps:{innerHTML:t._s(t.fun_getremark("accessory"))}}),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.Accessory"))}})])]),n("tr",{staticStyle:{"border-bottom":"0px"},on:{click:function(e){return t.fun_check("DecHead.Mark")}}},[n("td",{attrs:{colspan:"8"}},[n("strong",[t._v("标记唛码及备注")]),n("br"),n("div",{domProps:{innerHTML:t._s(t.fun_getremark("mark"))}}),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.Mark"))}})])])])]),n("table",{staticClass:"list-table"},[n("thead",[n("tr",{staticStyle:{"border-bottom":"2px solid #000"}},[n("th",{staticStyle:{"text-align":"left",width:"40px"}},[n("strong",[t._v("项号")])]),n("th",{staticStyle:{"text-align":"left",width:"110px"}},[n("strong",[t._v("商品编号")])]),n("th",{staticStyle:{"text-align":"left"}},[n("strong",[t._v("商品名称及规格型号")])]),n("th",{staticStyle:{"text-align":"left",width:"100px"}},[n("strong",[t._v("数量及单位")])]),n("th",{staticStyle:{"text-align":"left",width:"100px"}},[n("strong",[t._v("单价/总价/币制")])]),n("th",{staticStyle:{"text-align":"left",width:"100px"}},[n("strong",[t._v("原产国(地区)")])]),n("th",{staticStyle:{"text-align":"left",width:"120px"}},[n("strong",[t._v("最终目的国(地区)")])]),n("th",{staticStyle:{"text-align":"left",width:"100px"}},[n("strong",[t._v("境内货源地")])]),n("th",{staticStyle:{"text-align":"left",width:"80px"}},[n("strong",[t._v("征免")])])])]),n("tbody",t._l(t.data_bgcheck.data.DecLists.DecList,(function(e){return n("tr",{key:e.GNo,staticStyle:{height:"67px"},on:{click:function(n){return t.fun_check("DecList."+e.GNo)}}},[n("td",{staticStyle:{"border-right":"0px"},attrs:{valign:"top"}},[t._v(t._s(e.GNo))]),n("td",{staticStyle:{"border-right":"0px"},attrs:{valign:"top"}},[t._v(t._s(e.CodeTS))]),n("td",{staticStyle:{"border-right":"0px"},attrs:{valign:"top"}},[t._v(t._s(e.GName)),n("br"),t._v(t._s(e.GModel))]),n("td",{staticStyle:{"border-right":"0px"},attrs:{valign:"top"}},[t._v(t._s(t.fun_getdatavalue("FirstQty",e)+" "+t.fun_getdict("计量单位",t.fun_getdatavalue("FirstUnit",e,!1)))),n("br"),t._v("-"),n("br"),t._v(t._s(t.fun_getdatavalue("GQty",e)+" "+t.fun_getdict("计量单位",t.fun_getdatavalue("GUnit",e,!1))))]),n("td",{staticStyle:{"border-right":"0px"},attrs:{valign:"top"}},[t._v(t._s(e.DeclPrice)),n("br"),t._v(t._s(e.DeclTotal)),n("br"),t._v(t._s(t.fun_getdict("货币代码",e.TradeCurr)))]),n("td",{staticStyle:{"border-right":"0px"},attrs:{valign:"top"}},[t._v(t._s(t.fun_getdict("原产地区",e.DestinationCountry))),n("br"),t._v("("+t._s(e.DestinationCountry)+")")]),n("td",{staticStyle:{"border-right":"0px"},attrs:{valign:"top"}},[t._v(t._s(t.fun_getdict("原产地区",e.OriginCountry))),n("br"),t._v("("+t._s(e.OriginCountry)+")")]),n("td",{staticStyle:{"border-right":"0px"},attrs:{valign:"top"}},[t._v(t._s(t.fun_getdict("国内地区",e.DistrictCode))),n("br"),t._v("("+t._s(e.DistrictCode)+")")]),n("td",{staticStyle:{"border-right":"0px"},attrs:{valign:"top"}},[t._v(t._s(t.fun_getdict("征减免税方式",e.DutyMode))),n("br"),t._v("("+t._s(e.DutyMode)+") "),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecList."+e.GNo))}})])])})),0)]),n("table",{staticClass:"list-table border-none"},[n("tbody",[n("tr",[n("td",{staticStyle:{"padding-top":"15px","padding-left":"15px"}},[n("strong",[t._v("报关人员")])]),n("td",[n("strong",[t._v("报关人员证号")])]),n("td",[n("strong",[t._v("电话")])]),n("td",{staticStyle:{"text-align":"right","padding-right":"15px"}},[n("strong",[t._v("兹申明对以上内容承担如实申报、依法纳税之法律责任")])])]),n("tr",[n("td",{staticStyle:{width:"50%","padding-top":"10px","padding-bottom":"15px","padding-left":"15px"},attrs:{colspan:"2"},on:{click:function(e){return t.fun_check("DecHead.AgentCodeScc")}}},[n("strong",[t._v("申报单位")]),t._v("("+t._s(t.fun_getdatavalue("DecHead.AgentCodeScc"))+")"+t._s(t.fun_getdatavalue("DecHead.AgentName"))+" "),n("div",{staticClass:"checkinfo",domProps:{innerHTML:t._s(t.fun_getcheckinfo("DecHead.AgentCodeScc"))}})]),n("td",{staticStyle:{width:"50%","text-align":"right","padding-right":"15px"},attrs:{colspan:"2"}},[n("strong",[t._v("申报单位(签章)")])])])])])])],1):t._e(),n("el-dialog",{attrs:{width:"500px",visible:t.data_check.win_show},on:{"update:visible":function(e){return t.$set(t.data_check,"win_show",e)}}},[n("el-row",[n("el-col",{attrs:{span:14}},[n("el-input",{attrs:{placeholder:"要备注的修改内容"},model:{value:t.data_check.info.demo,callback:function(e){t.$set(t.data_check.info,"demo",e)},expression:"data_check.info.demo"}})],1),n("el-col",{attrs:{span:4}},[n("el-tooltip",{attrs:{content:"保存备注"}},[n("el-button",{staticStyle:{"margin-left":"5px"},attrs:{type:"primary",icon:"el-icon-edit",circle:""},on:{click:function(e){return t.fun_checksave(1)}}})],1)],1),n("el-col",{attrs:{span:4}},[n("el-tooltip",{attrs:{content:"审核保存"}},[n("el-button",{attrs:{type:"success",icon:"el-icon-check",circle:""},on:{click:function(e){return t.fun_checksave(100)}}})],1)],1)],1)],1)],1)},c=[],r=(n("e9c4"),n("d3b7"),n("159b"),n("ac1f"),n("1276"),n("b680"),n("4de4"),n("837c"),n("6fd2")),i=n("121a"),o=(n("d3f5"),{data:function(){return{data_check:{infolist:[],info:{},infoinit:{key:"",status:0,demo:""},win_show:!1},data_order:{},data_dictlist:[],data_bgcheck:{win_show:!1,win_show_title:"核对校验稿",data:null}}},created:function(){var t=this,e=localStorage.getItem("dictlist");e&&0!=e.length?this.data_dictlist=JSON.parse(e):Object(i["c"])().then((function(e){t.data_dictlist=e.data,localStorage.setItem("dictlist",JSON.stringify(e.data))}))},mounted:function(){var t=this;if(this.$route.query.gid){var e=this.$route.query.gid;Object(r["h"])(e).then((function(e){if(t.data_order=e.data,t.data_bgcheck.data=JSON.parse(e.data.customsMessage).DecMessage,t.data_check.infolist=JSON.parse(e.data.customersCheck),t.data_check.infolist||(t.data_check.infolist=[]),!Array.isArray(t.data_bgcheck.data.DecLists.DecList)){var n=[t.data_bgcheck.data.DecLists.DecList];t.data_bgcheck.data.DecLists.DecList=n}}))}else this.$thisapp.msg("键值丢失!",0)},methods:{fun_getdatavalue:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,c=this.data_bgcheck.data;return null!=e&&(c=e),t.split(".").forEach((function(t){c?c[t]&&(c=c[t]):c=""})),"string"!=typeof c&&(c=""),c.indexOf(".")>0&&!isNaN(c)&&n&&(c=100*parseFloat(c).toFixed(2)/100),a&&c&&""!=c&&(c=a+" "+c),c},fun_getdatavalueFormat:function(t){var e="";return"//"==t||(e=t),e},fun_getdict:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"title",a="",c=this.data_dictlist.filter((function(n){return n.groupName==t&&n.key==e}));return c&&c.length>0&&(a=c[0][n]),a},fun_check:function(t){var e=this.$ysapp.copyobj(this.data_check.infoinit);if(e.key=t,this.data_check.infolist){var n=this.data_check.infolist.filter((function(e){return e.key==t}));n&&n.length>0&&(e=this.$ysapp.copyobj(n[0]))}this.data_check.info=e,this.data_check.win_show=!0},fun_getcheckinfo:function(t){var e="",n=this.data_check.infolist.filter((function(e){return e.key==t}));if(n&&n.length>0){var a=n[0];e=100==a.status?'<i class="el-icon-success checkok"></i>':'<i class="el-icon-error checknot"></i>'}return e},fun_getremark:function(t){var e=this,n=this.data_bgcheck.data,a="";if("accessory"==t){if(n.DecLicenseDocus){if(n.DecLicenseDocus.LicenseDocu&&!Array.isArray(n.DecLicenseDocus.LicenseDocu)){var c=[n.DecLicenseDocus.LicenseDocu];n.DecLicenseDocus.LicenseDocu=c}for(var r in n.DecLicenseDocus.LicenseDocu){var i=n.DecLicenseDocus.LicenseDocu[0];a+="随附单证"+(parseInt(r)+1)+": "+this.fun_getdatavalue("随附单证类型",i.DocuCode)+" "+i.CertCode+" <br/>"}}}else if("mark"==t){var o=this.fun_getdatavalue("DecHead.NoteS");if(0!=o&&"0"!=o||(o=""),a+="备注:"+this.fun_getdatavalue("DecHead.MarkNo")+" "+o+" ",n.DecContainers){if(n.DecContainers.Container&&!Array.isArray(n.DecContainers.Container)){var s=[n.DecContainers.Container];n.DecContainers.Container=s}if(n.DecContainers.Container&&n.DecContainers.Container.length>0){var d="",u=0,l=0;n.DecContainers.Container.forEach((function(t){l++,d+=";"+t.ContainerId,l>1&&l%9==0&&(d+="<br/>"),u+=parseInt(e.fun_getdict("集装箱规格",t.ContainerMd,"value"))})),a+="<br/>集装箱标箱数及号码:"+u+" "+d}}}return a},fun_checksave:function(t){var e=this,n=!0;for(var a in this.data_check.info.status=100==t?100:1,this.data_check.infolist){var c=this.data_check.infolist[a];if(c.key==this.data_check.info.key){this.data_check.infolist[a]=this.data_check.info,n=!1;break}}n&&this.data_check.infolist.push(this.data_check.info);var i={gid:this.data_order.gid,customersCheck:JSON.stringify(this.data_check.infolist)};Object(r["j"])(i).then((function(t){e.data_check.win_show=!1,e.$thisapp.msg("操作成功")}))}}}),s=o,d=(n("2ccb"),n("2877")),u=Object(d["a"])(s,a,c,!1,null,null,null);e["default"]=u.exports}}]);