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 lines
22 KiB
1 lines
22 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0d6d7a81"],{1184:function(t,e,r){"use strict";r.d(e,"d",(function(){return o})),r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return a})),r.d(e,"c",(function(){return l})),r.d(e,"f",(function(){return s})),r.d(e,"g",(function(){return c})),r.d(e,"e",(function(){return u}));var n=r("b6bd");function o(t){return Object(n.a)({url:"lottery/list",method:"get",params:t})}function i(t){return Object(n.a)({url:"lottery/add",method:"post",data:t})}function a(t,e){return Object(n.a)({url:"lottery/edit/".concat(t),method:"put",data:e})}function l(t){return Object(n.a)({url:"lottery/factor_info/".concat(t),method:"get"})}function s(t){return Object(n.a)({url:"lottery/set_status/".concat(t.id,"/").concat(t.status),method:"post"})}function c(t){return Object(n.a)({url:"lottery/record/list",method:"get",params:t})}function u(t){return Object(n.a)({url:"lottery/record/deliver",method:"post",data:t})}},"61f7":function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function l(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var r={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(var n in r)if(new RegExp("(".concat(n,")")).test(e)){var o=r[n]+"";e=e.replace(RegExp.$1,1===RegExp.$1.length?o:s(o))}return e}function s(t){return("00"+t).substr(t.length)}r.d(e,"a",(function(){return l})),r.d(e,"c",(function(){return f})),r.d(e,"b",(function(){return m}));var c={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"},u=function(t,e){t.message=function(t){return e.replace("%s",t||"")}};function f(t){return i({required:!0,message:t,type:"string"},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}function m(t){return h.pattern(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,t)}u(f,"请输入%s"),u(m,"%s格式不正确");var h=Object.keys(c).reduce((function(t,e){return t[e]=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o="range"===e?{min:t[0],max:t[1]}:a({},e,t);return i(i({message:r.replace(":".concat(e),"range"===e?"".concat(t[0],"-").concat(t[1]):t),type:"string"},o),n)},u(t[e],c[e]),t}),{})},"8fb1":function(t,e,r){},ca99:function(t,e,r){"use strict";r.r(e);var n=r("2f62"),o=r("1184"),i=r("61f7"),a=r("f8b7"),l={deliver_name:[{required:!0,type:"string",message:"请选择快递公司",trigger:"select"}],deliver_number:[{required:!0,message:"请输入快递单号",trigger:"blur"}]},s={mark:[{required:!0,message:"请输入备注信息",trigger:"blur"}]};function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function m(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),l=new E(n||[]);return o(a,"_invoke",{value:L(t,r,l)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=m;var d="suspendedStart",p="suspendedYield",v="executing",g="completed",y={};function b(){}function w(){}function _(){}var k={};f(k,a,(function(){return this}));var F=Object.getPrototypeOf,x=F&&F(F(P([])));x&&x!==r&&n.call(x,a)&&(k=x);var D=_.prototype=b.prototype=Object.create(k);function O(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,l){var s=h(t[o],t,i);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"==c(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,l)}),(function(t){r("throw",t,a,l)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,l)}))}l(s.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function L(e,r,n){var o=d;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var l=n.delegate;if(l){var s=M(l,n);if(s){if(s===y)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var c=h(e,r,n);if("normal"===c.type){if(o=n.done?g:p,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}function M(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,M(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=h(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(c(e)+" is not iterable")}return w.prototype=_,o(D,"constructor",{value:_,configurable:!0}),o(_,"constructor",{value:w,configurable:!0}),w.displayName=f(_,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,f(t,s,"GeneratorFunction")),t.prototype=Object.create(D),t},e.awrap=function(t){return{__await:t}},O(j.prototype),f(j.prototype,l,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new j(m(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(D),f(D,s,"Generator"),f(D,a,(function(){return this})),f(D,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return l.type="throw",l.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function f(t,e,r,n,o,i,a){try{var l=t[i](a),s=l.value}catch(t){return void r(t)}l.done?e(s):Promise.resolve(s).then(n,o)}function m(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){f(i,n,o,a,l,"next",t)}function l(t){f(i,n,o,a,l,"throw",t)}a(void 0)}))}}function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach((function(e){p(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function p(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var v={name:"lotteryRecordList",filters:{formatDate:function(t){if(0!==t){var e=new Date(1e3*t);return Object(i.a)(e,"yyyy-MM-dd hh:mm")}}},data:function(){return{modals:!1,shipModel:!1,loading:!1,locationList:[],shipForm:{id:"",deliver_name:"",deliver_number:null},markForm:{id:"",mark:""},ruleShip:l,ruleMark:s,lotteryList:[{text:"全部",val:"0"},{text:"积分抽奖",val:"1"},{text:"订单支付",val:"3"},{text:"订单评价",val:"4"},{text:"关注公众号",val:"5"}],typeList:[{text:"全部",val:"0"},{text:"积分",val:"2"},{text:"余额",val:"3"},{text:"红包",val:"4"},{text:"优惠券",val:"5"},{text:"商品",val:"6"}],columns1:[{title:"ID",key:"id",width:80},{title:"用户信息",slot:"user",minWidth:90},{title:"奖品信息",slot:"prize",minWidth:130},{title:"抽奖时间",key:"add_time",minWidth:100},{title:"收货信息",slot:"receive_info",minWidth:100},{title:"备注",slot:"mark",minWidth:100},{title:"操作",slot:"action",minWidth:130}],tableList:[],grid:{xl:6,lg:10,md:12,sm:24,xs:24},tableFrom:{type:"",factor:"",keyword:"",date:[],page:1,limit:15},total:0,timeVal:[],modelType:1,lottery_id:"",modelTitle:"",options:{shortcuts:[{text:"今天",value:function(){var t=new Date,e=new Date;return e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),[e,t]}},{text:"昨天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),[e,t]}},{text:"最近7天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-6))),[e,t]}},{text:"最近30天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-29))),[e,t]}},{text:"上月",value:function(){var t=new Date,e=new Date,r=new Date(e.getFullYear(),e.getMonth(),0).getDate();return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,1))),t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,r))),[e,t]}},{text:"本月",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),[e,t]}},{text:"本年",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),0,1))),[e,t]}}]}}},computed:d(d({},Object(n.e)("admin/layout",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:96},labelPosition:function(){return this.isMobile?"top":"right"}}),created:function(){this.getList(),this.getExpressData()},methods:{clear:function(){this.markForm={id:"",mark:""},this.shipForm={id:"",deliver_name:"",deliver_number:null},this.modelTitle=""},tapMark:function(t){this.markForm.id=t.id,this.markForm.mark=t.deliver_info.mark,this.modals=!0},closeRemark:function(){this.modals=!1,this.clear()},putRemark:function(){var t=this;Object(o.e)(this.markForm).then((function(){t.$Message.success("操作成功"),t.modals=!1,t.getList(),t.clear()})).catch((function(e){t.$Message.error(e.msg)}))},deliver:function(t,e){this.shipForm.id=t.id,this.shipForm.deliver_name="",this.shipForm.deliver_number="",this.modelType=e,this.shipModel=!0},isDeliver:function(t){this.shipForm.id=t.id,this.modelType=1,this.modelTitle="配送信息",this.shipModel=!0,this.shipForm.deliver_name=t.deliver_info.deliver_name,this.shipForm.deliver_number=t.deliver_info.deliver_number},ok:function(t){var e=this;this.$refs[t].validate((function(r){r&&Object(o.e)(e.shipForm).then((function(){e.$Message.success("操作成功"),e.shipModel=!1,e.getList(),e.clear(),e.$refs[t].resetFields()})).catch((function(t){e.$Message.error(t.msg)}))}))},cancel:function(t){this.modelType=1,this.shipModel=!1,this.clear(),this.$refs[t].resetFields()},getExpressData:function(){var t=this;Object(a.j)("").then(function(){var e=m(u().mark((function e(r){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.locationList=r.data;case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},onchangeTime:function(t){this.timeVal=t,this.tableFrom.data=this.timeVal[0]?this.timeVal.join("-"):"",this.tableFrom.page=1,this.getList()},getList:function(){var t=this;this.loading=!0,Object(o.g)(this.tableFrom).then(function(){var e=m(u().mark((function e(r){var n;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=r.data,t.tableList=n.list,t.total=r.data.count,t.loading=!1;case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},pageChange:function(t){this.tableFrom.page=t,this.getList()},userSearchs:function(){this.tableFrom.page=1,this.getList()}}},g=(r("ddb9"),r("2877")),y=Object(g.a)(v,(function(){var t=this,e=t._self._c;return e("div",[e("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":"",padding:0}},[e("div",{staticClass:"new_card_pd"},[e("Form",{ref:"tableFrom",attrs:{inline:"",model:t.tableFrom,"label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[e("FormItem",{attrs:{label:"活动类型:"}},[e("Select",{staticClass:"input-add",on:{"on-change":t.userSearchs},model:{value:t.tableFrom.factor,callback:function(e){t.$set(t.tableFrom,"factor",e)},expression:"tableFrom.factor"}},t._l(t.lotteryList,(function(r){return e("Option",{key:r.val,attrs:{value:r.val}},[t._v(t._s(r.text))])})),1)],1),e("FormItem",{attrs:{label:"时间选择:"}},[e("DatePicker",{staticClass:"input-add",attrs:{editable:!1,value:t.timeVal,format:"yyyy/MM/dd",type:"datetimerange",placement:"bottom-start",placeholder:"自定义时间",options:t.options},on:{"on-change":t.onchangeTime}})],1),e("FormItem",{attrs:{label:"奖品类型:"}},[e("Select",{staticClass:"input-add",on:{"on-change":t.userSearchs},model:{value:t.tableFrom.type,callback:function(e){t.$set(t.tableFrom,"type",e)},expression:"tableFrom.type"}},t._l(t.typeList,(function(r){return e("Option",{key:r.val,attrs:{value:r.val}},[t._v(t._s(r.text))])})),1)],1),e("FormItem",{attrs:{label:"搜索用户:","label-for":"store_name"}},[e("Input",{staticClass:"input-add mr14",attrs:{placeholder:"请输入用户信息"},model:{value:t.tableFrom.keyword,callback:function(e){t.$set(t.tableFrom,"keyword",e)},expression:"tableFrom.keyword"}}),e("Button",{staticClass:"mr10",attrs:{type:"primary"},on:{click:function(e){return t.userSearchs()}}},[t._v("查询")])],1)],1)],1)]),e("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[e("Table",{attrs:{columns:t.columns1,data:t.tableList,loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"is_fail",fn:function(t){return[1===t.row.is_fail?e("Icon",{attrs:{type:"md-checkmark",color:"#0092DC",size:"14"}}):e("Icon",{attrs:{type:"md-close",color:"#ed5565",size:"14"}})]}},{key:"user",fn:function(r){var n=r.row;return[n.user?e("span",[t._v(t._s(n.user.nickname)+" ")]):t._e(),n.user&&null!=n.user.delete_time?e("span",{staticStyle:{color:"#ed4014"}},[t._v(" (已注销)")]):t._e()]}},{key:"mark",fn:function(r){var n=r.row;return[e("span",[t._v(t._s(n.deliver_info.mark))])]}},{key:"receive_info",fn:function(r){var n=r.row;return[n.receive_info.name?e("div",[e("div",[t._v("姓名:"+t._s(n.receive_info.name))]),e("div",[t._v("电话:"+t._s(n.receive_info.phone))]),e("div",[t._v("地址:"+t._s(n.receive_info.address))]),n.receive_info.mark?e("div",[t._v("\n 备注:"+t._s(n.receive_info.mark)+"\n ")]):t._e()]):t._e()]}},{key:"prize",fn:function(r){var n=r.row;return[e("div",{staticClass:"prize"},[e("img",{attrs:{src:n.prize.image,alt:""}}),e("span",[t._v(t._s(n.prize.name))])])]}},{key:"action",fn:function(r){var n=r.row;return[e("a",{on:{click:function(e){return t.tapMark(n)}}},[t._v("备注")])]}}])}),e("div",{staticClass:"acea-row row-right page"},[e("Page",{attrs:{total:t.total,current:t.tableFrom.page,"show-elevator":"","show-total":"","page-size":t.tableFrom.limit},on:{"on-change":t.pageChange}})],1)],1),e("Modal",{attrs:{scrollable:"",title:"备注",closable:!1},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[e("Form",{ref:"formValidate",attrs:{model:t.markForm,"label-width":80},nativeOn:{submit:function(t){t.preventDefault()}}},[e("FormItem",{attrs:{label:"备注:",prop:"remark"}},[e("Input",{attrs:{maxlength:"200","show-word-limit":"",type:"textarea",placeholder:"请输入备注"},model:{value:t.markForm.mark,callback:function(e){t.$set(t.markForm,"mark",e)},expression:"markForm.mark"}})],1)],1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"primary"},on:{click:t.putRemark}},[t._v("提交")]),e("Button",{on:{click:t.closeRemark}},[t._v("关闭")])],1)],1),e("Modal",{attrs:{width:"40%",scrollable:"",closable:"","footer-hide":"",title:t.modelTitle?t.modelTitle:"发货","mask-closable":!1,"z-index":1},on:{"on-cancel":function(e){return t.cancel("shipForm")}},model:{value:t.shipModel,callback:function(e){t.shipModel=e},expression:"shipModel"}},[e("Form",{ref:"shipForm",attrs:{model:t.shipForm,rules:t.ruleShip,"label-width":80}},[e("FormItem",{attrs:{label:"快递公司",prop:"deliver_name"}},[e("Select",{model:{value:t.shipForm.deliver_name,callback:function(e){t.$set(t.shipForm,"deliver_name",e)},expression:"shipForm.deliver_name"}},t._l(t.locationList,(function(r){return e("Option",{key:r.id,attrs:{value:r.value}},[t._v(t._s(r.value))])})),1)],1),e("FormItem",{attrs:{label:"快递单号",prop:"deliver_number"}},[e("Input",{attrs:{placeholder:"请输入快递单号"},model:{value:t.shipForm.deliver_number,callback:function(e){t.$set(t.shipForm,"deliver_number",e)},expression:"shipForm.deliver_number"}}),"顺丰速运"==t.shipForm.deliver_name?e("div",{staticClass:"trips"},[e("p",[t._v("顺丰请输入单号 :收件人或寄件人手机号后四位")]),e("p",[t._v("例如:SF000000000000:3941")])]):t._e()],1),e("FormItem",[e("Button",{attrs:{type:"primary"},on:{click:function(e){return t.ok("shipForm")}}},[t._v("提交")]),e("Button",{staticStyle:{"margin-left":"8px"},on:{click:function(e){return t.cancel("shipForm")}}},[t._v("关闭")])],1)],1)],1)],1)}),[],!1,null,"509d774d",null);e.default=y.exports},ddb9:function(t,e,r){"use strict";r("8fb1")}}]); |