You can not 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
87 KiB
1 line
87 KiB
12 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-418fea3c"],{"1aca":function(e,t,r){"use strict";r("9ddc")},"1bc30":function(e,t,r){},"2e83":function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));r("28a5");var i=r("8122"),a=r("e8ae"),n=r.n(a),s=r("21a6");function o(e,t,r,a,o,l){var c,d=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],u=1,m=new n.a.Workbook,p=e.length;function _(e){var t=Array.isArray(e)?e[0]:e,r=Array.isArray(e)?e[1]:{};c=m.addWorksheet(t,r)}function v(e,t){if(!Object(i["isEmpty"])(e)){e=Array.isArray(e)?e:e.split(",");for(var r=0;r<e.length;r++){var a=c.getRow(r+1);a.getCell(1).value=e[r],a.height=30,a.font={bold:!0,size:20,vertAlign:"subscript"},a.alignment={vertical:"bottom",horizontal:"center"},a.outlineLevel=1,c.mergeCells(r+1,1,r+1,t),a.commit(),u++}}}function h(e){if(!Object(i["isEmpty"])(e)){for(var t=c.getRow(u),r=1;r<=e.length;r++)t.getCell(r).value=e[r-1];t.height=25,t.width=50,t.font={bold:!0,size:18,vertAlign:"subscript"},t.alignment={vertical:"bottom",horizontal:"center"},t.outlineLevel=1,t.commit(),u++}}function g(e){if(!Object(i["isEmpty"])(e))for(var t=0;t<e.length;t++){for(var r=u,a=c.getRow(u),n=!1,s=0,o=0,l=0,d=0;d<e[t].length;d++)Array.isArray(e[t][d])?(s=l,n=!0,b(e[t][d],l),l+=e[t][d][0].length,o=l):(a.getCell(C(l)).value=e[t][d],a.getCell(C(l)).border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}},a.alignment={vertical:"middle",horizontal:"center"},l++);n&&y(r,u,s,o),a.height=25,a.commit(),u++}}function b(e,t){for(var r=e.length,i=r-1,a=0;a<e.length;a++){for(var n=c.getRow(u),s=0;s<e[a].length;s++)n.getCell(C(t+s)).value=e[a][s],n.getCell(C(t+s)).border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}},n.alignment={vertical:"middle",horizontal:"center"};n.height=25,n.commit(),a<i&&u++}}function y(e,t,r,i){for(var a=0;a<p;a++)(a<r||a>i)&&c.mergeCells(C(a)+e+":"+C(a)+t)}function w(e){if(!Object(i["isEmpty"])(e))if(Array.isArray(e))for(var t=0;t<e.length;t++){var r=c.getRow(u);r.getCell(1).value=e[t],r.getCell(1).border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}},r.alignment={vertical:"middle",horizontal:"left"},c.mergeCells("A"+u+":"+C(p-1)+u),u++}else{var a=c.getRow(u);a.getCell(1).value=e[f],a.getCell(1).border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}},a.alignment={vertical:"middle",horizontal:"left"},c.mergeCells("A"+u+":"+C(p-1)+u)}}function C(e){if(e<26)return d[e];var t=e%26,r=Math.floor(e%26);return d[r]+d[t]}function k(e){e||(e=(new Date).getTime()),m.xlsx.writeBuffer().then((function(t){var r=new Blob([t],{type:"application/octet-stream"});s["saveAs"](r,e+".xlsx")}))}_(l),v(t,p),h(e),g(r),w(a),k(o)}},"3e72":function(e,t,r){},"42bc":function(e,t,r){"use strict";r("7e61")},"53b5":function(e,t,r){"use strict";r("3e72")},"634a":function(e,t,r){"use strict";r.r(t);var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"divBox"},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("div",{staticClass:"container"},[r("el-form",{attrs:{size:"small","label-width":"100px",inline:""}},[r("el-form-item",{staticStyle:{display:"block"},attrs:{label:"订单状态:"}},[r("el-radio-group",{attrs:{type:"button"},on:{change:function(t){e.getList(1),e.getCardList()}},model:{value:e.tableFrom.status,callback:function(t){e.$set(e.tableFrom,"status",t)},expression:"tableFrom.status"}},[r("el-radio-button",{attrs:{label:""}},[e._v("全部 "+e._s(e.orderChartType.all))]),e._v(" "),r("el-radio-button",{attrs:{label:"1"}},[e._v("待付款 "+e._s(e.orderChartType.unpaid))]),e._v(" "),r("el-radio-button",{attrs:{label:"2"}},[e._v("待发货 "+e._s(e.orderChartType.unshipped))]),e._v(" "),r("el-radio-button",{attrs:{label:"3"}},[e._v("待收货 "+e._s(e.orderChartType.untake))]),e._v(" "),r("el-radio-button",{attrs:{label:"4"}},[e._v("待评价 "+e._s(e.orderChartType.unevaluate)
|