CRMEB/crmeb/public/admin/system_static/js/chunk-72931776.a3d3a521.js
2023-09-19 17:39:39 +08:00

1 line
22 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-72931776"],{"01b1":function(t,e,r){},1184:function(t,e,r){"use strict";r.d(e,"c",(function(){return i})),r.d(e,"d",(function(){return o})),r.d(e,"a",(function(){return a})),r.d(e,"b",(function(){return l})),r.d(e,"g",(function(){return c})),r.d(e,"f",(function(){return s})),r.d(e,"e",(function(){return u})),r("99af");var n=r("6b6c");function i(t){return Object(n.a)({url:"marketing/lottery/list",method:"get",params:t})}function o(t){return Object(n.a)({url:"marketing/lottery/factor_info/".concat(t),method:"get"})}function a(t){return Object(n.a)({url:"marketing/lottery/add",method:"post",data:t})}function l(t,e){return Object(n.a)({url:"marketing/lottery/edit/".concat(t),method:"put",data:e})}function c(t){return Object(n.a)({url:"marketing/lottery/set_status/".concat(t.id,"/").concat(t.status),method:"post"})}function s(t){return Object(n.a)({url:"marketing/lottery/record/list",method:"get",params:t})}function u(t){return Object(n.a)({url:"marketing/lottery/record/deliver",method:"post",data:t})}},"2c3e":function(t,e,r){var n=r("da84"),i=r("83ab"),o=r("9f7f").MISSED_STICKY,a=r("c6b6"),l=r("edd0"),c=r("69f3").get,s=RegExp.prototype,u=n.TypeError;i&&o&&l(s,"sticky",{configurable:!0,get:function(){if(this!==s){if("RegExp"===a(this))return!!c(this).sticky;throw u("Incompatible receiver, RegExp required")}}})},"382f":function(t,e,r){"use strict";var n=r("01b1");r.n(n).a},"4d63":function(t,e,r){var n=r("83ab"),i=r("da84"),o=r("e330"),a=r("94ca"),l=r("7156"),c=r("9112"),s=r("241c").f,u=r("3a9b"),d=r("44e7"),f=r("577e"),h=r("90d8"),m=r("9f7f"),p=r("aeb0"),v=r("cb2d"),g=r("d039"),b=r("1a2d"),y=r("69f3").enforce,w=r("2626"),_=r("b622"),k=r("fce3"),x=r("107c"),F=_("match"),E=i.RegExp,L=E.prototype,O=i.SyntaxError,j=o(L.exec),T=o("".charAt),S=o("".replace),M=o("".indexOf),$=o("".slice),C=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,R=/a/g,D=/a/g,V=(r=new E(R)!==R,m.MISSED_STICKY),I=m.UNSUPPORTED_Y;_=n&&(!r||V||k||x||g((function(){return D[F]=!1,E(R)!=R||E(D)==D||"/a/i"!=E(R,"i")})));if(a("RegExp",_)){function N(t,e){var r,n,i=u(L,this),o=d(t),a=void 0===e,s=[],m=t;if(!i&&o&&a&&t.constructor===N)return t;if((o||u(L,t))&&(t=t.source,a&&(e=h(m))),t=void 0===t?"":f(t),e=void 0===e?"":f(e),m=t,o=e=k&&"dotAll"in R&&(r=!!e&&-1<M(e,"s"))?S(e,/s/g,""):e,V&&"sticky"in R&&(n=!!e&&-1<M(e,"y"))&&I&&(e=S(e,/y/g,"")),x&&(t=(a=function(t){for(var e,r=t.length,n=0,i="",o=[],a={},l=!1,c=!1,s=0,u="";n<=r;n++){if("\\"===(e=T(t,n)))e+=T(t,++n);else if("]"===e)l=!1;else if(!l)switch(!0){case"["===e:l=!0;break;case"("===e:j(C,$(t,n+1))&&(n+=2,c=!0),i+=e,s++;continue;case">"===e&&c:if(""===u||b(a,u))throw new O("Invalid capture group name");a[u]=!0,c=!(o[o.length]=[u,s]),u="";continue}c?u+=e:i+=e}return[i,o]}(t))[0],s=a[1]),a=l(E(t,e),i?this:L,N),(r||n||s.length)&&(e=y(a),r&&(e.dotAll=!0,e.raw=N(function(t){for(var e,r=t.length,n=0,i="",o=!1;n<=r;n++)"\\"===(e=T(t,n))?i+=e+T(t,++n):o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]";return i}(t),o)),n&&(e.sticky=!0),s.length&&(e.groups=s)),t!==m)try{c(a,"source",""===m?"(?:)":m)}catch(t){}return a}for(var P=s(E),q=0;P.length>q;)p(N,E,P[q++]);(L.constructor=N).prototype=L,v(i,"RegExp",N,{constructor:!0})}w("RegExp")},"61f7":function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"c",(function(){return c})),r.d(e,"b",(function(){return s}));var n=r("fc11"),i=r("f3f3");function o(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var r,n,i={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(r in i)new RegExp("(".concat(r,")")).test(e)&&(n=i[r]+"",e=e.replace(RegExp.$1,1===RegExp.$1.length?n:("00"+n).substr(n.length)));return e}r("ac1f"),r("00b4"),r("5319"),r("4d63"),r("c607"),r("2c3e"),r("25f0"),r("498a"),r("d3b7"),r("b64b"),r("99af");var a={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"};function l(t,e){t.message=function(t){return e.replace("%s",t||"")}}function c(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)({required:!0,message:t,type:"string"},e)}function s(t){return u.pattern(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,t)}l(c,"请输入%s"),l(s,"%s格式不正确");var u=Object.keys(a).reduce((function(t,e){return t[e]=function(t){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},a="range"===e?{min:t[0],max:t[1]}:Object(n.a)({},e,t);return Object(i.a)(Object(i.a)({message:r.replace(":".concat(e),"range"===e?"".concat(t[0],"-").concat(t[1]):t),type:"string"},a),o)},l(t[e],a[e]),t}),{})},c607:function(t,e,r){var n=r("da84"),i=r("83ab"),o=r("fce3"),a=r("c6b6"),l=r("edd0"),c=r("69f3").get,s=RegExp.prototype,u=n.TypeError;i&&o&&l(s,"dotAll",{configurable:!0,get:function(){if(this!==s){if("RegExp"===a(this))return!!c(this).dotAll;throw u("Incompatible receiver, RegExp required")}}})},ca99:function(t,e,r){"use strict";r.r(e),r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("3ca3"),r("ddb0"),r("b636"),r("944a"),r("0c47"),r("23dc"),r("3410"),r("d9e2"),r("159b"),r("b0c0"),r("131a"),r("fb6a");var n=r("0122"),i=r("c964"),o=r("f3f3"),a=(r("a15b"),r("2f62")),l=r("1184"),c=r("61f7"),s=r("f8b7"),u={deliver_name:[{required:!0,type:"string",message:"请选择快递公司",trigger:"select"}],deliver_number:[{required:!0,message:"请输入快递单号",trigger:"blur"}]},d={mark:[{required:!0,message:"请输入备注信息",trigger:"blur"}]};function f(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */f=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(e){s=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o,a,l,c;e=e&&e.prototype instanceof m?e:m,e=Object.create(e.prototype),n=new x(n||[]);return i(e,"_invoke",{value:(o=t,a=r,l=n,c="suspendedStart",function(t,e){if("executing"===c)throw new Error("Generator is already running");if("completed"===c){if("throw"===t)throw e;return E()}for(l.method=t,l.arg=e;;){var r=l.delegate;if(r&&(r=function t(e,r){var n=r.method,i=e.iterator[n];return void 0===i?(r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=void 0,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h):(n=d(i,e.iterator,r.arg),"throw"===n.type?(r.method="throw",r.arg=n.arg,r.delegate=null,h):(i=n.arg,i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,h):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)))}(r,l),r)){if(r===h)continue;return r}if("next"===l.method)l.sent=l._sent=l.arg;else if("throw"===l.method){if("suspendedStart"===c)throw c="completed",l.arg;l.dispatchException(l.arg)}else"return"===l.method&&l.abrupt("return",l.arg);if(c="executing",r=d(o,a,l),"normal"===r.type){if(c=l.done?"completed":"suspendedYield",r.arg===h)continue;return{value:r.arg,done:l.done}}"throw"===r.type&&(c="completed",l.method="throw",l.arg=r.arg)}})}),e}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var h={};function m(){}function p(){}function v(){}o={};var g=(s(o,a,(function(){return this})),Object.getPrototypeOf),b=(g=g&&g(g(F([]))),g&&g!==e&&r.call(g,a)&&(o=g),v.prototype=m.prototype=Object.create(o));function y(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var o;i(this,"_invoke",{value:function(i,a){function l(){return new e((function(o,l){!function i(o,a,l,c){var s;o=d(t[o],t,a);if("throw"!==o.type)return(a=(s=o.arg).value)&&"object"==Object(n.a)(a)&&r.call(a,"__await")?e.resolve(a.__await).then((function(t){i("next",t,l,c)}),(function(t){i("throw",t,l,c)})):e.resolve(a).then((function(t){s.value=t,l(s)}),(function(t){return i("throw",t,l,c)}));c(o.arg)}(i,a,o,l)}))}return o=o?o.then(l,l):l()}})}function _(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 k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function F(t){if(t){var e,n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(n=function n(){for(;++e<t.length;)if(r.call(t,e))return n.value=t[e],n.done=!1,n;return n.value=void 0,n.done=!0,n}).next=n}return{next:E}}function E(){return{value:void 0,done:!0}}return i(b,"constructor",{value:p.prototype=v,configurable:!0}),i(v,"constructor",{value:p,configurable:!0}),p.displayName=s(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){return t="function"==typeof t&&t.constructor,!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,s(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},y(w.prototype),s(w.prototype,l,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new w(u(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},y(b),s(b,c,"Generator"),s(b,a,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},t.values=F,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;0<=i;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(l&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}var a=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,h):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),h},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,i=this.tryEntries[e];if(i.tryLoc===t)return"throw"===(r=i.completion).type&&(n=r.arg,k(i)),n}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:F(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},t}o={name:"lotteryRecordList",filters:{formatDate:function(t){if(0!==t)return t=new Date(1e3*t),Object(c.a)(t,"yyyy-MM-dd hh:mm")}},data:function(){return{shipModel:!1,loading:!1,locationList:[],shipForm:{id:"",deliver_name:"",deliver_number:null},markForm:{id:"",mark:""},ruleShip:u,ruleMark:d,pickerOptions:this.$timeOptions,typeList:[{text:"全部",val:""},{text:"未中奖",val:"1"},{text:"积分",val:"2"},{text:"余额",val:"3"},{text:"红包",val:"4"},{text:"优惠券",val:"5"},{text:"商品",val:"6"}],tableList:[],grid:{xl:7,lg:10,md:12,sm:24,xs:24},tableFrom:{keyword:"",date:[],page:1,limit:15,factor:""},total:0,timeVal:[],modelType:1,lottery_id:"",modelTitle:""}},computed:Object(o.a)(Object(o.a)({},Object(a.d)("admin/layout",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:"80px"},labelPosition:function(){return this.isMobile?"top":"right"}}),created:function(){this.tableFrom.lottery_id=this.$route.query.id,this.lottery_id=this.$route.query.id,this.getList(),this.getExpressData()},methods:{deliver:function(t,e){this.markForm.id=t.id,this.shipForm.id=t.id,this.shipForm.deliver_name="",this.shipForm.deliver_number="",this.markForm.mark=t.deliver_info.mark,this.modelType=e,this.shipModel=!0},isDeliver:function(t){this.markForm.id=t.id,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(t){Object(l.e)(1==e.modelType?e.shipForm:e.markForm).then((function(t){e.$message.success("操作成功"),e.shipModel=!1,e.getList(),e.shipForm={id:"",deliver_name:"",deliver_number:null},e.modelTitle="",e.markForm={id:"",mark:""}})).catch((function(t){e.$message.error(t.msg)}))}))},cancel:function(){this.modelType=1,this.modelTitle="",this.shipModel=!1},getExpressData:function(){var t=this;Object(s.i)().then(function(){var e=Object(i.a)(f().mark((function e(r){return f().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?this.timeVal.join("-"):"",this.tableFrom.page=1,this.getList()},selectChange:function(t){this.tableFrom.page=1,this.tableFrom.date=t,this.timeVal=[],this.getList()},selectType:function(t){this.tableFrom.page=1,this.timeVal=[],this.getList()},selectChangeFactor:function(){this.tableFrom.page=1,this.timeVal=[],this.getList()},getList:function(){var t=this;this.loading=!0,Object(l.f)(this.tableFrom).then(function(){var e=Object(i.a)(f().mark((function e(r){var n;return f().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)}))},userSearchs:function(){this.tableFrom.page=1,this.getList()}}},r("382f"),a=r("2877"),r=Object(a.a)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("el-card",{staticClass:"ivu-mt",attrs:{bordered:!1,shadow:"never","body-style":{padding:0}}},[r("div",{staticClass:"padding-add"},[r("el-form",{ref:"tableFrom",attrs:{model:t.tableFrom,"label-width":t.labelWidth,"label-position":"right",inline:""},nativeOn:{submit:function(t){t.preventDefault()}}},[r("el-form-item",{attrs:{label:"活动类型:",clearable:""}},[r("el-select",{staticClass:"form_content_width",attrs:{type:"button",clearable:""},on:{change:t.selectChangeFactor},model:{value:t.tableFrom.factor,callback:function(e){t.$set(t.tableFrom,"factor",e)},expression:"tableFrom.factor"}},[r("el-option",{attrs:{label:"积分抽取",value:1}}),r("el-option",{attrs:{label:"订单支付",value:3}}),r("el-option",{attrs:{label:"订单评价",value:4}})],1)],1),r("el-form-item",{attrs:{label:"时间选择:"}},[r("el-date-picker",{staticStyle:{width:"250px"},attrs:{clearable:"",type:"daterange",editable:!1,format:"yyyy/MM/dd","value-format":"yyyy/MM/dd","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":t.pickerOptions},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1),r("el-form-item",{attrs:{label:"奖品类型:"}},[r("el-select",{staticClass:"form_content_width",attrs:{type:"button",clearable:""},on:{change:t.selectType},model:{value:t.tableFrom.type,callback:function(e){t.$set(t.tableFrom,"type",e)},expression:"tableFrom.type"}},t._l(t.typeList,(function(t,e){return r("el-option",{key:e,attrs:{label:t.text,value:t.val}})})),1)],1),r("el-form-item",{attrs:{label:"搜索用户:","label-for":"store_name"}},[r("el-input",{staticClass:"form_content_width",attrs:{clearable:"",placeholder:"请输入用户信息"},model:{value:t.tableFrom.keyword,callback:function(e){t.$set(t.tableFrom,"keyword",e)},expression:"tableFrom.keyword"}})],1),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:t.userSearchs}},[t._v("查询")])],1)],1)],1)]),r("el-card",{staticClass:"ivu-mt mt16",attrs:{bordered:!1,shadow:"never"}},[r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.tableList,"highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"}},[r("el-table-column",{attrs:{label:"ID",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[t._v(t._s(e.row.id))])]}}])}),r("el-table-column",{attrs:{label:"用户信息","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.user.nickname)+" ")])]}}])}),r("el-table-column",{attrs:{label:"奖品信息","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",{staticClass:"prize"},[r("img",{attrs:{src:e.row.prize.image,alt:""}}),r("span",[t._v(t._s(e.row.prize.name))])])]}}])}),r("el-table-column",{attrs:{label:"抽奖时间","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",[t._v(t._s(e.row.add_time))])]}}])}),r("el-table-column",{attrs:{label:"收货信息","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.receive_info.name?r("div",[r("div",[t._v("姓名:"+t._s(e.row.receive_info.name))]),r("div",[t._v("电话:"+t._s(e.row.receive_info.phone))]),r("div",[t._v("地址:"+t._s(e.row.receive_info.address))]),e.row.receive_info.mark?r("div",[t._v("备注:"+t._s(e.row.receive_info.mark))]):t._e()]):t._e()]}}])}),r("el-table-column",{attrs:{label:"备注","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.deliver_info.mark))])]}}])}),r("el-table-column",{attrs:{label:"操作",fixed:"right",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[6==e.row.type&&0===e.row.is_deliver?r("a",{on:{click:function(r){return t.deliver(e.row,1)}}},[t._v("发货")]):6==e.row.type&&1===e.row.is_deliver?r("a",{on:{click:function(r){return t.isDeliver(e.row)}}},[t._v("配送信息")]):t._e(),6==e.row.type?r("el-divider",{attrs:{direction:"vertical"}}):t._e(),r("a",{on:{click:function(r){return t.deliver(e.row,2)}}},[t._v("备注")])]}}])})],1),r("div",{staticClass:"acea-row row-right page"},[t.total?r("pagination",{attrs:{total:t.total,page:t.tableFrom.page,limit:t.tableFrom.limit},on:{"update:page":function(e){return t.$set(t.tableFrom,"page",e)},"update:limit":function(e){return t.$set(t.tableFrom,"limit",e)},pagination:t.getList}}):t._e()],1)],1),r("el-dialog",{attrs:{visible:t.shipModel,width:"540px",title:t.modelTitle||(1===t.modelType?"发货":"备注"),"close-on-click-modal":!1},on:{"update:visible":function(e){t.shipModel=e}}},[r("el-form",{ref:1===t.modelType?"shipForm":"markForm",attrs:{model:1===t.modelType?t.shipForm:t.markForm,rules:1===t.modelType?t.ruleShip:t.ruleMark,"label-width":"90px"},model:{value:t.shipModel,callback:function(e){t.shipModel=e},expression:"shipModel"}},[1===t.modelType?r("el-form-item",{attrs:{label:"快递公司:",prop:"deliver_name"}},[r("el-select",{staticClass:"w100",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(t){return r("el-option",{key:t.id,attrs:{value:t.value,label:t.value}})})),1)],1):t._e(),1===t.modelType?r("el-form-item",{attrs:{label:"快递单号:",prop:"deliver_number"}},[r("el-input",{staticClass:"w100",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?r("div",{staticClass:"tips-info"},[r("p",[t._v("顺丰请输入单号 :收件人或寄件人手机号后四位")]),r("p",[t._v("例如SF000000000000:3941")])]):t._e()],1):t._e(),2===t.modelType?r("el-form-item",{attrs:{label:"备注:"}},[r("el-input",{staticClass:"w100",attrs:{placeholder:"请输入备注"},model:{value:t.markForm.mark,callback:function(e){t.$set(t.markForm,"mark",e)},expression:"markForm.mark"}})],1):t._e(),r("el-form-item",[r("div",{staticClass:"acea-row row-right"},[r("el-button",{on:{click:function(e){return t.cancel("formValidate")}}},[t._v("关闭")]),r("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.ok(1===t.modelType?"shipForm":"markForm")}}},[t._v("提交")])],1)])],1)],1)],1)}),[],!1,null,"75662a20",null),e.default=r.exports}}]);