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.
3 lines
121 KiB
3 lines
121 KiB
10 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["order"],{"0187":function(e,t,a){},"0d4b":function(e,t,a){"use strict";a.r(t);a("b0c0");var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"container"},[t("a-card",{staticClass:"mb-20",attrs:{bordered:!1}},[t("div",{staticClass:"card-title"},[e._v(e._s(e.$route.meta.title))]),t("a-alert",{staticClass:"mb-20",attrs:{showIcon:!0,message:"功能说明:用于订单数据导出,导出后的文件请用Excel打开查看",banner:""}}),t("a-form",{staticClass:"my-form",attrs:{form:e.myForm,layout:"inline"},on:{submit:e.handleSubmit}},[t("a-row",{attrs:{gutter:24}},[t("a-col",{attrs:{span:12}},[t("a-form-item",{attrs:{label:"下单时间"}},[t("a-range-picker",{directives:[{name:"decorator",rawName:"v-decorator",value:["betweenTime",{rules:[{required:!0,message:"请选择下单时间"}]}],expression:"['betweenTime', { rules: [{ required: true, message: '请选择下单时间' }] }]"}],attrs:{format:"YYYY-MM-DD"}})],1)],1),t("a-col",{attrs:{span:12}},[t("a-form-item",{attrs:{label:"订单类型"}},[t("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["dataType",{initialValue:"all",rules:[{required:!0,message:"请选择订单类型"}]}],expression:"['dataType', { initialValue: 'all', rules: [{ required: true, message: '请选择订单类型' }] }]"}]},e._l(e.DataTypeEnum.data,(function(a,r){return t("a-select-option",{key:r,attrs:{value:a.value}},[e._v(e._s(a.name))])})),1)],1)],1),t("a-col",{attrs:{span:12}},[t("a-form-item",{attrs:{label:"订单来源"}},[t("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["orderSource",{initialValue:-1}],expression:"['orderSource', { initialValue: -1 }]"}]},[t("a-select-option",{attrs:{value:-1}},[e._v("全部")]),e._l(e.OrderSourceEnum.data,(function(a,r){return t("a-select-option",{key:r,attrs:{value:a.value}},[e._v(e._s(a.name))])}))],2)],1)],1),t("a-col",{attrs:{span:12}},[t("a-form-item",{attrs:{label:"支付方式"}},[t("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["payMethod",{initialValue:0}],expression:"['payMethod', { initialValue: 0 }]"}]},[t("a-select-option",{attrs:{value:0}},[e._v("全部")]),e._l(e.PaymentMethodEnum.data,(function(a,r){return t("a-select-option",{key:r,attrs:{value:a.value}},[e._v(e._s(a.name))])}))],2)],1)],1),t("a-col",{attrs:{span:12}},[t("a-form-item",{attrs:{label:"配送方式"}},[t("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["deliveryType",{initialValue:-1}],expression:"['deliveryType', { initialValue: -1 }]"}]},[t("a-select-option",{attrs:{value:-1}},[e._v("全部")]),e._l(e.DeliveryTypeEnum.data,(function(a,r){return t("a-select-option",{key:r,attrs:{value:a.value}},[e._v(e._s(a.name))])}))],2)],1)],1),t("a-col",{attrs:{span:12}},[t("a-form-item",{attrs:{label:"自提门店"}},[t("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["extractShopId",{initialValue:0}],expression:"['extractShopId', { initialValue: 0 }]"}]},[t("a-select-option",{attrs:{value:0}},[e._v("全部")]),e._l(e.shopList,(function(a,r){return t("a-select-option",{key:r,attrs:{value:a.shop_id}},[e._v(e._s(a.shop_name))])}))],2)],1)],1),t("a-col",{attrs:{span:24}},[t("a-form-item",{staticClass:"item-main",attrs:{label:"导出的字段"}},[t("a-checkbox-group",{directives:[{name:"decorator",rawName:"v-decorator",value:["columns",{initialValue:e.columnValue,rules:[{required:!0,message:"请选择导出的字段"}]}],expression:"['columns', { initialValue: columnValue, rules: [{ required: true, message: '请选择导出的字段' }] }]"}],attrs:{options:e.columnData}})],1)],1),t("a-col",{attrs:{span:24}},[t("a-form-item",{staticClass:"form-btn"},[t("a-button",{staticClass:"btn-main",attrs:{type:"primary",icon:"download","html-type":"submit",loading:e.isBtnLoading}},[e._v("导出")]),t("a-button",{on:{click:e.handleReset}},[e._v("重置")])],1)],1)],1)],1)],1),t("a-card",{attrs:{bordered:!1}},[t("div",{staticClass:"card-title"},[e._v("历史导出记录")]),t("ExportList",{ref:"ExportList"})],1)],1)},s=
|
||
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
||
|
s=function(){return t};var e,t={},a=Object.prototype,i=a.hasOwnProperty,n=Object.defineProperty||function(e,t,a){e[t]=a.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",d=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,a){return e[t]=a}}function m(e,t,a,r){var s=t&&t.prototype instanceof g?t:g,i=Object.create(s.prototype),o=new P(r||[]);return n(i,"_invoke",{value:R(e,a,o)}),i}function p(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=m;var v="suspendedStart",f="suspendedYield",h="executing",_="completed",b={};function g(){}function y(){}function E(){}var C={};u(C,l,(function(){return this}));var L=Object.getPrototypeOf,S=L&&L(L(T([])));S&&S!==a&&i.call(S,l)&&(C=S);var x=E.prototype=g.prototype=Object.create(C);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function D(e,t){function a(s,n,o,l){var d=p(e[s],e,n);if("throw"!==d.type){var c=d.arg,u=c.value;return u&&"object"==Object(r["a"])(u)&&i.call(u,"__await")?t.resolve(u.__await).then((function(e){a("next",e,o,l)}),(function(e){a("throw",e,o,l)})):t.resolve(u).then((function(e){c.value=e,o(c)}),(function(e){return a("throw",e,o,l)}))}l(d.arg)}var s;n(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,s){a(e,r,t,s)}))}return s=s?s.then(i,i):i()}})}function R(t,a,r){var s=v;return function(i,n){if(s===h)throw new Error("Generator is already running");if(s===_){if("throw"===i)throw n;return{value:e,done:!0}}for(r.method=i,r.arg=n;;){var o=r.delegate;if(o){var l=O(o,r);if(l){if(l===b)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(s===v)throw s=_,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);s=h;var d=p(t,a,r);if("normal"===d.type){if(s=r.done?_:f,d.arg===b)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(s=_,r.method="throw",r.arg=d.arg)}}}function O(t,a){var r=a.method,s=t.iterator[r];if(s===e)return a.delegate=null,"throw"===r&&t.iterator["return"]&&(a.method="return",a.arg=e,O(t,a),"throw"===a.method)||"return"!==r&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var i=p(s,t.iterator,a.arg);if("throw"===i.type)return a.method="throw",a.arg=i.arg,a.delegate=null,b;var n=i.arg;return n?n.done?(a[t.resultName]=n.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,b):n:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,b)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function T(t){if(t||""===t){var a=t[l];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var s=-1,n=function a(){for(;++s<t.length;)if(i.call(t,s))return a.value=t[s],a.done=!1,a;return a.value=e,a.done=!0,a};return n.next=n}}throw new TypeError(Object(r["a"])(t)+" is not iterable")}return y.prototype=E,n(x,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:y,configurable:!0}),y.displayName=u(E,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,u(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},w(D.prototype),u(D.prototype,d,(function(){return this})),t.AsyncIterator=D,t.async=function(e,a,r,s,i){void 0===i&&(i=Promise);var n=new D(m(e,a,r,s),i);return t.isGeneratorFunction(a)?n:n.next().then((function(e){return e.done?e.value:n.next()}))},w(x),u(x,c,"Generat
|