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
6.0 KiB
JavaScript
1 line
6.0 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-35ef3f2f"],{"0025":function(t,e,a){var l=a("24fb");e=l(!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,a){"use strict";a.d(e,"c",(function(){return i})),a.d(e,"d",(function(){return r})),a.d(e,"a",(function(){return o})),a.d(e,"b",(function(){return n})),a.d(e,"e",(function(){return d}));var l=a("b775"),s=a("2d46");function i(){return Object(s["a"])("tools/getdictlist")}function r(t,e){return Object(l["a"])({url:"tools/getdjydict/"+t,method:"get",params:e})}function o(t){return Object(l["a"])({url:"tools/getdictkeylist/"+t,method:"get"})}function n(t){return Object(l["a"])({url:"tools/getdictlist/"+t})}function d(t){var e="/api/tools/download?name="+encodeURI(t);return e}},"4fa4":function(t,e,a){"use strict";a.r(e);var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"mainbody"},[a("div",[a("el-form",{ref:"frm_select",staticClass:"search-form",attrs:{model:t.selectdata,"label-width":"80px"}},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:3}},[a("el-form-item",{attrs:{label:"提单号"}},[a("el-input",{attrs:{clearable:""},model:{value:t.selectdata.sendOrderCode,callback:function(e){t.$set(t.selectdata,"sendOrderCode",e)},expression:"selectdata.sendOrderCode"}})],1)],1),a("el-col",{attrs:{span:3}},[a("el-form-item",{attrs:{label:"代理"}},[a("el-input",{attrs:{clearable:""},model:{value:t.selectdata.customerName,callback:function(e){t.$set(t.selectdata,"customerName",e)},expression:"selectdata.customerName"}})],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"提交时间"}},[a("el-date-picker",{staticClass:"eldate-date",attrs:{type:"date",placeholder:""},model:{value:t.selectdata.timestart,callback:function(e){t.$set(t.selectdata,"timestart",e)},expression:"selectdata.timestart"}}),t._v(" 至 "),a("el-date-picker",{staticClass:"eldate-date",attrs:{type:"date",placeholder:""},model:{value:t.selectdata.timeend,callback:function(e){t.$set(t.selectdata,"timeend",e)},expression:"selectdata.timeend"}})],1)],1),a("el-col",{staticClass:"search-btn",attrs:{span:4}},[a("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:function(e){return t.getlist(1)}}},[t._v("查询")]),a("el-button",{attrs:{icon:"el-icon-refresh-right"},on:{click:function(e){t.selectdata=t.$ysapp.copyobj(t.selectdatainit)}}},[t._v("重置")])],1)],1)],1),a("el-row",{attrs:{gutter:24}},[a("el-table",{ref:"tab_list",staticStyle:{width:"98%"},attrs:{data:t.datalist,border:"",stripe:""},on:{"selection-change":t.tab_list_select}},[t._l(t.tablecols,(function(t){return a("el-table-column",{attrs:{label:t.label,fixed:t.fixed,prop:t.prop,width:t.width}})})),a("el-table-column",{attrs:{label:"提交时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(t.$ysapp.todatetime(e.row.addTime)))]}}])}),a("el-table-column",{attrs:{label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(100==e.row.status?"成功":"失败"))]}}])})],2),a("el-pagination",{attrs:{background:"",layout:"total, sizes, prev, pager, next, jumper",total:t.selectdata.count,"page-size":t.selectdata.limit,"current-page":t.selectdata.page},on:{"size-change":t.pagesize,"current-change":t.pagechange}})],1)],1)])},s=[],i=a("2d46");function r(t){return Object(i["a"])("vgm/boxlist",t)}a("121a");var o={data(){return{tablecols:[{label:"提单号",prop:"sendOrderCode",fixed:"left"},{label:"代理",prop:"customerName"},{label:"箱号",prop:"code"}],loading:!1,datalist:[],selectdata:[],selectdatainit:{ismain:!0,limit:this.$pagesize,page:1,count:0}}},created(){this.pageinit(),this.$route.query.status&&(this.selectdata.status=this.$route.query.status,this.getlist())},watch:{$route(t,e){this.$route.query.status&&(this.selectdata.status=this.$route.query.status,this.getlist())}},methods:{pageinit(){this.selectdata=this.$ysapp.copyobj(this.selectdatainit),this.getlist()},getlist(t=0){1==t&&(this.selectdata.page=1),null!=this.selectdata.timestart&&(this.selectdata.startTime=Date.parse(this.selectdata.timestart)/1e3),null!=this.selectdata.timeend&&(this.selectdata.endTime=Date.parse(this.selectdata.timeend)/1e3),this.loading=!0,r(this.selectdata).then(t=>{this.datalist=t.data,this.selectdata=this.$ysapp.getpagebind(t,this.selectdata),this.loading=!1})},pagesize(t){this.selectdata.limit=t,this.getlist()},pagechange(t){this.selectdata.page=t,this.getlist()},tab_list_select(t){this.tableselect=t}}},n=o,d=(a("7513"),a("2877")),c=Object(d["a"])(n,l,s,!1,null,null,null);e["default"]=c.exports},7513:function(t,e,a){"use strict";a("b6ff")},b6ff:function(t,e,a){var l=a("df94");l.__esModule&&(l=l.default),"string"===typeof l&&(l=[[t.i,l,""]]),l.locals&&(t.exports=l.locals);var s=a("499e").default;s("67e725a1",l,!0,{sourceMap:!1,shadowMode:!1})},df94:function(t,e,a){var l=a("24fb"),s=a("0025");e=l(!1),e.i(s),e.push([t.i,".tools_main{margin-top:50px;padding-top:50px;text-align:center}.tools_count{padding-top:20px}",""]),t.exports=e}}]); |