(function(){"use strict";var e={2352:function(e,t,a){a(6992),a(8674),a(9601),a(7727);var l=a(8935),n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("router-view")},r=[],o={name:"App"},s=o,i=a(1001),m=(0,i.Z)(s,n,r,!1,null,null,null),c=m.exports,u=a(6166),p=a.n(u),f=a(4549),d=a.n(f),b=a(2809),v=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"main"},[a("p",{staticClass:"title"},[e._v("我的AMS")]),a("div",[a("el-button",{attrs:{type:"primary"},on:{click:e.ClickAdd}},[e._v("新增")]),a("el-button",{attrs:{type:"primary"}},[e._v("导入")]),a("el-button",{attrs:{type:"primary"}},[e._v("发送")])],1),a("div",{staticClass:"SearchBox"},[a("el-input",{attrs:{size:"small",placeholder:"船东提单号"},model:{value:e.search_data.input1,callback:function(t){e.$set(e.search_data,"input1",t)},expression:"search_data.input1"}}),a("el-input",{attrs:{size:"small",placeholder:"货代提单号"},model:{value:e.search_data.input2,callback:function(t){e.$set(e.search_data,"input2",t)},expression:"search_data.input2"}}),a("el-select",{attrs:{size:"small",placeholder:"船公司"},model:{value:e.search_data.input3,callback:function(t){e.$set(e.search_data,"input3",t)},expression:"search_data.input3"}},e._l(e.options,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),a("el-select",{attrs:{size:"small",placeholder:"起运港"},model:{value:e.search_data.input4,callback:function(t){e.$set(e.search_data,"input4",t)},expression:"search_data.input4"}},e._l(e.options,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),a("el-select",{attrs:{size:"small",placeholder:"卸货港"},model:{value:e.search_data.input5,callback:function(t){e.$set(e.search_data,"input5",t)},expression:"search_data.input5"}},e._l(e.options,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),a("el-date-picker",{attrs:{type:"datetime",size:"small",placeholder:"开船日期"},model:{value:e.search_data.input6,callback:function(t){e.$set(e.search_data,"input6",t)},expression:"search_data.input6"}}),a("el-date-picker",{attrs:{type:"datetime",size:"small",placeholder:"开船日期"},model:{value:e.search_data.input7,callback:function(t){e.$set(e.search_data,"input7",t)},expression:"search_data.input7"}}),a("div",{staticClass:"SearchButton"},[a("el-button",{attrs:{size:"small",type:"primary"}},[e._v("搜索")]),a("el-button",{attrs:{size:"small",type:"primary"}},[e._v("重置")])],1)],1),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,border:"","span-method":e.objectSpanMethod}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),a("el-table-column",{attrs:{prop:"date",label:"业务状态",width:"180"}}),a("el-table-column",{attrs:{prop:"name",label:"船东提单号",width:"180"}}),a("el-table-column",{attrs:{prop:"address",label:"货代提单号"}}),a("el-table-column",{attrs:{prop:"address",label:"船公司"}}),a("el-table-column",{attrs:{prop:"address",label:"船名"}}),a("el-table-column",{attrs:{prop:"address",label:"创次"}}),a("el-table-column",{attrs:{prop:"address",label:"装货港"}}),a("el-table-column",{attrs:{prop:"address",label:"卸货港"}}),a("el-table-column",{attrs:{prop:"address",label:"申报状态"}}),a("el-table-column",{attrs:{prop:"address",label:"匹配状态"}}),a("el-table-column",{attrs:{prop:"address",label:"所属公司"}}),a("el-table-column",{attrs:{prop:"address",label:"录入人"}}),a("el-table-column",{attrs:{prop:"address",label:"操作"}},[[a("el-button",{attrs:{type:"text"}},[e._v("编辑")]),a("el-button",{staticStyle:{color:"red"},attrs:{type:"text"}},[e._v("删除")])]],2),a("el-table-column",{attrs:{prop:"address",label:"日志"}})],1)],1)},h=[],_={name:"AmsIndex",data:function(){return{search_data:{},options:[{value:"选项1",label:"黄金糕"},{value:"选项2",label:"双皮奶"},{value:"选项3",label:"蚵仔煎"},{value:"选项4",label:"龙须面"},{value:"选项5",label:"北京烤鸭"}],tableData:[{date:"2016-05-02",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{date:"2016-05-04",name:"王小虎",address:"上海市普陀区金沙江路 1517 弄"},{date:"2016-05-01",name:"王小虎",address:"上海市普陀区金沙江路 1519 弄"},{date:"2016-05-03",name:"王小虎",address:"上海市普陀区金沙江路 1516 弄"}]}},methods:{ClickAdd:function(){this.$router.push("/IndexEdit")},objectSpanMethod:function(e){e.row,e.column;var t=e.rowIndex,a=e.columnIndex;if(1===a)return t%2===0?{rowspan:2,colspan:1}:{rowspan:0,colspan:0}}}},x=_,k=(0,i.Z)(x,v,h,!1,null,"48fc50e2",null),y=k.exports,$=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"main"},[a("div",{staticClass:"head"},[a("el-button",{attrs:{type:"primary"}},[e._v("发送")]),a("el-button",{attrs:{type:"primary",plain:""}},[e._v("保存草稿")]),a("el-button",{attrs:{type:"primary",plain:""}},[e._v("复制")])],1),a("el-collapse",{model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},[a("el-collapse-item",{attrs:{title:"基本信息",name:"1"}},[a("el-form",{ref:"form",staticStyle:{"padding-right":"30px"},attrs:{model:e.form,"label-width":"160px"}},[a("el-row",[a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"船公司"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"船东提单号(MBL)"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}},[a("template",{slot:"prepend"},[e._v("MAEU")])],2)],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"船名"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"航次"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"运输方式"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"发货地"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"装货港"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"最后一个非美港口"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"卸货港"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"预计出发"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"预计到达"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1)],1)],1)],1),a("el-collapse-item",{attrs:{title:"House单信息",name:"2"}},[a("el-row",[a("el-col",{staticClass:"left",attrs:{span:4}},[e._l(e.Data,(function(t,l){return a("div",{key:l,staticClass:"left_list",class:e.ActiveID==l?"isActive":"",on:{click:function(t){return e.ClickLeft(l)}}},[t.id?a("p",[e._v(e._s(t.id))]):a("p",[e._v("新的货代提单号")]),a("el-button",{attrs:{type:"text"}},[e._v("复制")]),a("el-button",{staticStyle:{color:"red"},attrs:{type:"text"}},[e._v("删除")])],1)})),a("div",{staticClass:"left_list",on:{click:e.ClickLeftAdd}},[a("p",{staticStyle:{"text-align":"center",cursor:"pointer"}},[a("i",{staticClass:"el-icon-circle-plus"}),e._v(" 添加House单 ")])])],2),a("el-col",{staticClass:"right",attrs:{span:20}},[a("el-form",{ref:"form",attrs:{model:e.Data[e.ActiveID],"label-width":"160px"}},[a("el-row",[a("el-col",{attrs:{span:7}},[a("el-form-item",{attrs:{label:"HBL No"}},[a("el-input",{model:{value:e.Data[e.ActiveID].id,callback:function(t){e.$set(e.Data[e.ActiveID],"id",t)},expression:"Data[ActiveID].id"}})],1)],1),a("div",{staticClass:"title"},[a("p",[e._v("集装箱信息")]),a("div",[a("p",[e._v("总件数:"),a("span",[e._v("1")])]),a("p",[e._v("总毛数/KGS:"),a("span",[e._v("1")])]),a("p",[e._v("体积/CBM:"),a("span",[e._v("1")])])])])],1),a("el-tabs",{attrs:{type:"card","before-leave":e.ClickTabs},on:{"tab-remove":e.removeTab},model:{value:e.editableTabsValue,callback:function(t){e.editableTabsValue=t},expression:"editableTabsValue"}},[e._l(e.editableTabs,(function(t){return a("el-tab-pane",{key:t.name,attrs:{label:t.title,name:t.name,closable:""}},[a("el-row",[a("el-col",{attrs:{span:7}},[a("el-form-item",{attrs:{label:"箱号"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:7}},[a("el-form-item",{attrs:{label:"封号"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:7}},[a("el-form-item",{attrs:{label:"箱型"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:7}},[a("el-form-item",{attrs:{label:"HS code"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:21}},[a("el-form-item",{attrs:{label:"品名"}},[a("el-input",{attrs:{type:"textarea"},model:{value:e.form.desc,callback:function(t){e.$set(e.form,"desc",t)},expression:"form.desc"}})],1)],1),a("el-col",{attrs:{span:21}},[a("el-form-item",{attrs:{label:"唛头"}},[a("el-input",{attrs:{type:"textarea"},model:{value:e.form.desc,callback:function(t){e.$set(e.form,"desc",t)},expression:"form.desc"}})],1)],1),a("el-col",{attrs:{span:7}},[a("el-form-item",{attrs:{label:"件数"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:7}},[a("el-form-item",{attrs:{label:"包装单位"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:7}},[a("el-form-item",{attrs:{label:"毛重"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}},[a("template",{slot:"append"},[e._v("KGS")])],2)],1)],1),a("el-col",{attrs:{span:7}},[a("el-form-item",{attrs:{label:"体积"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}},[a("template",{slot:"append"},[e._v("CBM")])],2)],1)],1)],1),a("el-row",[a("el-col",{attrs:{span:7}},[a("el-form-item",{attrs:{label:"联合国危险品编号"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:7}},[a("el-form-item",{attrs:{label:"危险品联系人姓名"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1)],1)],1)})),a("el-tab-pane",{attrs:{name:"add"}},[a("span",{attrs:{slot:"label"},slot:"label"},[a("i",{staticClass:"el-icon-circle-plus"}),e._v(" 添加箱号 ")])])],2),a("div",{staticClass:"title"},[a("p",[e._v("收发通信息")])]),a("p",{staticClass:"mini_title"},[a("span",[e._v("真实发货人")]),a("span",[e._v(" 提示:请务必填写真实发货人信息,否则,被目的港退回、产生罚款等后果由用户自行承担。 ")])]),a("el-col",{attrs:{span:23}},[a("el-form-item",{attrs:{label:"发货人姓名"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:23}},[a("el-form-item",{attrs:{label:"发货人地址"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"联系电话"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:23}},[a("p",{staticClass:"mini_title"},[a("span",[e._v("真实收货人")]),a("span",[e._v(" 提示:请务必填写真实发货人信息,否则,被目的港退回、产生罚款等后果由用户自行承担。 ")]),a("el-button",{attrs:{type:"primary"}},[e._v("复制通知人")])],1)]),a("el-col",{attrs:{span:23}},[a("el-form-item",{attrs:{label:"收货人姓名"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:23}},[a("el-form-item",{attrs:{label:"收货人地址"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"联系电话"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:23}},[a("p",{staticClass:"mini_title"},[a("span",[e._v("真实通知人")]),a("span",[e._v(" 提示:请务必填写真实发货人信息,否则,被目的港退回、产生罚款等后果由用户自行承担。 ")]),a("el-button",{attrs:{type:"primary"}},[e._v("复制收货人")])],1)]),a("el-col",{attrs:{span:23}},[a("el-form-item",{attrs:{label:"通知人姓名"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:23}},[a("el-form-item",{attrs:{label:"通知人地址"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"联系电话"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1)],1)],1)],1)],1)],1)],1)},w=[],C=(a(1539),a(4747),a(8309),a(7327),{data:function(){return{activeNames:["1","2"],form:{},editableTabsValue:"1",editableTabs:[{title:"Tab 1",name:"1",content:"Tab 1 content"},{title:"Tab 2",name:"2",content:"Tab 2 content"}],tabIndex:2,Data:[],ActiveID:0}},created:function(){0==this.Data.length&&this.Data.push({})},mounted:function(){},methods:{ClickLeft:function(e){this.ActiveID=e,console.log(e)},ClickLeftAdd:function(){this.Data.push({})},removeTab:function(e){var t=this.editableTabs,a=this.editableTabsValue;a===e&&t.forEach((function(l,n){if(l.name===e){var r=t[n+1]||t[n-1];r&&(a=r.name)}})),this.editableTabsValue=a,this.editableTabs=t.filter((function(t){return t.name!==e}))},ClickTabs:function(e){if("add"==e){var t=++this.tabIndex+"";return this.editableTabs.push({title:"New Tab",name:t,content:"New Tab content"}),this.editableTabsValue=t,!1}}}}),T=C,g=(0,i.Z)(T,$,w,!1,null,"3cf7cb00",null),D=g.exports,S=[{path:"/",redirect:"/Index"},{path:"/Index",component:y,children:[]},{path:"/IndexEdit",name:"IndexEdit",component:D},{path:"*",redirect:"/"}];l["default"].use(b.Z),l["default"].use(d()),l["default"].config.productionTip=!1,l["default"].prototype.$axios=p();var I=new b.Z({routes:S,mode:"hash"});new l["default"]({router:I,render:function(e){return e(c)}}).$mount("#app")}},t={};function a(l){var n=t[l];if(void 0!==n)return n.exports;var r=t[l]={exports:{}};return e[l](r,r.exports,a),r.exports}a.m=e,function(){var e=[];a.O=function(t,l,n,r){if(!l){var o=1/0;for(c=0;c=r)&&Object.keys(a.O).every((function(e){return a.O[e](l[i])}))?l.splice(i--,1):(s=!1,r0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[l,n,r]}}(),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 l in t)a.o(t,l)&&!a.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})}}(),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,l){var n,r,o=l[0],s=l[1],i=l[2],m=0;if(o.some((function(t){return 0!==e[t]}))){for(n in s)a.o(s,n)&&(a.m[n]=s[n]);if(i)var c=i(a)}for(t&&t(l);m