-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathImageView.81d8d153.js
1 lines (1 loc) · 66.7 KB
/
ImageView.81d8d153.js
1
var e=Object.defineProperty,t=(t,l,s)=>(((t,l,s)=>{l in t?e(t,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[l]=s})(t,"symbol"!=typeof l?l+"":l,s),s);import{M as l,Q as s}from"./e404.f67fe263.js";import{b as a,P as i,V as o,a as n,r,u as d,U as c,v as u,T as h,x as p,f,M as g,E as m,W as x,d as b,y,F as v,w,e as k,i as C,z as N}from"./vendor.aebc7018.js";const T=class{static buildRedirectUrl(){return`//account.lygddt.com/?redirect=${escape(location.href)}`}static toLogin(){location.href=this.buildRedirectUrl()}static getTicket(){return this.axios.get("/sso/auth")}static getSession(){return this.axios.get("/sso/info")}};let S=T;t(S,"baseUrl","//account.lygddt.com/api"),t(S,"axios",new l({baseURL:T.baseUrl,withCredentials:!0},{}));class E extends o{constructor(){super(...arguments),t(this,"isKey")}render(){return this.isKey?n(r("router-view"),{key:()=>Math.random()},null):n(r("router-view"),null,null)}}a([i({type:Boolean,default:!1})],E.prototype,"isKey",void 0);class I extends o{render(){return n("div",{class:"mb-2"},[n("i",{class:"user-iconfont icon-search"},null),n("span",{class:"ml-2 font-size-3"},[n(r("el-slot"),{fun:this.$slots.default},null)])])}}let B={};d.map((e=>B[e.code]=e.name));const $=B,V={SUCCESS:"#3cd251",NONE:"#b7c7e4",CONDUCT:"#fec20c",ERROR:"#fb5160"};let D={};c.map((e=>D[e.code]=e.name));const z=D,U={},O={};Object.keys(u).map((e=>{[-1,1,2,400,300,500].indexOf(Number(e))>-1&&(U[e]="orange--text",O[e]="#fec20c"),[4,100,501,502,503,599,600,700,-2].indexOf(Number(e))>-1&&(U[e]="red--text",O[e]="#fb5160"),[3,120,200,399,800,899].indexOf(Number(e))>-1&&(U[e]="green--text",O[e]="#3cd251")}));const L=U,q=O;let j={};h.map((e=>j[e.code]=e.name));const F=j;let R={};p.map((e=>R[e.code]=e.name));const M=R,A={1:"新增",2:"变更",3:"删除"},P={1:"暂存",2:"申报"},Y={1:"身份证",2:"其他"},_={1:"green--text",2:"green--text",3:"red--text"},H={1:"#3cd251",2:"#3cd251",3:"#fb5160"};f.exports.CodeToText[320773]="新海新区",f.exports.CodeToText[320774]="连云新城",f.exports.CodeToText[320775]="徐圩新区";const W=[{label:"进口",list:[{value:"CEB311",label:"电子订单"},{value:"CEB312",label:"电子订单回执"},{value:"CEB411",label:"支付单"},{value:"CEB412",label:"支付单回执"},{value:"CEB511",label:"运单"},{value:"CEB512",label:"运单回执"},{value:"CEB513",label:"运单状态"},{value:"CEB514",label:"运单状态回执"},{value:"CEB621",label:"进口清单"},{value:"CEB622",label:"进口清单回执"},{value:"CEB623",label:"撤销申请单"},{value:"CEB624",label:"撤销申请单回执"},{value:"CEB625",label:"退货申请单"},{value:"CEB626",label:"退货申请单回执"},{value:"CEB711",label:"入库明细单"},{value:"CEB712",label:"入库明细单回执"},{value:"CEB816",label:"电子税单"},{value:"CEB817",label:"电子税单回执"}]},{label:"出口",list:[{value:"CEB303",label:"电子订单"},{value:"CEB304",label:"电子订单回执"},{value:"CEB403",label:"收款单"},{value:"CEB404",label:"收款单回执"},{value:"CEB505",label:"运单"},{value:"CEB506",label:"运单"},{value:"CEB507",label:"运抵单"},{value:"CEB508",label:"运抵单回执"},{value:"CEB603",label:"出口清单"},{value:"CEB604",label:"出口清单回执"},{value:"CEB509",label:"离境单"},{value:"CEB510",label:"离境单"},{value:"CEB605",label:"撤销申请单"},{value:"CEB606",label:"撤销申请单回执"},{value:"CEB607",label:"清单总分单"},{value:"CEB608",label:"清单总分单回执"},{value:"CEB213",label:"退货申请单"},{value:"CEB214",label:"退货申请单回执"},{value:"CEB215",label:"退货理货明细单"},{value:"CEB216",label:"退货理货明细单回执"},{value:"CEB701",label:"汇总申请单"},{value:"CEB702",label:"汇总申请单回执"}]},{label:"其他",list:[{value:"CEB818",label:"电子税单数据状态"},{value:"CEB900",label:"报文格式校验回执"},{value:"CEB06",label:"检验检疫清单"},{value:"CEB07",label:"检验检疫清单回执"},{value:"CEB04",label:"检验检疫商品备案"},{value:"CEB05",label:"检验检疫商品备案回执"},{value:"CEB08",label:"查验指令"},{value:"CEB09",label:"放行指令"},{value:"CEB792",label:"汇总结果单"}]}],K=[{text:"最近一周",value:()=>{const e=new Date,t=new Date;return t.setTime(t.getTime()-6048e5),[t,e]}},{text:"最近一个月",value:()=>{const e=new Date,t=new Date;return t.setTime(t.getTime()-2592e6),[t,e]}},{text:"最近三个月",value:()=>{const e=new Date,t=new Date;return t.setTime(t.getTime()-7776e6),[t,e]}}],G={1:"报关单暂存",2:"报关单申报成功",3:"报关单成功入海关库",4:"转人工审核单",5:"报关单审结",6:"报关单接单",7:"已放行",8:"通道验放",9:"已结关"},Q={0:"#b7c7e4",1:"#fec20c",2:"#3cd251",3:"#3cd251",4:"#fec20c",5:"#3cd251",6:"#3cd251",7:"#3cd251",8:"#fec20c",9:"#3cd251"};var X,J,Z,ee,te,le,se,ae,ie,oe,ne,re="./assets/empty.16fa84cc.png";class de extends o{constructor(){super(...arguments),t(this,"state"),t(this,"style",{border:"1px solid",borderColor:null,backgroundColor:null,color:null}),t(this,"icon",null)}render(){switch(this.state.success){case 3:case 120:case 200:case 399:case 800:case 899:this.style.color="#67c23a",this.style.borderColor="#67c23a",this.style.backgroundColor="#f0f9eb",this.icon="icon-wancheng";break;case 4:case 100:case 501:case 502:case 503:case 599:case 600:case 700:case-2:this.style.color="#f56c6c",this.style.borderColor="#f56c6c",this.style.backgroundColor="#fef0f0",this.icon="icon-tixing";break;case-1:case 1:case 2:case 400:case 500:case 300:this.style.color="#ff9f00",this.style.borderColor="#ff9f00",this.style.backgroundColor="#fff1e4",this.icon="icon-bili";break;default:this.style.color="#858481",this.style.borderColor="#858481",this.style.backgroundColor="#f6f6f6",this.icon="icon-tixing"}return n("span",{style:this.style,class:"rounded-pill px-3 py-1"},[n("i",{class:["user-iconfont mr-1",this.icon]},null),u[this.state.success]||"暂无状态",n(r("v-if"),{show:this.state.error},{default:()=>[n("span",{class:"red--text"},[b("(状态异常:"),this.state.error,b(")")])]})])}}a([i({type:Object})],de.prototype,"state",void 0);class ce extends o{constructor(){super(...arguments),t(this,"state"),t(this,"style",{border:"1px solid",borderColor:null,backgroundColor:null,color:null}),t(this,"icon",null)}render(){switch(this.state){case 3:this.style.color="#f56c6c",this.style.borderColor="#f56c6c",this.style.backgroundColor="#fef0f0",this.icon="icon-tixing";break;case 1:case 2:this.style.color="#67c23a",this.style.borderColor="#67c23a",this.style.backgroundColor="#f0f9eb",this.icon="icon-wancheng";break;default:this.style.color="#858481",this.style.borderColor="#858481",this.style.backgroundColor="#f6f6f6",this.icon="icon-tixing"}return n("span",{style:this.style,class:"rounded-pill px-3 py-1"},[n("i",{class:["user-iconfont mr-1",this.icon]},null),y[this.state]||"暂无状态"])}}a([i({type:Number})],ce.prototype,"state",void 0);class ue extends o{constructor(){super(...arguments),t(this,"mold"),t(this,"type"),t(this,"providerId"),t(this,"keyv"),t(this,"isTax"),t(this,"loading",!1),t(this,"logList",null),t(this,"page",null)}render(){var e;return n(v,null,[n("div",{class:"mt-3 rounded-lg overflow-hidden decbox pa-2 pt-0",style:{background:"#f4f8fe"}},[w(n(r("el-table"),{data:this.logList,style:{width:"100%"},"header-cell-class-name":"dectable-cell"},{default:()=>[n(r("el-table-column"),{type:"index",label:"序号"},null),n(r("el-table-column"),{label:"guid"},{default:({row:e})=>n(r("router-link"),{to:{path:"log",query:{id:e.hid}}},{default:()=>[e.guid]})}),n(r("v-if"),{show:!this.isTax},{default:()=>[n(r("el-table-column"),{label:"类型",width:"50"},{default:({row:e})=>n("span",null,[e.isSend?"发送":"回执"])})]}),n(r("el-table-column"),{prop:"returnInfo",label:"业务信息"},null),n(r("el-table-column"),{label:"状态"},{default:({row:e})=>n(v,null,[n(r("v-if"),{show:this.isTax},{default:()=>[n("span",{class:[_[e.returnStatus]]},[y[e.returnStatus]||e.returnStatus||"--"])]}),n(r("v-if"),{show:!this.isTax&&!e.isSend},{default:()=>[n("span",{class:[L[e.returnStatus],{"red--text":e.returnStatus<0}]},[u[e.returnStatus]||(e.returnStatus<0?e.returnStatus:"--")])]}),n(r("v-if"),{show:!this.isTax&&e.isSend},{default:()=>[n("span",null,[2==e.returnStatus?"数据发送":P[e.returnStatus]||e.returnStatus||"--"])]})])}),n(r("el-table-column"),{prop:"returnTime",label:"时间"},{default:({row:e})=>n(me,{isLog:!0,modelValue:e.returnTime,"onUpdate:modelValue":t=>e.returnTime=t},null)}),n(r("el-table-column"),{label:"报文",width:"80"},{default:({row:e})=>n("a",{href:e.path,target:"_blank"},[b("查看")])})]}),[[k("loading"),this.loading]])]),n(r("v-if"),{show:null!=this.page&&0!=(null==(e=this.page)?void 0:e.count)},{default:()=>[n("div",{class:"py-4"},[n(r("el-page"),{value:this.page,router:!0,onChange:()=>setTimeout(this.getLog)},null)])]})])}created(){this.getLog()}getLog(){this.loading=!0,this.$axios.get(`/ceb/${this.type}/log`,{params:{providerId:this.providerId,key:this.keyv,page:this.$route.query.page||1}}).then((({list:e,page:t})=>{this.logList=e,this.page=t})).catch((e=>{this.$message.error(e.message||"获取数据失败"),this.logList=null,this.page=null})).finally((()=>this.loading=!1))}}a([i({type:String,default:"import"})],ue.prototype,"mold",void 0),a([i({type:String,default:"311"})],ue.prototype,"type",void 0),a([i({type:String})],ue.prototype,"providerId",void 0),a([i({type:String})],ue.prototype,"keyv",void 0),a([i({type:Boolean,default:!1})],ue.prototype,"isTax",void 0);class he extends o{constructor(){super(...arguments),t(this,"info"),t(this,"keyv"),t(this,"isTax")}render(){return n(r("el-skeleton"),{loading:null==this.info,animated:!0},{default:()=>n(v,null,[n("div",{class:"white px-6 py-4 d-flex flex-wrap align-center"},[n("div",{class:"flex-grow-1"},[n(r("el-breadcrumb"),{"separator-class":"el-icon-arrow-right"},{default:()=>[n(r("el-breadcrumb-item"),{onClick:()=>this.$router.back()},{default:()=>{var e;return[n("a",{class:"grey--text font-weight-medium"},[null==(e=this.$route.matched[3])?void 0:e.meta.name])]}}),n(r("el-breadcrumb-item"),null,{default:()=>[n("span",{class:"black--text"},[this.keyv])]})]})]),this.info.state.time&&0!=this.info.state.time?n(r("el-tooltip"),{effect:"light",placement:"top"},{content:()=>n(r("el-time"),{value:this.info.state.time,type:"datetime"},null),default:()=>this.isTax?n(ce,{state:this.info.state.success},null):n(de,{state:this.info.state},null)}):n(de,{state:this.info.state},null)]),n("div",{class:"mt-2 white pa-6"},[n(r("el-slot"),{fun:this.$slots.default},null),n("div",{class:"mt-4"},[n("div",{class:"mb-3 font-size-2 font-weight-bold"},[b("日志信息")]),n(r("el-slot"),{fun:this.$slots.log},null)])])])})}}a([i({type:Object})],he.prototype,"info",void 0),a([i({type:String})],he.prototype,"keyv",void 0),a([i({type:Boolean,default:!1})],he.prototype,"isTax",void 0);class pe extends o{constructor(){super(...arguments),t(this,"info"),t(this,"backInfo"),t(this,"provider")}render(){return n(r("el-skeleton"),{loading:null==this.info&&null==this.backInfo,animated:!0},{default:()=>n(v,null,[n("div",{class:"white px-6 py-4 d-flex flex-wrap align-center"},[n("div",{class:"flex-grow-1"},[n(r("el-breadcrumb"),{"separator-class":"el-icon-arrow-right"},{default:()=>[n(r("el-breadcrumb-item"),{onClick:()=>{this.$router.back()}},{default:()=>{var e;return[n("a",{class:"grey--text font-weight-medium"},[null==(e=this.$route.matched[3])?void 0:e.meta.name,b("详情")])]}}),n(r("el-breadcrumb-item"),null,{default:()=>{var e,t;return[n("span",{class:"black--text"},[(null==(e=this.info)?void 0:e.guid)||(null==(t=this.backInfo)?void 0:t.guid)])]}})]})])]),n("div",{class:"mt-2 white pa-6"},[n(r("v-if"),{show:null!=this.info},{default:()=>[n(r("el-slot"),{fun:this.$slots.default},null)]}),n(r("v-if"),{show:null!=this.backInfo},{default:()=>[n("div",{class:"mb-3 font-size-2 font-weight-bold"},[b("回执信息")]),n("div",{class:"mt-3 rounded-lg overflow-hidden decbox"},[n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("系统唯一序号:")]),this.backInfo.guid]})]}),n(r("el-slot"),{fun:this.$slots.log},null),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("v-if"),{show:null!=this.backInfo.returnStatus},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("回执状态:")]),n("span",{class:{"red--text":this.backInfo.returnStatus<0}},[u[this.backInfo.returnStatus]||this.backInfo.returnStatus])]})]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("回执时间:")]),n(r("el-time"),{value:this.backInfo.returnTime,type:"datetime"},null)]})]}),n(r("v-if"),{show:null!=this.backInfo.returnInfo},{default:()=>[n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:24},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("回执信息:")]),this.backInfo.returnInfo]})]})]})])]}),n(r("v-if"),{show:null!=this.provider},{default:()=>[n("div",{class:"mt-4"},[n("div",{class:"mb-3 font-size-2 font-weight-bold"},[b("申报单位信息")]),n("div",{class:"mt-3 rounded-lg overflow-hidden decbox"},[n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("dxpId:")]),this.provider.dxpId]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("申报单位代码:")]),this.provider.code]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("申报单位名称:")]),this.provider.name]})]})])])]}),n(r("v-if"),{show:null!=this.info},{default:()=>[n(r("el-slot"),{fun:this.$slots.list},null)]})])])})}}a([i({type:Object})],pe.prototype,"info",void 0),a([i({type:Object})],pe.prototype,"backInfo",void 0),a([i({type:Object})],pe.prototype,"provider",void 0);class fe extends o{constructor(){super(...arguments),t(this,"state"),t(this,"isTax"),t(this,"origin")}render(){return n(v,null,[n(r("v-if"),{show:null!=this.state.error},{default:()=>[n(r("el-tooltip"),{placement:"top",effect:"light"},{content:()=>n("span",{class:"red--text"},[`状态异常:${this.state.error}`]),default:()=>n(r("el-badge"),{"is-dot":!0},{default:()=>[n(r("v-if"),{show:this.isTax},{default:()=>[n(r("v-if"),{show:"shop"==this.origin},{default:()=>[n("div",{class:_[this.state.success]||"grey--text"},[y[this.state.success]||"暂无状态"])]}),n(r("v-if"),{show:"admin"==this.origin||"ceb"==this.origin},{default:()=>[n(r("el-tag"),{effect:"dark",class:"rounded-pill",style:{borderColor:H[this.state.success]||"#b7c7e4"},color:H[this.state.success]||"#b7c7e4"},{default:()=>[n("div",{class:"d-flex align-center"},[n("div",{class:"rounded-circle statecricle mr-1"},null),y[this.state.success]||"暂无状态"])]})]})]}),n(r("v-if"),{show:!this.isTax},{default:()=>[n(r("v-if"),{show:"shop"==this.origin},{default:()=>[n("div",{class:L[this.state.success]||"grey--text"},[u[this.state.success]||"暂无状态"])]}),n(r("v-if"),{show:"admin"==this.origin||"ceb"==this.origin},{default:()=>[n(r("el-tag"),{effect:"dark",class:"rounded-pill",style:{borderColor:q[this.state.success]||"#b7c7e4"},color:q[this.state.success]||"#b7c7e4"},{default:()=>[n("div",{class:"d-flex align-center"},[n("div",{class:"rounded-circle statecricle mr-1"},null),u[this.state.success]||"暂无状态"])]})]})]})]})})]}),n(r("v-if"),{show:null==this.state.error},{default:()=>[n(r("v-if"),{show:this.isTax},{default:()=>[n(r("v-if"),{show:"shop"==this.origin},{default:()=>[n("span",{class:_[this.state.success]||"grey--text"},[y[this.state.success]||"暂无状态"])]}),n(r("v-if"),{show:"admin"==this.origin||"ceb"==this.origin},{default:()=>[n(r("el-tag"),{effect:"dark",class:"rounded-pill",style:{borderColor:H[this.state.success]||"#b7c7e4"},color:H[this.state.success]||"#b7c7e4"},{default:()=>[n("div",{class:"d-flex align-center"},[n("div",{class:"rounded-circle statecricle mr-1"},null),y[this.state.success]||"暂无状态"])]})]})]}),n(r("v-if"),{show:!this.isTax},{default:()=>[n(r("v-if"),{show:"shop"==this.origin},{default:()=>[n("span",{class:L[this.state.success]||"grey--text"},[u[this.state.success]||"暂无状态"])]}),n(r("v-if"),{show:"admin"==this.origin||"ceb"==this.origin},{default:()=>[n(r("el-tag"),{effect:"dark",class:"rounded-pill",style:{borderColor:q[this.state.success]||"#b7c7e4"},color:q[this.state.success]||"#b7c7e4"},{default:()=>[n("div",{class:"d-flex align-center"},[n("div",{class:"rounded-circle statecricle mr-1"},null),u[this.state.success]||"暂无状态"])]})]})]})]})])}}a([i({type:Object})],fe.prototype,"state",void 0),a([i({type:Boolean,default:!1})],fe.prototype,"isTax",void 0),a([i({type:String,default:"shop"})],fe.prototype,"origin",void 0);class ge extends o{constructor(){super(...arguments),t(this,"info")}render(){return n(v,null,[n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("报送类型:")]),A[this.info.appType],n("span",{class:"font-size-0 grey--text ml-1"},[b("("),this.info.appType,b(")")])]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("业务状态:")]),P[this.info.appStatus],n("span",{class:"font-size-0 grey--text ml-1"},[b("("),this.info.appStatus,b(")")])]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:24},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("报送时间:")]),n(r("el-time"),{value:this.info.appTime,type:"datetime"},null)]})]})])}}a([i({type:Object})],ge.prototype,"info",void 0);class me extends o{constructor(){super(...arguments),t(this,"value"),t(this,"isLog")}render(){return n(r("el-tooltip"),{placement:"top",effect:"light"},{content:()=>this.isLog?n(r("el-time"),{value:this.value,type:"format",format:"YYYY-MM-DD HH:mm:ss.SSS"},null):n(r("el-time"),{value:this.value,type:"datetime"},null),default:()=>n(r("el-re-time"),{modelValue:this.value,"onUpdate:modelValue":e=>this.value=e},null)})}}a([g("modelValue")],me.prototype,"value",void 0),a([i({type:Boolean,default:!1})],me.prototype,"isLog",void 0);class xe extends o{constructor(){super(...arguments),t(this,"loading"),t(this,"realData"),t(this,"page",null)}emitChange(e){}emitValue(e){}render(){var e,t,l;return n(r("el-pagination"),{class:"mt-4",background:!0,layout:"total,prev, pager, next","prev-text":"上一页","next-text":"下一页","default-current-page":(null==(e=this.page)?void 0:e.page)||1,"page-size":(null==(t=this.page)?void 0:t.show)||20,total:(null==(l=this.page)?void 0:l.count)||0,onCurrentChange:this.handleData},null)}created(){var e;this.page={count:this.realData.length,page:Number((null==(e=this.$route.query)?void 0:e.page)||1),show:10,pages:this.realData.length},this.handleData(this.page.page)}handleData(e="1"){this.emitValue(!0),this.$router.replace({query:s.data(this.$route.query,{page:e})}),setTimeout((()=>{this.emitChange(this.realData.slice((Number(e)-1)*this.page.show,Number(e)*this.page.show)),this.emitValue(!1)}),100)}}a([g("modelValue",{type:Boolean})],xe.prototype,"loading",void 0),a([i({type:Object})],xe.prototype,"realData",void 0),a([m("change")],xe.prototype,"emitChange",null),a([m("update:modelValue")],xe.prototype,"emitValue",null);class be extends o{constructor(){super(...arguments),t(this,"isshow"),t(this,"no"),t(this,"loading",!1),t(this,"logdata",null)}showwatch(e){e&&this.no&&this.showLogist(this.no)}render(){return n(r("el-dialog"),{title:"物流信息",modelValue:this.isshow,"onUpdate:modelValue":e=>this.isshow=e,width:"500px"},{default:()=>[w(n("div",null,[n(r("v-if"),{show:null!=this.logdata},{default:()=>{var e,t;return[n("div",{class:" font-weight-bold font-size-3"},[b("物流单号:"),null==(e=this.logdata)?void 0:e.logisticsNo,n("span",{class:" font-weight-medium font-size-2 grey--text ml-2"},[b("("),null==(t=this.logdata)?void 0:t.com,b(")")])]),n(r("el-timeline"),{class:"ml-0 mt-4 pl-0"},{default:()=>{var e;return[null==(e=this.logdata)?void 0:e.data.map(((e,t)=>n(r("el-timeline-item"),{color:0==t?"#3078ff":null,timestamp:e.time},{default:()=>[b("【"),e.areaName,b("】"),e.context]})))]}})]}}),this.isshow&&null==this.logdata?n(r("el-empty"),{image:re,"image-size":400},{description:()=>n("h3",null,[b("没有找到物流信息")])}):null]),[[k("loading"),this.loading]])]})}showLogist(e){if(null==e||""==e||!e)return this.$message.error("没有找到物流单号");this.logdata=null,this.loading=!0,this.$axios.get("/ceb/logistics/"+e).then((e=>{this.logdata=e})).catch((e=>{this.$message.error(e.message||"请求错误,请刷新后重试"),this.isshow=!1})).finally((()=>this.loading=!1))}}a([g("modelValue",{type:Boolean})],be.prototype,"isshow",void 0),a([i({type:String})],be.prototype,"no",void 0),a([x("isshow")],be.prototype,"showwatch",null);class ye extends o{render(){return n(r("el-empty"),{image:re,"image-size":650},{description:()=>n("h3",null,[b("开发中...")])})}}(J=X||(X={})).I="进口",J.E="出口",(ee=Z||(Z={})).NONE="未审核",ee.CONDUCT="审核中",ee.SUCCESS="审核成功",ee.ERROR="审核失败",(le=te||(te={})).EBP="电商平台",le.EBC="电商企业",le.LOGISTICS="物流企业",le.OPERATOR="监管作业场所经营企业",le.STORAGE="仓储企业",le.PAY="支付企业",le.OTHER="其它",(ae=se||(se={})).ADMIN="管理员",ae.CEB="关务人员",ae.TAX="税务人员",ae.SAFE="外汇管理",ae.REGION="行政区管理",ae.DECLARATION="报关单",ae.MARKET="市场局";class ve extends o{constructor(){super(...arguments),t(this,"origin"),t(this,"ceb816"),t(this,"isLog"),t(this,"info"),t(this,"createTime"),t(this,"updateTime"),t(this,"tax"),t(this,"invtNo")}render(){return n(v,null,[n("div",null,[n("div",{class:"mb-3 font-size-2 font-weight-bold"},[b("海关清单信息")]),n("div",{class:"mt-3 rounded-lg overflow-hidden decbox"},[n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("guid:")]),this.info.guid]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("企业内部编号:")]),this.info.copNo]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("创建时间:")]),n(r("el-time"),{value:this.createTime,type:"datetime"},null)]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("更新时间:")]),n(r("el-time"),{value:this.updateTime,type:"datetime"},null)]})]}),n(r("v-if"),{show:this.isLog},{default:()=>[n(ge,{info:this.info},null)]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("订单编号:")]),this.info.orderNo]}),n(r("v-if"),{show:null!=this.ceb816},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("清单编号:")]),this.invtNo||"--"]})]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("进出口标记:")]),X[this.info.ieFlag],n("span",{class:"font-size-0 grey--text ml-1"},[b("("),this.info.ieFlag,b(")")])]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("预录入编号:")]),this.info.preNo||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("物流运单编号:")]),this.info.logisticsNo]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("账册编号:")]),this.info.emsNo||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("许可证件号:")]),this.info.licenseNo||"--"]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("包装种类代码:")]),M[this.info.wrapType]||"--",n(r("v-if"),{show:this.info.wrapType},{default:()=>[n("span",{class:"font-size-0 grey--text ml-1"},[b("("),this.info.wrapType,b(")")])]})]})]}),n(r("v-if"),{show:null!=this.tax},{default:()=>[n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>{var e;return[n("span",{class:"grey--text text--darken-1"},[b("缴款书编号:")]),(null==(e=this.tax)?void 0:e.entDutyNo)||"--"]}}),n(r("el-col"),{span:12},{default:()=>{var e;return[n("span",{class:"grey--text text--darken-1"},[b("税单编号:")]),(null==(e=this.tax)?void 0:e.taxNo)||"--"]}})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>{var e;return[n("span",{class:"grey--text text--darken-1"},[b("应征关税:")]),(null==(e=this.tax)?void 0:e.customsTax)||"--"]}}),n(r("el-col"),{span:12},{default:()=>{var e;return[n("span",{class:"grey--text text--darken-1"},[b("应征增值税:")]),(null==(e=this.tax)?void 0:e.valueAddedTax)||"--"]}})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>{var e;return[n("span",{class:"grey--text text--darken-1"},[b("应征消费税:")]),(null==(e=this.tax)?void 0:e.consumptionTax)||"--"]}})]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("v-if"),{show:null!=this.ceb816},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("税单状态:")]),n(fe,{state:this.ceb816,isTax:!0},null)]})]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("备注:")]),this.info.note||"--"]})]})])]),n("div",{class:"mt-4"},[n("div",{class:"mb-3 font-size-2 font-weight-bold"},[b("企业信息")]),n("div",{class:"mt-3 rounded-lg overflow-hidden decbox"},[n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("申报企业代码:")]),this.info.agentCode]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("申报企业名称:")]),this.info.agentName]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("区内企业代码:")]),this.info.areaCode||"--"]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("区内企业名称:")]),this.info.areaName||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("电商企业代码:")]),this.info.ebcCode]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("电商企业名称:")]),this.info.ebcName]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("电商平台代码:")]),this.info.ebpCode]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("电商平台名称:")]),this.info.ebpName]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("担保企业编号:")]),this.info.assureCode]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("监管场所代码:")]),this.info.loctNo||"--"]})]})])]),n("div",{class:"mt-4"},[n("div",{class:"mb-3 font-size-2 font-weight-bold"},[b("申报信息")]),n("div",{class:"mt-3 rounded-lg overflow-hidden decbox"},[n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("申报地海关代码:")]),this.info.customsCode]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("口岸海关代码:")]),this.info.portCode]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("申报日期:")]),n(r("el-time"),{value:this.info.declTime},null)]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("进口日期:")]),n(r("el-time"),{value:this.info.ieDate},null)]})]})])]),n("div",{class:"mt-4"},[n("div",{class:"mb-3 font-size-2 font-weight-bold"},[b("订购人信息")]),n("div",{class:"mt-3 rounded-lg overflow-hidden decbox"},[n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("姓名:")]),this.info.buyerName]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("手机号:")]),this.info.buyerTelephone]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("证件类型:")]),Y[this.info.buyerIdType],n("span",{class:"font-size-0 grey--text ml-1"},[b("("),this.info.buyerIdType,b(")")])]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("证件号码:")]),this.info.buyerIdNumber]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:24},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("收货地址:")]),this.info.consigneeAddress]})]})])]),n("div",{class:"mt-4"},[n("div",{class:"mb-3 font-size-2 font-weight-bold"},[b("物流信息")]),n("div",{class:"mt-3 rounded-lg overflow-hidden decbox"},[n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("物流企业代码:")]),this.info.logisticsCode]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("物流企业名称:")]),this.info.logisticsName]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("起运国(地区):")]),$[this.info.country],n("span",{class:"font-size-0 grey--text ml-1"},[b("("),this.info.country,b(")")])]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("币制:")]),this.info.currency]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("运杂费:")]),this.info.freight]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("保价费:")]),this.info.insuredFee]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("毛重(公斤):")]),this.info.grossWeight]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("净重(公斤):")]),this.info.netWeight]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("件数:")]),this.info.packNo]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("贸易方式:")]),this.info.tradeMode]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("运输方式:")]),F[this.info.trafMode],n("span",{class:"font-size-0 grey--text ml-1"},[b("("),this.info.trafMode,b(")")])]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("运输工具编号:")]),this.info.trafNo||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("航班航次号:")]),this.info.voyageNo||"--"]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("提运单号:")]),this.info.billNo||"--"]})]})])])])}}a([i({type:String,default:"shop"})],ve.prototype,"origin",void 0),a([i({type:Object})],ve.prototype,"ceb816",void 0),a([i({type:Boolean,default:!1})],ve.prototype,"isLog",void 0),a([i({type:Object})],ve.prototype,"info",void 0),a([i({type:String})],ve.prototype,"createTime",void 0),a([i({type:String})],ve.prototype,"updateTime",void 0),a([i({type:Object})],ve.prototype,"tax",void 0),a([i({type:String})],ve.prototype,"invtNo",void 0);class we extends o{constructor(){super(...arguments),t(this,"origin"),t(this,"info",null),t(this,"list",null),t(this,"backInfo",null),t(this,"provider",null),t(this,"realData",null),t(this,"loading",!1),t(this,"createTime",null),t(this,"updateTime",null)}render(){return n(pe,{info:this.info,backInfo:this.backInfo,provider:this.provider},{default:()=>n(ve,{info:this.info,isLog:!0,createTime:this.createTime,updateTime:this.updateTime},null),list:()=>n("div",{class:"mt-4"},[n("div",{class:"mb-3 font-size-2 font-weight-bold"},[b("商品信息")]),n("div",{class:"mt-3 rounded-lg overflow-hidden decbox pa-2 pt-0",style:{background:"#f4f8fe"}},[w(n(r("el-table"),{data:this.list,style:{width:"100%"},"header-cell-class-name":"dectable-cell"},{default:()=>[n(r("el-table-column"),{prop:"gnum",width:"100px",label:"商品序号"},null),n(r("el-table-column"),{prop:"gcode","min-width":"100px",label:"商品编码"},null),n(r("el-table-column"),{prop:"gname","min-width":"200px",label:"商品名称"},null),n(r("el-table-column"),{prop:"itemName","min-width":"200px",label:"企业商品品名"},{default:({row:e})=>n(v,null,[e.itemName||"--"])}),n(r("el-table-column"),{prop:"itemNo","min-width":"200px",label:"商品货号"},{default:({row:e})=>n(v,null,[e.itemNo||"--"])}),n(r("el-table-column"),{prop:"gmodel","min-width":"200px",label:"规格型号"},null),n(r("el-table-column"),{prop:"qty","min-width":"100px",label:"数量"},null),n(r("el-table-column"),{prop:"price","min-width":"100px",label:"单价"},null),n(r("el-table-column"),{prop:"totalPrice","min-width":"100px",label:"总价"},null),n(r("el-table-column"),{prop:"currency","min-width":"100px",label:"币制"},null),n(r("el-table-column"),{prop:"unit",label:"计量单位"},{default:({row:e})=>n("div",null,[n("span",null,[z[e.unit]||"--"]),n("span",{class:"grey--text font-size-0 ml-1"},[b("("),e.unit,b(")")])])}),n(r("el-table-column"),{"min-width":"100px",label:"原产国"},{default:({row:e})=>n("div",null,[n("span",null,[$[e.country]||"--"]),n(r("v-if"),{show:e.country},{default:()=>[n("span",{class:"grey--text font-size-0 ml-1"},[b("("),e.country,b(")")])]})])}),n(r("el-table-column"),{"min-width":"100px",label:"贸易国"},{default:({row:e})=>n("div",null,[n("span",null,[$[e.tradeCountry]||"--"]),n(r("v-if"),{show:e.tradeCountry},{default:()=>[n("span",{class:"grey--text font-size-0 ml-1"},[b("("),e.tradeCountry,b(")")])]})])}),n(r("el-table-column"),{prop:"barCode","min-width":"100px",label:"条形码"},{default:({row:e})=>n(v,null,[e.barCode||"--"])}),n(r("el-table-column"),{prop:"itemRecordNo","min-width":"150px",label:"账册备案料号"},{default:({row:e})=>n(v,null,[e.itemRecordNo||"--"])}),n(r("el-table-column"),{prop:"qty1","min-width":"100px",label:"法定数量"},null),n(r("el-table-column"),{prop:"unit1","min-width":"150px",label:"法定计量单位"},{default:({row:e})=>n("div",null,[n("span",null,[z[e.unit1]||"--"]),n("span",{class:"grey--text font-size-0 ml-1"},[b("("),e.unit1,b(")")])])}),n(r("el-table-column"),{prop:"qty2","min-width":"100px",label:"第二数量"},{default:({row:e})=>n(v,null,[e.qty2||"--"])}),n(r("el-table-column"),{prop:"unit2","min-width":"150px",label:"第二计量单位"},{default:({row:e})=>n("div",null,[n("span",null,[z[e.unit2]||"--"]),n(r("v-if"),{show:e.unit2},{default:()=>[n("span",{class:"grey--text font-size-0 ml-1"},[b("("),e.unit2,b(")")])]})])}),n(r("el-table-column"),{prop:"unit2","min-width":"100px",label:"备注"},{default:({row:e})=>n(v,null,[e.note||"--"])})]}),[[k("loading"),this.loading]])]),n(r("v-if"),{show:this.realData.length>0},{default:()=>[n(xe,{modelValue:this.loading,"onUpdate:modelValue":e=>this.loading=e,realData:this.realData,onChange:e=>this.list=e},null)]})]),log:()=>n(v,null,[n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:24},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("企业内部编号:")]),this.backInfo.copNo]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("预录入编号:")]),this.backInfo.preNo]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("清单编号:")]),this.backInfo.invtNo||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("申报海关代码:")]),this.backInfo.customsCode]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("申报企业代码:")]),this.backInfo.agentCode]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("电商平台代码:")]),this.backInfo.ebpCode||"--"]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("电商企业代码:")]),this.backInfo.ebcCode||"--"]})]})])})}created(){if(!this.$route.query.id)return this.$message.error("没有找到申报单日志"),this.$router.back();this.getInfo()}getInfo(){this.$axios.get("/ceb/history/"+this.$route.query.id).then((e=>{e.isSend?(this.info=e.message.inventoryHead,this.realData=e.message.inventoryList):this.backInfo=e.message,this.provider=e.provider,this.updateTime=e.updateTime,this.createTime=e.createTime})).catch((e=>{this.$message.error(e.message||"获取数据失败"),this.$router.back()}))}}a([i({type:String,default:"shop"})],we.prototype,"origin",void 0);class ke extends o{constructor(){super(...arguments),t(this,"origin"),t(this,"istype"),t(this,"soform",{}),t(this,"loading",!1),t(this,"tableData",null),t(this,"page",null),t(this,"infopath",null),t(this,"isshow",!1),t(this,"logist",null)}render(){var e;let t;return n(v,null,[n(r("v-if"),{show:"shop"==this.origin},{default:()=>[n("div",{class:"mb-4"},[n("span",{class:"font-size-4 font-weight-bold mr-4"},[b("数据筛选")])])]}),n("div",{class:"white px-5 py-4"},[n(r("v-if"),{show:"admin"==this.origin||"ceb"==this.origin},{default:()=>[n(I,null,{default:()=>[this.$route.meta.name,b("信息")]})]}),n(r("el-form"),{model:this.soform,inline:!0,class:"mb-n4 sofrom"},{default:()=>[n(r("el-form-item"),{label:"admin"==this.origin||"ceb"==this.origin?null:"企业内部编号"},{default:()=>[n(r("el-input"),{placeholder:"企业内部编号",modelValue:this.soform.copNo,"onUpdate:modelValue":e=>this.soform.copNo=e,clearable:!0},null)]}),n(r("el-form-item"),{label:"admin"==this.origin||"ceb"==this.origin?null:"订单编号"},{default:()=>[n(r("el-input"),{placeholder:"订单编号",modelValue:this.soform.orderNo,"onUpdate:modelValue":e=>this.soform.orderNo=e,clearable:!0},null)]}),n(r("el-form-item"),{label:"admin"==this.origin||"ceb"==this.origin?null:"清单编号"},{default:()=>[n(r("el-input"),{placeholder:"清单编号",modelValue:this.soform.invtNo,"onUpdate:modelValue":e=>this.soform.invtNo=e,clearable:!0},null)]}),n(r("el-form-item"),{label:"admin"==this.origin||"ceb"==this.origin?null:"物流运单编号"},{default:()=>[n(r("el-input"),{placeholder:"物流运单编号",modelValue:this.soform.logisticsNo,"onUpdate:modelValue":e=>this.soform.logisticsNo=e,clearable:!0},null)]}),"ceb"==this.origin?null:n(r("el-form-item"),{label:"admin"==this.origin||"ceb"==this.origin?null:"状态"},{default:()=>{return[n(r("el-select"),{modelValue:this.soform.state,"onUpdate:modelValue":e=>this.soform.state=e,clearable:!0,placeholder:"状态"},(e=t=Object.keys(u).map((e=>n(r("el-option"),{key:e,label:u[e],value:e},null))),"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!C(e)?t:{default:()=>[t]}))];var e}}),n(r("el-form-item"),{label:"admin"==this.origin||"ceb"==this.origin?null:"申报单位"},{default:()=>[n(r("el-input"),{placeholder:"申报单位",modelValue:this.soform.providerName,"onUpdate:modelValue":e=>this.soform.providerName=e,clearable:!0},null)]}),n(r("el-form-item"),{label:"admin"==this.origin||"ceb"==this.origin?null:"时间"},{default:()=>[n(r("el-date-picker"),{"unlink-panels":!0,shortcuts:K,"value-format":"YYYY-MM-DD",modelValue:this.soform.date,"onUpdate:modelValue":e=>this.soform.date=e,type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",clearable:!0},null)]}),n(r("el-form-item"),{class:"admin"==this.origin||"ceb"==this.origin?"ml-2":"ml-13"},{default:()=>[n(r("el-button"),{class:"shop"==this.origin?"linear-btn white--text":"",type:"shop"==this.origin?"default":"primary",round:"admin"==this.origin||"ceb"==this.origin,onClick:()=>{this.$router.push({query:s.data(this.soform,{page:1})}),setTimeout(this.getList)}},{default:()=>[b("查询")]}),n(r("el-button"),{round:"admin"==this.origin||"ceb"==this.origin,onClick:()=>this.soform={}},{default:()=>[b("重置")]})]})]})]),n("div",{class:"admin"==this.origin||"ceb"==this.origin?"white mt-2 px-4 pt-2 pb-10":"white mt-4"},[w(n(r("el-table"),{data:this.tableData,style:{width:"100%"},"row-class-name":({rowIndex:e})=>e%2==0?"":"stripe-row","header-cell-class-name":"header-cell"},{default:()=>[n(r("el-table-column"),{type:"index",label:"序号"},null),n(r("el-table-column"),{width:"200px",label:"企业内部编号"},{default:({row:e})=>"ceb"==this.istype?n(r("router-link"),{to:{name:this.infopath+"-info",query:{id:e.id}}},{default:()=>[e.message.copNo]}):n(v,null,[e.message.copNo])}),n(r("el-table-column"),{prop:"message.orderNo",label:"订单号"},null),n(r("el-table-column"),{prop:"message.logisticsNo",label:"物流单号"},{default:({row:e})=>"ceb"!=this.origin&&"admin"!=this.origin||"ceb"!=this.istype||!e.message.logisticsNo?n(v,null,[e.message.logisticsNo||"--"]):n("a",{href:"javascript:;",onClick:()=>(this.isshow=!0,this.logist=e.message.logisticsNo)},[e.message.logisticsNo||"--"])}),n(r("el-table-column"),{prop:"invtNo",label:"清单编号"},{default:({row:e})=>n(v,null,[e.invtNo||"--"])}),n(r("el-table-column"),{prop:"message.buyerName",label:"订购人"},null),n(r("el-table-column"),{prop:"provider.name",label:"申报单位"},null),n(r("el-table-column"),{label:"时间"},{default:({row:e})=>n(me,{modelValue:e.createTime,"onUpdate:modelValue":t=>e.createTime=t},null)}),n(r("el-table-column"),{label:"税单状态",width:"140px"},{default:({row:e})=>n(fe,{state:e.ceb816,isTax:!0,origin:this.origin},null)}),n(r("el-table-column"),{label:"清单状态",width:"140px"},{default:({row:e})=>n(fe,{state:e.state,origin:this.origin},null)})]}),[[k("loading"),this.loading]]),n(r("v-if"),{show:null!=this.page&&0!=(null==(e=this.page)?void 0:e.count)},{default:()=>[n("div",{class:"admin"==this.origin||"ceb"==this.origin?"text-center py-6":"pa-4"},[n(r("el-page"),{value:this.page,router:!0,onChange:()=>setTimeout(this.getList)},null)])]})]),n(be,{modelValue:this.isshow,"onUpdate:modelValue":e=>this.isshow=e,no:this.logist},null)])}created(){var e;this.infopath=null==(e=this.$route.matched[this.$route.matched.length-2])?void 0:e.name,this.soform=s.data(this.$route.query),this.getList()}getList(){this.loading=!0;let e="/ceb/621";"region"==this.istype&&(e="/region/621"),this.$axios.get(e,{params:s.data(this.$route.query,{date:this.$route.query.date?this.$route.query.date+"":null})}).then((({list:e,page:t})=>{this.tableData=e,this.page=t,"ceb"==this.origin?this.toUPScroll(".layout-scroll"):this.toUPScroll(".order-scroll")})).catch((e=>{this.$message.error(e.message||"获取数据失败"),this.tableData=null,this.page=null})).finally((()=>this.loading=!1))}}a([i({type:String,default:"shop"})],ke.prototype,"origin",void 0),a([i({type:String,default:"ceb"})],ke.prototype,"istype",void 0);class Ce extends o{constructor(){super(...arguments),t(this,"origin"),t(this,"istype"),t(this,"soform",{}),t(this,"loading",!1),t(this,"tableData",null),t(this,"page",null),t(this,"infopath",null),t(this,"isshow",!1),t(this,"logist",null)}render(){var e;let t;return n(v,null,[n(r("v-if"),{show:"shop"==this.origin},{default:()=>[n("div",{class:"mb-4"},[n("span",{class:"font-size-4 font-weight-bold mr-4"},[b("数据筛选")])])]}),n("div",{class:"white px-5 py-4"},[n(r("v-if"),{show:"admin"==this.origin||"ceb"==this.origin},{default:()=>[n(I,null,{default:()=>[this.$route.meta.name,b("信息")]})]}),n(r("el-form"),{model:this.soform,inline:!0,class:"mb-n4 sofrom"},{default:()=>[n(r("el-form-item"),{label:"admin"==this.origin||"ceb"==this.origin?null:"企业内部编号"},{default:()=>[n(r("el-input"),{placeholder:"企业内部编号",modelValue:this.soform.copNo,"onUpdate:modelValue":e=>this.soform.copNo=e,clearable:!0},null)]}),n(r("el-form-item"),{label:"admin"==this.origin||"ceb"==this.origin?null:"订单编号"},{default:()=>[n(r("el-input"),{placeholder:"订单编号",modelValue:this.soform.orderNo,"onUpdate:modelValue":e=>this.soform.orderNo=e,clearable:!0},null)]}),n(r("el-form-item"),{label:"admin"==this.origin||"ceb"==this.origin?null:"清单编号"},{default:()=>[n(r("el-input"),{placeholder:"清单编号",modelValue:this.soform.invtNo,"onUpdate:modelValue":e=>this.soform.invtNo=e,clearable:!0},null)]}),n(r("el-form-item"),{label:"admin"==this.origin||"ceb"==this.origin?null:"物流运单编号"},{default:()=>[n(r("el-input"),{placeholder:"物流运单编号",modelValue:this.soform.logisticsNo,"onUpdate:modelValue":e=>this.soform.logisticsNo=e,clearable:!0},null)]}),"ceb"==this.origin?null:n(r("el-form-item"),{label:"admin"==this.origin||"ceb"==this.origin?null:"状态"},{default:()=>{return[n(r("el-select"),{modelValue:this.soform.state,"onUpdate:modelValue":e=>this.soform.state=e,clearable:!0,placeholder:"状态"},(e=t=Object.keys(u).map((e=>n(r("el-option"),{key:e,label:u[e],value:e},null))),"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!C(e)?t:{default:()=>[t]}))];var e}}),n(r("el-form-item"),{label:"admin"==this.origin||"ceb"==this.origin?null:"申报单位"},{default:()=>[n(r("el-input"),{placeholder:"申报单位",modelValue:this.soform.providerName,"onUpdate:modelValue":e=>this.soform.providerName=e,clearable:!0},null)]}),n(r("el-form-item"),{label:"admin"==this.origin||"ceb"==this.origin?null:"时间"},{default:()=>[n(r("el-date-picker"),{"unlink-panels":!0,shortcuts:K,"value-format":"YYYY-MM-DD",modelValue:this.soform.date,"onUpdate:modelValue":e=>this.soform.date=e,type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",clearable:!0},null)]}),n(r("el-form-item"),{class:"admin"==this.origin||"ceb"==this.origin?"ml-2":"ml-13"},{default:()=>[n(r("el-button"),{class:"shop"==this.origin?"linear-btn white--text":"",type:"shop"==this.origin?"default":"primary",round:"admin"==this.origin||"ceb"==this.origin,onClick:()=>{this.$router.push({query:s.data(this.soform,{page:1})}),setTimeout(this.getList)}},{default:()=>[b("查询")]}),n(r("el-button"),{round:"admin"==this.origin||"ceb"==this.origin,onClick:()=>this.soform={}},{default:()=>[b("重置")]})]})]})]),n("div",{class:"admin"==this.origin||"ceb"==this.origin?"white mt-2 px-4 pt-2 pb-10":"white mt-4"},[w(n(r("el-table"),{data:this.tableData,style:{width:"100%"},"row-class-name":({rowIndex:e})=>e%2==0?"":"stripe-row","header-cell-class-name":"header-cell"},{default:()=>[n(r("el-table-column"),{type:"index",label:"序号"},null),n(r("el-table-column"),{prop:"message.copNo",width:"200",label:"企业内部编号"},{default:({row:e})=>"ceb"==this.istype?n(r("router-link"),{to:{name:this.infopath+"-info",query:{id:e.id}}},{default:()=>[e.message.copNo]}):n(v,null,[e.message.copNo])}),n(r("el-table-column"),{prop:"message.orderNo",label:"订单编号"},null),n(r("el-table-column"),{prop:"invtNo",label:"清单编号"},{default:({row:e})=>n("span",null,[e.invtNo])}),n(r("el-table-column"),{prop:"message.logisticsNo",label:"物流运单编号"},{default:({row:e})=>"ceb"!=this.origin&&"admin"!=this.origin||"ceb"!=this.istype||!e.message.logisticsNo?n(v,null,[e.message.logisticsNo||"--"]):n("a",{href:"javascript:;",onClick:()=>(this.isshow=!0,this.logist=e.message.logisticsNo)},[e.message.logisticsNo||"--"])}),n(r("el-table-column"),{prop:"message.ebcName",label:"电商企业"},null),n(r("el-table-column"),{prop:"provider.name",label:"申报单位"},null),n(r("el-table-column"),{label:"时间"},{default:({row:e})=>n(me,{modelValue:e.createTime,"onUpdate:modelValue":t=>e.createTime=t},null)}),n(r("el-table-column"),{label:"状态",width:"140px"},{default:({row:e})=>n(fe,{state:e.state,origin:this.origin},null)})]}),[[k("loading"),this.loading]]),n(r("v-if"),{show:null!=this.page&&0!=(null==(e=this.page)?void 0:e.count)},{default:()=>[n("div",{class:"admin"==this.origin||"ceb"==this.origin?"text-center py-6":"pa-4"},[n(r("el-page"),{value:this.page,router:!0,onChange:()=>setTimeout(this.getList)},null)])]})]),n(be,{modelValue:this.isshow,"onUpdate:modelValue":e=>this.isshow=e,no:this.logist},null)])}created(){var e;this.infopath=null==(e=this.$route.matched[this.$route.matched.length-2])?void 0:e.name,this.soform=s.data(this.$route.query),this.getList()}getList(){this.loading=!0;let e="/ceb/603";"region"==this.istype&&(e="/region/603"),this.$axios.get(e,{params:s.data(this.$route.query,{date:this.$route.query.date?this.$route.query.date+"":null})}).then((({list:e,page:t})=>{this.tableData=e,this.page=t,"ceb"==this.origin?this.toUPScroll(".layout-scroll"):this.toUPScroll(".order-scroll")})).catch((e=>{this.$message.error(e.message||"获取数据失败"),this.tableData=null,this.page=null})).finally((()=>this.loading=!1))}}a([i({type:String,default:"shop"})],Ce.prototype,"origin",void 0),a([i({type:String,default:"ceb"})],Ce.prototype,"istype",void 0),(oe=ie||(ie={})).A="简化申报",oe.B="汇总申报";class Ne extends o{constructor(){super(...arguments),t(this,"origin"),t(this,"info"),t(this,"isLog"),t(this,"createTime"),t(this,"updateTime"),t(this,"invtNo")}render(){return n(v,null,[n("div",null,[n("div",{class:"mb-3 font-size-2 font-weight-bold"},[b("海关清单信息")]),n("div",{class:"mt-3 rounded-lg overflow-hidden decbox"},[n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("guid:")]),this.info.guid]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("企业内部编号:")]),this.info.copNo]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("创建时间:")]),n(r("el-time"),{value:this.createTime,type:"datetime"},null)]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("更新时间:")]),n(r("el-time"),{value:this.updateTime,type:"datetime"},null)]})]}),n(r("v-if"),{show:this.isLog},{default:()=>[n(ge,{info:this.info},null)]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("订单编号:")]),this.info.orderNo]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("进出口标记:")]),X[this.info.ieFlag]||"--",n(r("v-if"),{show:this.info.ieFlag},{default:()=>[n("span",{class:"font-size-0 grey--text ml-1"},[b("("),this.info.ieFlag,b(")")])]})]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("出口日期:")]),n(r("el-time"),{value:this.info.ieDate},null)]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("申报业务类型:")]),ie[this.info.statisticsFlag],n("span",{class:"font-size-0 grey--text ml-1"},[b("("),this.info.statisticsFlag,b(")")])]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("出口口岸代码:")]),this.info.portCode]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("申报地海关代码:")]),this.info.customsCode]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("清单编号:")]),this.invtNo||"--"]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("电子口岸编号:")]),this.info.preNo||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("贸易方式:")]),this.info.tradeMode||"--"]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("许可证号:")]),this.info.licenseNo||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:24},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("备注:")]),this.info.note||"--"]})]})])]),n("div",{class:"mt-4"},[n("div",{class:"mb-3 font-size-2 font-weight-bold"},[b("企业信息")]),n("div",{class:"mt-3 rounded-lg overflow-hidden decbox"},[n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("申报企业代码:")]),this.info.agentCode]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("申报企业名称:")]),this.info.agentName]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("收发货人代码:")]),this.info.ebcCode]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("收发货人名称:")]),this.info.ebcName]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("生产销售企业代码:")]),this.info.ownerCode]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("生产销售企业名称:")]),this.info.ownerName]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("区内企业代码:")]),this.info.iacCode||"--"]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("区内企业名称:")]),this.info.iacName||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("电商平台代码:")]),this.info.ebpCode]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("电商平台名称:")]),this.info.ebpName]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("监管场所代码:")]),this.info.loctNo||"--"]})]})])]),n("div",{class:"mt-4"},[n("div",{class:"mb-3 font-size-2 font-weight-bold"},[b("物流信息")]),n("div",{class:"mt-3 rounded-lg overflow-hidden decbox"},[n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("物流企业代码:")]),this.info.logisticsCode]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("物流企业名称:")]),this.info.logisticsName]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("物流运单编号:")]),this.info.logisticsNo]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("运输方式:")]),F[this.info.trafMode],n("span",{class:"font-size-0 grey--text ml-1"},[b("("),this.info.trafMode,b(")")])]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("运费:")]),this.info.freight||"--"]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("保费:")]),this.info.insuredFee||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("运费币制:")]),this.info.fCurrency||"--"]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("保费币制:")]),this.info.iCurrency||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("运费标志:")]),this.info.fFlag||"--"]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("保费标志:")]),this.info.iFlag||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("毛重(公斤):")]),this.info.grossWeight||"--"]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("净重(公斤):")]),this.info.netWeight||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("包装种类代码:")]),M[this.info.wrapType]||"--",n("span",{class:"font-size-0 grey--text ml-1"},[b("("),this.info.wrapType,b(")")])]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("件数:")]),this.info.packNo||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("运输工具名称:")]),this.info.trafName||"--"]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("航班航次号:")]),this.info.voyageNo||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("运抵国(地区):")]),$[this.info.country],n("span",{class:"font-size-0 grey--text ml-1"},[b("("),this.info.country,b(")")])]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("指运港代码:")]),this.info.POD||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("提运单号:")]),this.info.billNo||"--"]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("总包号:")]),this.info.totalPackageNo||"--"]})]})])])])}}a([i({type:String,default:"shop"})],Ne.prototype,"origin",void 0),a([i({type:Object})],Ne.prototype,"info",void 0),a([i({type:Boolean,default:!1})],Ne.prototype,"isLog",void 0),a([i({type:String})],Ne.prototype,"createTime",void 0),a([i({type:String})],Ne.prototype,"updateTime",void 0),a([i({type:String})],Ne.prototype,"invtNo",void 0),function(e){e.A="简化申报",e.B="汇总申报"}(ne||(ne={}));class Te extends o{constructor(){super(...arguments),t(this,"origin"),t(this,"info",null),t(this,"list",null),t(this,"backInfo",null),t(this,"provider",null),t(this,"realData",null),t(this,"loading",!1),t(this,"createTime",null),t(this,"updateTime",null)}render(){return n(pe,{info:this.info,backInfo:this.backInfo,provider:this.provider},{default:()=>n(Ne,{info:this.info,invtNo:this.info.invtNo,isLog:!0,createTime:this.createTime,updateTime:this.updateTime},null),list:()=>n("div",{class:"mt-4"},[n("div",{class:"mb-3 font-size-2 font-weight-bold"},[b("商品信息")]),n("div",{class:"mt-3 rounded-lg overflow-hidden decbox pa-2 pt-0",style:{background:"#f4f8fe"}},[w(n(r("el-table"),{data:this.list,style:{width:"100%"},"header-cell-class-name":"dectable-cell"},{default:()=>[n(r("el-table-column"),{prop:"gnum",width:"100",label:"商品序号"},null),n(r("el-table-column"),{prop:"gcode","min-width":"100px",label:"商品编码"},null),n(r("el-table-column"),{prop:"gname","min-width":"200px",label:"商品名称"},null),n(r("el-table-column"),{prop:"itemName","min-width":"200px",label:"企业商品品名"},{default:({row:e})=>n(v,null,[e.itemName||"--"])}),n(r("el-table-column"),{prop:"itemNo","min-width":"200px",label:"商品货号"},{default:({row:e})=>n(v,null,[e.itemNo||"--"])}),n(r("el-table-column"),{prop:"gmodel","min-width":"200px",label:"规格型号"},null),n(r("el-table-column"),{prop:"qty","min-width":"100px",label:"数量"},null),n(r("el-table-column"),{prop:"price","min-width":"100px",label:"单价"},null),n(r("el-table-column"),{prop:"totalPrice","min-width":"100px",label:"总价"},null),n(r("el-table-column"),{prop:"currency","min-width":"100px",label:"币制"},null),n(r("el-table-column"),{prop:"unit",label:"计量单位"},{default:({row:e})=>n("div",null,[n("span",null,[z[e.unit]||"--"]),n("span",{class:"grey--text font-size-0 ml-1"},[b("("),e.unit,b(")")])])}),n(r("el-table-column"),{"min-width":"150px",label:"目的国(地区)"},{default:({row:e})=>n("div",null,[n("span",null,[$[e.country]||"--"]),n(r("v-if"),{show:e.country},{default:()=>[n("span",{class:"grey--text font-size-0 ml-1"},[b("("),e.country,b(")")])]})])}),n(r("el-table-column"),{prop:"barCode","min-width":"100px",label:"条形码"},{default:({row:e})=>n(v,null,[e.barCode||"--"])}),n(r("el-table-column"),{prop:"itemRecordNo","min-width":"150px",label:"账册备案料号"},{default:({row:e})=>n(v,null,[e.itemRecordNo||"--"])}),n(r("el-table-column"),{prop:"qty1","min-width":"100px",label:"法定数量"},null),n(r("el-table-column"),{prop:"unit1","min-width":"150px",label:"法定计量单位"},{default:({row:e})=>n("div",null,[n("span",null,[z[e.unit1]||"--"]),n("span",{class:"grey--text font-size-0 ml-1"},[b("("),e.unit1,b(")")])])}),n(r("el-table-column"),{prop:"qty2","min-width":"100px",label:"第二数量"},{default:({row:e})=>n(v,null,[e.qty2||"--"])}),n(r("el-table-column"),{prop:"unit2","min-width":"150px",label:"第二计量单位"},{default:({row:e})=>n("div",null,[n("span",null,[z[e.unit2]||"--"]),n(r("v-if"),{show:e.unit2},{default:()=>[n("span",{class:"grey--text font-size-0 ml-1"},[b("("),e.unit2,b(")")])]})])}),n(r("el-table-column"),{prop:"unit2","min-width":"100px",label:"备注"},{default:({row:e})=>n(v,null,[e.note||"--"])})]}),[[k("loading"),this.loading]])]),n(r("v-if"),{show:this.realData.length>0},{default:()=>[n(xe,{modelValue:this.loading,"onUpdate:modelValue":e=>this.loading=e,realData:this.realData,onChange:e=>this.list=e},null)]})]),log:()=>n(v,null,[n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("企业内部编号:")]),this.backInfo.copNo||"--"]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("订单编号:")]),this.backInfo.orderNo||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("清单编号:")]),this.backInfo.invtNo||"--"]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("电子口岸编号:")]),this.backInfo.preNo||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("申报企业代码:")]),this.backInfo.agentCode||"--"]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("申报业务类型:")]),ne[this.backInfo.statisticsFlag]||"--"]})]}),n(r("el-row"),{class:"dec d-flex align-center"},{default:()=>[n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("收发货人代码:")]),this.backInfo.ebcCode||"--"]}),n(r("el-col"),{span:12},{default:()=>[n("span",{class:"grey--text text--darken-1"},[b("电商平台代码:")]),this.backInfo.ebpCode||"--"]})]})])})}created(){if(!this.$route.query.id)return this.$message.error("没有找到申报单日志"),this.$router.back();this.getInfo()}getInfo(){this.$axios.get("/ceb/history/"+this.$route.query.id).then((e=>{e.isSend?(this.info=e.message.inventoryHead,this.realData=e.message.inventoryList):this.backInfo=e.message,this.provider=e.provider,this.updateTime=e.updateTime,this.createTime=e.createTime})).catch((e=>{this.$message.error(e.message||"获取数据失败"),this.$router.back()}))}}a([i({type:String,default:"shop"})],Te.prototype,"origin",void 0);class Se extends o{constructor(){super(...arguments),t(this,"src"),t(this,"width"),t(this,"height"),t(this,"href"),t(this,"fit")}render(){return n(r("el-image"),{src:this.src,style:{width:this.width,height:this.height},fit:this.fit},{error:()=>n("div",{class:"d-flex align-center justify-center grey lighten-2",style:{width:"100%",height:"100%"}},[n("i",{class:"icon-tupianshibai user-iconfont font-size-10 grey--text"},null)])})}}a([i({type:String})],Se.prototype,"src",void 0),a([i({type:[String,Number],default:"170px"})],Se.prototype,"width",void 0),a([i({type:[String,Number],default:"170px"})],Se.prototype,"height",void 0),a([i({type:String})],Se.prototype,"href",void 0),a([i({type:String,default:"fit"})],Se.prototype,"fit",void 0);class Ee extends o{constructor(){super(...arguments),t(this,"src"),t(this,"width"),t(this,"height"),t(this,"href"),t(this,"fit"),t(this,"u",null)}get w(){return parseInt(this.width.toString())+"px"}get h(){return parseInt(this.height.toString())+"px"}get _url(){return this.u||this.src}render(){let e=n(r("el-image"),{src:this._url,style:{width:this.w,height:this.h},fit:this.fit},{error:()=>n("div",{class:"d-flex align-center justify-center grey lighten-2",style:{width:"100%",height:"100%"}},[n("i",{class:"icon-tupianshibai user-iconfont font-size-10 grey--text"},null)])});return this.href?n("a",{href:this.href,target:"_blank"},[e]):e}}a([i({type:String})],Ee.prototype,"src",void 0),a([i({type:[String,Number],default:"170px"})],Ee.prototype,"width",void 0),a([i({type:[String,Number],default:"170px"})],Ee.prototype,"height",void 0),a([i({type:String})],Ee.prototype,"href",void 0),a([i({type:String,default:"fit"})],Ee.prototype,"fit",void 0);class Ie extends Ee{constructor(){super(...arguments),t(this,"baseUrl")}static url(e,t,l,s,a="pad",i="FFFFFF"){let o="/"==(null==e?void 0:e.charAt(0))?e:"/"+e,n=N(o,!0);if((t||l)&&Object.assign(n.query,{"x-oss-process":["image/resize",`m_${a}`,`w_${t}`,`h_${l}`,`color_${i}`,"limit_0/auto-orient","1/quality","q_100"].join(",")}),s){let e=N(s,!0);n.hostname=e.hostname,n.protocol=e.protocol,n.host=e.host,n.origin=e.origin}return unescape(n.toString())}render(){let e="//cdn.lygddt.com/".toString();return this.u=Ie.url(this.src,parseInt(this.width.toString()),parseInt(this.height.toString()),this.baseUrl||e),super.render()}}a([i({type:String})],Ie.prototype,"baseUrl",void 0);export{X as B,W as C,K as D,Ie as I,xe as L,ye as M,he as O,te as P,S,me as T,se as U,I as a,ke as b,ve as c,ue as d,E as e,Ce as f,Ne as g,Te as h,Z as i,V as j,$ as k,z as l,ge as m,Y as n,pe as o,F as p,_ as q,we as r,fe as s,re as t,Ee as u,Q as v,G as w};