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
35 KiB
1 line
35 KiB
1 year ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6c88f67a"],{"05b6":function(t,e,r){},"2e83":function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));r("28a5");var n=r("8122"),a=r("e8ae"),i=r.n(a),o=r("21a6");function s(t,e,r,a,s,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,g=new i.a.Workbook,p=t.length;function m(t){var e=Array.isArray(t)?t[0]:t,r=Array.isArray(t)?t[1]:{};c=g.addWorksheet(e,r)}function v(t,e){if(!Object(n["isEmpty"])(t)){t=Array.isArray(t)?t:t.split(",");for(var r=0;r<t.length;r++){var a=c.getRow(r+1);a.getCell(1).value=t[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,e),a.commit(),u++}}}function _(t){if(!Object(n["isEmpty"])(t)){for(var e=c.getRow(u),r=1;r<=t.length;r++)e.getCell(r).value=t[r-1];e.height=25,e.width=50,e.font={bold:!0,size:18,vertAlign:"subscript"},e.alignment={vertical:"bottom",horizontal:"center"},e.outlineLevel=1,e.commit(),u++}}function h(t){if(!Object(n["isEmpty"])(t))for(var e=0;e<t.length;e++){for(var r=u,a=c.getRow(u),i=!1,o=0,s=0,l=0,d=0;d<t[e].length;d++)Array.isArray(t[e][d])?(o=l,i=!0,b(t[e][d],l),l+=t[e][d][0].length,s=l):(a.getCell(C(l)).value=t[e][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++);i&&y(r,u,o,s),a.height=25,a.commit(),u++}}function b(t,e){for(var r=t.length,n=r-1,a=0;a<t.length;a++){for(var i=c.getRow(u),o=0;o<t[a].length;o++)i.getCell(C(e+o)).value=t[a][o],i.getCell(C(e+o)).border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}},i.alignment={vertical:"middle",horizontal:"center"};i.height=25,i.commit(),a<n&&u++}}function y(t,e,r,n){for(var a=0;a<p;a++)(a<r||a>n)&&c.mergeCells(C(a)+t+":"+C(a)+e)}function w(t){if(!Object(n["isEmpty"])(t))if(Array.isArray(t))for(var e=0;e<t.length;e++){var r=c.getRow(u);r.getCell(1).value=t[e],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=t[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(t){if(t<26)return d[t];var e=t%26,r=Math.floor(t%26);return d[r]+d[e]}function L(t){t||(t=(new Date).getTime()),g.xlsx.writeBuffer().then((function(e){var r=new Blob([e],{type:"application/octet-stream"});o["saveAs"](r,t+".xlsx")}))}m(l),v(e,p),_(t),h(r),w(a),L(s)}},"3e81":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;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":"120px",inline:""}},[r("el-form-item",{staticStyle:{display:"block"},attrs:{label:"订单状态:"}},[r("el-radio-group",{attrs:{type:"button"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.status,callback:function(e){t.$set(t.tableFrom,"status",e)},expression:"tableFrom.status"}},[r("el-radio-button",{attrs:{label:""}},[t._v("全部 "+t._s(t.orderChartType.all))]),t._v(" "),r("el-radio-button",{attrs:{label:"0"}},[t._v("待审核 "+t._s(t.orderChartType.audit))]),t._v(" "),r("el-radio-button",{attrs:{label:"-1"}},[t._v("审核未通过 "+t._s(t.orderChartType.refuse))]),t._v(" "),r("el-radio-button",{attrs:{label:"1"}},[t._v("审核通过 "+t._s(t.orderChartType.agree))]),t._v(" "),r("el-radio-button",{attrs:{label:"2"}},[t._v("待收货 "+t._s(t.orderChartType.backgood))]),t._v(" "),r("el-radio-button",{attrs:{label:"3"}},[t._v("已完成 "+t._s(t.orderChartType.end))])],1)],1),t._v(" "),r("el-form-item",{staticClass:"width100",staticStyle
|