admin-order-modify.44ac3c91.js 45 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["admin-order-modify"],{"0809":function(e,t,i){"use strict";var a=i("d669");i("dad1"),i("051d"),i("436b"),i("57af"),i("225b"),i("589a"),i("e978"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("bf4e"),i("a8e7"),i("0bb3");var n=a(i("da6a"));i("34b3"),i("b1d8");var r=a(i("6c85")),o=(i("7adc"),i("5f90")),s=i("ca00");function l(e,t){var i="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=c(e))||t&&e&&"number"===typeof e.length){i&&(e=i);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){s=!0,r=e},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw r}}}}function c(e,t){if(e){if("string"===typeof e)return d(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,a=new Array(t);i<t;i++)a[i]=e[i];return a}function u(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,a)}return i}function f(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?u(Object(i),!0).forEach((function(t){(0,r.default)(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):u(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}t.default={data:function(){return{selectJobType:"bill",selectJobId:0,isCut:!1,productInfoList:[],classIndex:0,py:"",type:"",autoLoad:!0,allFilterProductInfo:"",globalClassItemList:"",top_list:"",scroll_into_view:"",timeFun:"",kdType:"HIT",checkStock:!0,isAddModel:!1,isAddInputFocus:!1,customData:{bigCount:0,smallCount:0,userPrice:0},globalItemList:[],globalUnitType:0}},onLoad:function(e){var t=e.selectJobType;t&&(this.selectJobType=t)},onUnload:function(){},computed:f(f({},(0,o.mapGetters)(["getSelectInfo"])),{},{selectList:function(){var e=this.getSelectInfo,t=e[this.selectJobType+"_"+this.selectJobId]||[],i=[];return this.$util.isEmpty(t)||t.forEach((function(e,t,a){var n=e.id;i[n]=e})),this.list&&this.list.data&&!this.$util.isEmpty(this.list.data)&&(this.list.data.forEach((function(e,t,a){var n=e.id;i[n]&&(e.bigCount=i[n].bigCount||0,e.userPrice=i[n].userPrice||0)})),this.$forceUpdate()),t},scrollClassId:function(){var e=this.productInfoList[this.classIndex];return e?"class_".concat(e.classId):""},allPrice:function(){var e=0;if(this.selectList){var t,i=l(this.selectList);try{for(i.s();!(t=i.n()).done;){var a=t.value,n=this.getSelectItemById(a.id,a.classId);e+=Number(a.bigCount)*Number(n.userPrice)}}catch(r){i.e(r)}finally{i.f()}}return Math.round(100*e)/100},allCount:function(){var e=0,t=0;if(this.selectList){var i,a=l(this.selectList);try{for(a.s();!(i=a.n()).done;){var n=i.value;e+=Number(n.bigCount),t+=Number(n.smallCount)}}catch(r){a.e(r)}finally{a.f()}}return{bigLength:e,smallLength:t}},hasNoStock:function(){var e=!1;if(this.selectList){var t,i=l(this.selectList);try{for(i.s();!(t=i.n()).done;){var a=t.value,n=a.bigCount,r=a.smallCount,o=a.bigNum,s=(a.bigUnit,a.smallNum),c=(a.smallUnit,a.ratio),d=Number(c);if(Number(n)*d+Number(r)>Number(o)*d+Number(s)){e=!0;break}}}catch(u){i.e(u)}finally{i.f()}}return e}}),onShow:function(){},methods:f(f({},(0,o.mapActions)(["setSelectInfo","reSetSelectInfo"])),{},{init:function(){this.initData()},pushToSave:function(e){this.setSelectInfo({selectJobType:this.selectJobType,info:e,selectJobId:this.selectJobId}),uni.setStorageSync("selectList_"+this.selectJobType+"_target_"+this.selectJobId,e)},removeFromSave:function(){var e=this;e.$util.confirmModal({content:"确认清除花材?"},(function(){e.removeFromSaveDirect(),e.$msg("已清除")}))},removeFromSaveDirect:function(){var e=this;uni.removeStorageSync("selectList_"+e.selectJobType+"_target_"+e.selectJobId),e.reSetSelectInfo({selectJobType:e.selectJobType,selectJobId:e.selectJobId}),this.list&&this.list.data&&!this.$util.isEmpty(this.list.data)&&(this.list.data.forEach((function(e){e.bigCount=null,e.userPrice=null})),this.$forceUpdate())},initData:function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){var i,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:i=uni.getStorageSync("selectList_"+this.selectJobType+"_target_"+this.selectJobId),this.$util.isEmpty(i)||(i.forEach((function(e,t,i){var n=e.id;a.globalItemList[n]&&(i[t].bigPrice=a.globalItemList[n].bigPrice,i[t].smallPrice=a.globalItemList[n].smallPrice)})),this.setSelectInfo({selectJobType:this.selectJobType,info:i,selectJobId:this.selectJobId}));case 2:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),scrollPushList:function(){var e=[];this.$util.isEmpty(this.selectList)||this.selectList.forEach((function(t){e[t.id]=t}));for(var t=(0,s.copyObject)(this.productInfoList),i=[],a=0;a<t.length;a++){if(!this.$util.isEmpty(t[a].child))for(var n=t[a].child,r=0;r<n.length;r++){var o=n[r],l=o.id,c=e[l]||[];this.$util.isEmpty(c)?(t[a].child[r].bigCount=0,t[a].child[r].userPrice=0,t[a].child[r].smallCount=0):(t[a].child[r].bigCount=c.bigCount||0,t[a].child[r].userPrice=c.userPrice||0,t[a].child[r].smallCount=c.smallCount||0)}a<2?i.push(f(f({},t[a]),{},{isActive:!0})):i.push(f(f({},t[a]),{},{isActive:!1}))}this.globalClassItemList=i},searchFn:function(){var e=this,t=this.globalItemList;if(this.$util.isEmpty(this.py))return this.globalClassItemList="",this.classIndex=0,this.scroll_into_view="class_0",void this.scrollPushList();if(!(this.py.length<=1)&&!(0==this.py.indexOf("fs")&&this.py.length<=2)&&!(0==this.py.indexOf("hs")&&this.py.length<=2)&&!(0==this.py.indexOf("zs")&&this.py.length<=2)&&!(0==this.py.indexOf("ls")&&this.py.length<=2)&&!(0==this.py.indexOf("bs")&&this.py.length<=2)&&!(0==this.py.indexOf("yj")&&this.py.length<=2)){var i=[];this.$util.isEmpty(this.selectList)||this.selectList.forEach((function(e){i[e.id]=e}));var a=[];t.forEach((function(t){var n=t.id,r=i[n]||[];e.$util.isEmpty(r)?(t.bigCount=0,t.userPrice=0,t.smallCount=0):(t.bigCount=r.bigCount||0,t.userPrice=r.userPrice||0,t.smallCount=r.smallCount||0);var o=t.py&&t.py.toLocaleUpperCase()||"",s=o.indexOf(e.py.toLocaleUpperCase())>=0;s&&(e.$util.isEmpty(a)?a=[{classId:t.classId,className:t.className,isActive:!0,child:[t]}]:a.forEach((function(e){e.classId==t.classId?e.child.push(t):a.push({classId:t.classId,className:t.className,isActive:!0,child:[t]})})))}));var n=this.$util.unique(a);this.globalClassItemList=n,this.classIndex=0,this.scroll_into_view="class_0"}},getSelectItemPrice:function(e){var t=0,i=e.bigCount,a=e.smallCount,n=e.bigPrice,r=e.smallPrice,o=Number(i)*Number(n)+Number(a)*Number(r);return t=Math.round(100*o)/100,t},getSelectItemById:function(e,t){var i={bigCount:null,smallCount:null,autoPrice:null,itemPrice:null},a=this.selectList&&this.selectList.find((function(i){return i.id==e&&i.classId==t}));return a&&(i=f(f({},a),{},{bigCount:Number(a.bigCount),smallCount:Number(a.smallCount),autoPrice:Number(a.autoPrice),itemPrice:Number(a.itemPrice)})),i},replaceItemFn:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"add",a=(0,s.copyObject)(e);0==t&&(Number(a.smallCount)>0?("add"==i&&a.smallCount++,"sub"==i&&a.smallCount--):("add"==i&&a.bigCount++,"sub"==i&&a.bigCount--));var n=this.selectList;if(this.checkStock&&Number(a.bigCount)*a.ratio+Number(a.smallCount)>Number(a.bigNum)*a.ratio+Number(a.smallNum))return this.$util.noStockRemind(),void this.$msg("库存不足哦");var r=n.findIndex((function(e){return e.id==a.id}));-1==r?Number(a.bigCount)>0&&((this.$util.isEmpty(a.userPrice)||0==Number(a.userPrice))&&(a.userPrice=a.bigPrice),n.push(a)):a.bigCount<=0?n.splice(r,1):(n[r].bigCount=a.bigCount,n[r].smallCount=a.smallCount,n[r].userPrice=a.userPrice),"HIT"==this.kdType&&0==t&&this.$util.hitRemind(),this.pushToSave(n)},switchGlobalUnitType:function(){0==this.globalUnitType?(this.globalUnitType=1,this.customData.userPrice=parseFloat(this.customData.smallPrice),this.customData.bigCount=null):(this.globalUnitType=0,this.customData.userPrice=parseFloat(this.customData.bigPrice),this.customData.smallCount=null)},showAddModelFn:function(e){var t=this;if(e.bigNum<=0&&e.smallNum<=0&&this.checkStock)return this.$util.noStockRemind(),this.$msg("库存不足哦.."),!1;Number(e.smallCount>0)?this.globalUnitType=1:this.globalUnitType=0,this.isAddModel=!0,this.customData=(0,s.copyObject)(e),this.isAddInputFocus=!1,this.$nextTick((function(){t.customData.smallCount=0==t.customData.smallCount?null:t.customData.smallCount,t.customData.bigCount=0==t.customData.bigCount?null:t.customData.bigCount,"bill"==t.selectJobType||"addOrder"==t.selectJobType?null!=t.customData.userPrice&&0!=t.customData.userPrice||(0==t.customData.property?t.customData.userPrice=parseFloat(t.customData.price):t.customData.userPrice=parseFloat(t.customData.bigPrice)):t.customData.userPrice=0==t.customData.userPrice?null:t.customData.userPrice,t.isAddInputFocus=!0}))},confirmAddItemModel:function(e){if(0===e.index)return this.addItemModelHidden(),!1;if(0!=/(^[1-9]\d*$)/.test(this.customData.bigCount)||0!=/(^[1-9]\d*$)/.test(this.customData.smallCount))if(/(^[1-9]\d*$)/.test(this.customData.bigCount)&&this.customData.bigCount<=0)uni.showToast({title:"数量要大于0",icon:"none"});else if(/(^[1-9]\d*$)/.test(this.customData.smallCount)&&this.customData.smallCount<=0)uni.showToast({title:"数量要大于0",icon:"none"});else{if("bill"==this.selectJobType||"purchase"==this.selectJobType||"cgPlant"==this.selectJobType||"addOrder"==this.selectJobType){if(0==/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(this.customData.userPrice))return void uni.showToast({title:"金额错误",icon:"none"});if(this.customData.userPrice<=0)return void uni.showToast({title:"金额要大于0",icon:"none"})}this.replaceItemFn(this.customData,1),this.addItemModelHidden()}else uni.showToast({title:"请填写数值",icon:"none"})},addItemModelHidden:function(){this.isAddModel=!1,this.customData={}}})}},"0b27":function(e,t,i){var a=i("5acd");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/***\n全局scss 变量和方法 存放处\n */\n/* 引入minxin */\n/* 颜色变量 */\n/*图片地址*/\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.plart-tit[data-v-407d442b]{color:#ccc;font-size:%?28?%;font-weight:400}.tui-title[data-v-407d442b]{color:#666;font-size:%?28?%;font-weight:400}',""]),e.exports=t},2306:function(e,t,i){"use strict";var a;i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return a}));var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"app-delivery-module"},[i("v-uni-view",{staticClass:"module-com"},[i("tui-list-cell",{staticClass:"line-cell",attrs:{hover:!1}},[i("v-uni-view",{staticClass:"tui-title"},[e._v("订花人姓名")]),i("v-uni-input",{staticClass:"tui-input",staticStyle:{width:"285upx"},attrs:{"placeholder-class":"phcolor","placeholder-style":"color:#ccc;",name:"bookName",placeholder:"请填写姓名"},model:{value:e.form.bookName,callback:function(t){e.$set(e.form,"bookName",t)},expression:"form.bookName"}}),i("v-uni-button",{staticClass:"admin-button-com default mini-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeFillMobile.apply(void 0,arguments)}}},[e._v("填手机号")])],1),1==e.fillMobile?i("tui-list-cell",{staticClass:"line-cell",attrs:{hover:!1}},[i("v-uni-view",{staticClass:"tui-title"},[e._v("订花人手机号")]),i("v-uni-input",{staticClass:"tui-input",attrs:{"placeholder-class":"phcolor","placeholder-style":"color:#ccc",type:"number",name:"bookMobile",placeholder:"请填写手机号"},model:{value:e.form.bookMobile,callback:function(t){e.$set(e.form,"bookMobile",t)},expression:"form.bookMobile"}})],1):e._e(),i("tui-list-cell",{staticClass:"line-cell",attrs:{hover:!1}},[i("v-uni-view",{staticClass:"tui-title"},[e._v("配送方式")]),i("v-uni-button",{staticClass:"admin-button-com middle",class:3==e.form.sendType?"blue":"default",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.form.sendType=3}}},[e._v("骑手送")]),i("v-uni-button",{staticClass:"admin-button-com middle",class:2==e.form.sendType?"blue":"default",staticStyle:{"margin-left":"15upx"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.form.sendType=2}}},[e._v("自己送")]),i("v-uni-button",{staticClass:"admin-button-com middle",class:1==e.form.sendType?"blue":"default",staticStyle:{"margin-left":"15upx"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.form.sendType=1}}},[e._v("到店自取")])],1),[i("tui-list-cell",{staticClass:"line-cell",attrs:{hover:!1,arrow:!0}},[1==e.form.sendType?i("v-uni-view",{staticClass:"tui-title"},[e._v("取花日期")]):i("v-uni-view",{staticClass:"tui-title"},[e._v("配送日期")]),i("v-uni-picker",{staticClass:"tui-input",attrs:{mode:"date",value:e.form.reachDate},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.selTimeFn.apply(void 0,arguments)}}},[e.form.reachDate?i("v-uni-view",[e._v(e._s(e.form.reachDate))]):i("v-uni-view",[e._v("今天")])],1)],1),i("tui-list-cell",{staticClass:"line-cell",attrs:{hover:!1,arrow:!1}},[1==e.form.sendType?i("v-uni-view",{staticClass:"tui-title"},[e._v("取花时间")]):i("v-uni-view",{staticClass:"tui-title"},[e._v("配送时间")]),i("v-uni-picker",{attrs:{mode:"multiSelector",value:e.form.reachPeriod,range:e.timeOptions},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.bindTimeChange.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"uni-input",staticStyle:{width:"450upx"}},[e._v(e._s(e.form.reachPeriod)),i("v-uni-text",{staticStyle:{"margin-left":"10upx"}},[e._v("前")])],1)],1)],1)],i("tui-list-cell",{staticClass:"line-cell",attrs:{hover:!1}},[i("v-uni-view",{staticClass:"tui-title"},[e._v("贺卡内容")]),i("v-uni-input",{staticClass:"tui-input",attrs:{"placeholder-class":"phcolor","placeholder-style":"color:#ccc",name:"cardInfo",placeholder:"选填项"},model:{value:e.form.cardInfo,callback:function(t){e.$set(e.form,"cardInfo",t)},expression:"form.cardInfo"}})],1),1!=e.form.sendType?[i("tui-list-cell",{staticClass:"line-cell",attrs:{hover:!1}},[i("v-uni-view",{staticClass:"tui-title"},[e._v("收花人姓名")]),i("v-uni-input",{staticClass:"tui-input",attrs:{"placeholder-class":"phcolor","placeholder-style":"color:#ccc",name:"receiveUserName",placeholder:"请填写姓名"},model:{value:e.form.receiveUserName,callback:function(t){e.$set(e.form,"receiveUserName",t)},expression:"form.receiveUserName"}})],1),i("tui-list-cell",{staticClass:"line-cell",attrs:{hover:!1}},[i("v-uni-view",{staticClass:"tui-title"},[e._v("收花人手机号")]),i("v-uni-input",{staticClass:"tui-input",attrs:{"placeholder-class":"phcolor","placeholder-style":"color:#ccc",type:"number",name:"receiveMobile",placeholder:"请填写手机号"},model:{value:e.form.receiveMobile,callback:function(t){e.$set(e.form,"receiveMobile",t)},expression:"form.receiveMobile"}})],1),i("tui-list-cell",{staticClass:"line-cell",attrs:{hover:!1,arrow:!0},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.selectCityFn.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"tui-title"},[e._v("所在城市")]),e.form.province||e.form.city?i("v-uni-view",{staticClass:"tui-input"},[e._v(e._s(e.form.province+"-"+e.form.city))]):i("v-uni-view",{staticClass:"tui-placeholder"},[e._v("请选择")])],1),i("tui-list-cell",{staticClass:"line-cell",attrs:{hover:!1}},[i("v-uni-view",{staticClass:"tui-title"},[e._v("详细地址")]),i("v-uni-input",{staticClass:"tui-input",attrs:{"placeholder-class":"phcolor","placeholder-style":"color:#ccc",name:"address",placeholder:"请填写地址"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.changeAddress()}},model:{value:e.form.address,callback:function(t){e.$set(e.form,"address",t)},expression:"form.address"}})],1),i("tui-list-cell",{staticClass:"line-cell",attrs:{hover:!1}},[i("v-uni-view",{staticClass:"tui-title"},[e._v("门牌号")]),i("v-uni-input",{staticClass:"tui-input",attrs:{"placeholder-class":"phcolor","placeholder-style":"color:#ccc",name:"floor",placeholder:"楼号门牌号(选填)"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.changeFloor()}},model:{value:e.form.floor,callback:function(t){e.$set(e.form,"floor",t)},expression:"form.floor"}})],1)]:e._e(),1!=e.form.sendType?[i("tui-list-cell",{staticClass:"line-cell",attrs:{hover:!1}},[i("v-uni-view",{staticClass:"none-name-delivery flex-center",staticStyle:{"padding-left":"0upx"}},[i("v-uni-view",{staticClass:"tui-title"},[e._v("匿名派送")]),i("v-uni-checkbox-group",{staticStyle:{"padding-left":"70upx"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.anonymityChange.apply(void 0,arguments)}}},[i("v-uni-checkbox",{staticClass:"ljd-checkbox",staticStyle:{transform:"scale(0.6,0.6)"},attrs:{value:"1",checked:1==e.form.anonymity,id:"noneNameText"}}),i("v-uni-label",{staticClass:"none-name-text",attrs:{for:"noneNameText"}},[e._v("需要")])],1)],1)],1)]:e._e(),i("tui-list-cell",{staticClass:"line-cell",attrs:{hover:!1}},[i("v-uni-view",{staticClass:"tui-title"},[e._v("备注")]),i("v-uni-input",{staticClass:"tui-input",attrs:{"placeholder-class":"phcolor","placeholder-style":"color:#ccc",name:"remark",placeholder:"选填"},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1)],2),i("simple-address",{ref:"simpleAddress",attrs:{region:e.regionTree,pickerValueDefault:e.cityPickerValueDefault},on:{onConfirm:function(t){arguments[0]=t=e.$handleEvent(t),e.getCityConfirm.apply(void 0,arguments)}}})],1)},r=[]},"2f8d":function(e,t,i){"use strict";i.r(t);var a=i("37d9"),n=i("a382");for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);var o,s=i("8aaf"),l=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"1241ded3",null,!1,a["a"],o);t["default"]=l.exports},3676:function(e,t,i){"use strict";var a;i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return a}));var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",[i("tui-list-cell",{staticClass:"line-cell",attrs:{hover:!1}},[i("div",{staticClass:"tui-title required",staticStyle:{width:"120upx"}},[e._v(e._s(e.nameTetx))]),e.$util.isEmpty(e.form.name)?i("v-uni-view",{staticClass:"plart-tit",staticStyle:{width:"400upx","text-align":"center"}},[e._v("请点击右边按钮")]):i("v-uni-view",{staticStyle:{width:"400upx","padding-left":"90upx"}},[e._v(e._s(e.form.name))]),i("v-uni-button",{staticClass:"admin-button-com blue mini-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.getWxAvatar.apply(void 0,arguments)}}},[e._v("帮我填")])],1),i("tui-list-cell",{staticClass:"line-cell",attrs:{hover:!1}},[i("div",{staticClass:"tui-title required",staticStyle:{width:"120upx"}},[e._v("手机号")]),e.$util.isEmpty(e.form.mobile)?i("v-uni-view",{staticClass:"plart-tit",staticStyle:{width:"400upx","text-align":"center"}},[e._v("请点击右边按钮")]):i("v-uni-view",{staticStyle:{width:"400upx","padding-left":"90upx"}},[e._v(e._s(e.form.mobile))]),i("v-uni-button",{staticClass:"admin-button-com blue mini-btn",attrs:{"open-type":"getPhoneNumber"},on:{getphonenumber:function(t){arguments[0]=t=e.$handleEvent(t),e.getWxMobile.apply(void 0,arguments)}}},[e._v("帮我填")])],1)],1)},r=[]},"37d9":function(e,t,i){"use strict";var a;i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return a}));var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",[i("v-uni-picker",{attrs:{mode:e.mode,value:e.date,start:e.startDate2,end:e.endDate2},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.bindDateChange.apply(void 0,arguments)}}},[e._t("default",[i("v-uni-view",{staticClass:"uni-input"},[e.placeholder&&!e.date?i("span",[e._v(e._s(e.placeholder))]):i("span",[e._v(e._s(e.date))]),i("span")])])],2)],1)},r=[]},"3a10":function(e,t,i){"use strict";var a=i("d669");Object.defineProperty(t,"__esModule",{value:!0}),t.wxPay=t.wastage=t.updateSheet=t.updateOrder=t.thirdSend=t.sendReach=t.sendOrder=t.sendExpressage=t.selfSend=t.refund=t.reachOrder=t.printOrder=t.orderUpdatePrice=t.orderSendDet=t.orderSend=t.orderRelate=t.orderReach=t.orderClass=t.onlinePrintOrder=t.hasPay=t.getListB=t.getList=t.getDetail=t.getDetB=t.getDebtOrderList=t.freight=t.freeShipping=t.debtPay=t.createPxClassOrder=t.createOrder=t.comment=t.chooseOrderProductApi=t.cancelOrder=t.balancePay=void 0,i("0bb3");var n=a(i("da6a")),r=a(i("14bf"));t.cancelOrder=function(e){return r.default.get("/order/cancel",e)},t.updateOrder=function(e){return r.default.post("/order/update",e)},t.getDebtOrderList=function(e){return r.default.get("/order/debt-list",e)},t.sendOrder=function(e){return r.default.get("/order/send",e)},t.onlinePrintOrder=function(e){return r.default.get("/order/print-order",e)},t.refund=function(e){return r.default.post("/refund/create-order",e)},t.wastage=function(e){return r.default.post("/wastage/create-order",e)},t.getList=function(e){return r.default.get("/order/list",e)},t.getDetail=function(e){return r.default.get("/order/detail",e)},t.comment=function(e){return r.default.post("/order/comment",e)},t.createOrder=function(e){return r.default.post("/order/create-order",e)},t.createPxClassOrder=function(e){return r.default.get("/px-apply/add",e)},t.orderRelate=function(e){return r.default.get("/order/order-relate",e)},t.balancePay=function(e){return r.default.post("/order/balance-pay",e)},t.wxPay=function(e){return r.default.post("/order/wx-pay",e)},t.getListB=function(e){return r.default.get("/order/list",e)},t.getDetB=function(e){return r.default.get("/order/detail",e)},t.debtPay=function(e){return r.default.get("/order/debt",e)},t.hasPay=function(e){return r.default.get("/order/has-pay",e)},t.sendExpressage=function(e){return r.default.get("/order/third-send",e)},t.sendReach=function(e){return r.default.get("/order/reach",e)},t.chooseOrderProductApi=function(){var e=(0,n.default)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",r.default.post("/order-item/reset",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.freeShipping=function(e){return r.default.get("/order/without-send",e)},t.orderSendDet=function(e){return r.default.get("/order-send/detail",e)},t.printOrder=function(e){return r.default.post("/order-send/print-order",e)},t.orderSend=function(e){return r.default.post("/order-send/deliver",e)},t.orderReach=function(e){return r.default.post("/order-send/reach",e)},t.updateSheet=function(e){return r.default.post("/order/update-sheet",e)},t.orderClass=function(e){return r.default.post("/order/classify",e)},t.orderUpdatePrice=function(e){return r.default.get("/order/update-price",e)},t.freight=function(e){return r.default.get("/order/freight",e)},t.thirdSend=function(e){return r.default.get("/order/third-send",e)},t.selfSend=function(e){return r.default.get("/order/self-send",e)},t.reachOrder=function(e){return r.default.get("/order/reach",e)}},"3c0f":function(e,t,i){"use strict";i.r(t);var a=i("dc96"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(r);t["default"]=n.a},"468e":function(e,t,i){"use strict";i.r(t);var a=i("851b"),n=i("af5c");for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);i("d28a");var o,s=i("8aaf"),l=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"465890a2",null,!1,a["a"],o);t["default"]=l.exports},4692:function(e,t,i){"use strict";i.r(t);var a=i("2306"),n=i("b331");for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);i("5a53");var o,s=i("8aaf"),l=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"7f4fbede",null,!1,a["a"],o);t["default"]=l.exports},"5a53":function(e,t,i){"use strict";var a=i("6114"),n=i.n(a);n.a},6114:function(e,t,i){var a=i("8c35");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("47af").default;n("4f163f66",a,!0,{sourceMap:!1,shadowMode:!1})},"6e38":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={name:"app-date-picker",props:{mode:{type:String,default:"date"},placeholder:{type:String,default:null},dateVal:{type:String,default:""},startDate:{type:String,default:""},endDate:{type:String,default:""}},data:function(){return{date:null}},watch:{dateVal:function(e){this.date=e}},computed:{startDate2:function(){return console.log(this.getDate("start")),this.getDate("start")},endDate2:function(){return this.getDate("end")}},methods:{bindDateChange:function(e){var t=e.target.value;this.date=t,console.log(t),this.$emit("update:dateVal",t),this.$emit("change",t)},getDate:function(e){var t=new Date,i=t.getFullYear(),a=t.getMonth()+1,n=t.getDate();return"start"===e?i=this.startDate:"end"===e&&(i=this.endDate),a=a>9?a:"0"+a,n=n>9?n:"0"+n,"".concat(i,"-").concat(a,"-").concat(n)}}}},"7adc":function(e,t,i){"use strict";var a=i("d669");Object.defineProperty(t,"__esModule",{value:!0}),t.updateProduct=t.py=t.pxClassUpdate=t.pxClassDetail=t.pxClassDel=t.pxClassAdd=t.productList=t.print=t.getPxClassDataApi=t.getProductDetail=t.getProductDataApi=t.getGoodsDataApi=t.getGhsProductListV2=t.getGhsProductList=t.getGhsProductDetail=t.getAllProductDataApi=t.generatePriceTable=t.changePriceByIdApi=t.batchChangePrice=t.batchChangeAddPrice=t.autoPriceByIdApi=t.addProduct=void 0;var n=a(i("14bf"));t.print=function(e){return n.default.get("/product/print",e)},t.batchChangeAddPrice=function(e){return n.default.post("/product/batch-change-add-price",e)},t.productList=function(e){return n.default.get("/product/list",e)},t.py=function(e){return n.default.get("/product/py",e)},t.getGhsProductDetail=function(e){return n.default.get("/product/ghs-product-detail",e)},t.getProductDataApi=function(e){return n.default.get("/product/index",e)},t.getAllProductDataApi=function(e){return n.default.get("/product/list",e)},t.autoPriceByIdApi=function(e){return n.default.post("/product/auto-price",e)},t.addProduct=function(e){return n.default.post("/product/add",e)},t.updateProduct=function(e){return n.default.post("/product/update",e)},t.changePriceByIdApi=function(e){return n.default.post("/product/change-price",e)},t.getPxClassDataApi=function(e){return n.default.get("/px-class/list",e)},t.getGoodsDataApi=function(e){return n.default.get("/goods/index",e)},t.pxClassDetail=function(e){return n.default.get("/px-class/detail",e)},t.pxClassUpdate=function(e){return n.default.get("/px-class/update",e)},t.pxClassAdd=function(e){return n.default.get("/px-class/add",e)},t.pxClassDel=function(e){return n.default.get("/px-class/del",e)},t.getGhsProductList=function(e){return n.default.get("/product/ghs-item",e)},t.getGhsProductListV2=function(e){return n.default.get("/product/ghs-item-v2",e)},t.getProductDetail=function(e){return n.default.get("/product/detail",e)},t.batchChangePrice=function(e){return n.default.post("/product/batch-change-price",e)},t.generatePriceTable=function(e){return n.default.get("/product/generate-price-table",e)}},"851b":function(e,t,i){"use strict";var a;i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return a}));var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"app-content"},[i("v-uni-view",{staticClass:"affirm-page"},[i("v-uni-view",{staticClass:"affirm-view overscroll"},[i("v-uni-form",[i("app-delivery-module",{ref:"appDelivery",attrs:{info:e.orderInfo},on:{changeAddress:function(t){arguments[0]=t=e.$handleEvent(t),e.changeAddress.apply(void 0,arguments)},"update:info":function(t){arguments[0]=t=e.$handleEvent(t),e.orderInfo=t}}})],1)],1),i("v-uni-view",{staticClass:"under-bar"},[i("v-uni-view",{staticClass:"price-view"}),i("v-uni-button",{staticClass:"admin-button-com blue big",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.confirmToSubmit.apply(void 0,arguments)}}},[e._v("提交")])],1)],1)],1)},r=[]},"8c35":function(e,t,i){var a=i("5acd");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/***\n全局scss 变量和方法 存放处\n */\n/* 引入minxin */\n/* 颜色变量 */\n/*图片地址*/\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.app-delivery-module .module-com[data-v-7f4fbede]{margin-bottom:%?20?%;background-color:#fff}.app-delivery-module .module-com .module-tit[data-v-7f4fbede]{padding:%?20?% %?18?%;font-size:%?28?%;font-weight:600;border-bottom:%?1?% solid #eee}.app-delivery-module .module-com .module-det[data-v-7f4fbede]{padding:0 %?30?%}.app-delivery-module .line-cell .tui-title[data-v-7f4fbede]{width:%?210?%;color:#666}.app-delivery-module .line-cell .tui-input[data-v-7f4fbede]{width:calc(100% - %?210?%);font-size:%?28?%}.app-delivery-module .line-cell .tui-placeholder[data-v-7f4fbede]{color:#ccc}.app-delivery-module .line-cell .phcolor[data-v-7f4fbede]{color:#ccc}.app-delivery-module .delivery-time[data-v-7f4fbede]{display:-webkit-box;display:flex;display:-webkit-flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.app-delivery-module .delivery-time .button-com[data-v-7f4fbede]{padding-top:%?14?%;padding-bottom:%?10?%;margin-right:%?10?%}.app-delivery-module .gift-wrap .gift-content[data-v-7f4fbede]{width:100%}.app-delivery-module .gift-wrap .need-gift[data-v-7f4fbede]{margin-left:%?14?%;color:#666}.app-delivery-module .gift-wrap .gitf-textarea[data-v-7f4fbede]{margin-top:%?40?%}.app-delivery-module .none-name-delivery[data-v-7f4fbede]{margin-bottom:%?20?%;background-color:#fff}.app-delivery-module .none-name-delivery .none-name-text[data-v-7f4fbede]{margin-left:%?10?%;color:#666}',""]),e.exports=t},"8dd4":function(e,t,i){"use strict";var a=i("d669");Object.defineProperty(t,"__esModule",{value:!0}),t.updateShop=t.getRegion=t.getPrint=t.getMyShop=t.getList=t.getLb=t.getGatheringCodeUrl=t.getDetail=t.getCgPayWay=t.downQrCode=t.downMemberCode=t.delShop=t.currentShop=t.checkShop=t.changeOnlyCg=t.addShop=t.addMtCloudPrint=t.addMakeCloudPrint=t.addCloudPrint=t.addCloudLb=void 0;var n=a(i("14bf"));t.getMyShop=function(e){return n.default.get("/shop/my-shop",e)},t.changeOnlyCg=function(e){return n.default.get("/shop/change-only-cg",e)},t.getDetail=function(e){return n.default.get("/shop/detail",e)},t.checkShop=function(e){return n.default.get("/shop/check-shop",e)},t.addMtCloudPrint=function(e){return n.default.get("/shop-ext/add-mt-print",e)},t.getRegion=function(e){return n.default.get("/shop/region",e)},t.addCloudLb=function(e){return n.default.get("/shop-ext/add-lb",e)},t.getLb=function(e){return n.default.get("/shop-ext/get-lb",e)},t.getList=function(e){return n.default.get("/shop/list",e)},t.getGatheringCodeUrl=function(e){return n.default.get("/shop/get-gathering-code-url",e)},t.updateShop=function(e){return n.default.post("/shop/update",e)},t.addShop=function(e){return n.default.post("/shop/add",e)},t.delShop=function(e){return n.default.get("/shop/delete",e)},t.downQrCode=function(e){return n.default.get("/shop/download-gathering-code",e,{},{hideError:!0})},t.downMemberCode=function(e){return n.default.get("/shop/download-apply-member-code",e,{},{hideError:!0})},t.currentShop=function(e){return n.default.get("/shop/current-shop",e)},t.addCloudPrint=function(e){return n.default.get("/shop-ext/add-print",e)},t.addMakeCloudPrint=function(e){return n.default.get("/shop-ext/add-make-print",e)},t.getPrint=function(e){return n.default.get("/shop-ext/get-print",e)},t.getCgPayWay=function(e){return n.default.get("/shop/get-cg-pay-way",e)}},"8e7d":function(e,t,i){var a=i("0b27");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("47af").default;n("0d5851fa",a,!0,{sourceMap:!1,shadowMode:!1})},a382:function(e,t,i){"use strict";i.r(t);var a=i("6e38"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(r);t["default"]=n.a},aaf0:function(e,t,i){"use strict";var a=i("8e7d"),n=i.n(a);n.a},af5c:function(e,t,i){"use strict";i.r(t);var a=i("b31d"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(r);t["default"]=n.a},b31d:function(e,t,i){"use strict";var a=i("d669");i("589a"),i("b1d8"),i("e978"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(i("6c85")),r=a(i("1861")),o=a(i("0809")),s=a(i("4692")),l=i("3a10"),c=i("5f90");function d(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,a)}return i}function u(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?d(Object(i),!0).forEach((function(t){(0,n.default)(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):d(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}t.default={name:"modify",components:{TuiListCell:r.default,AppDeliveryModule:s.default},mixins:[o.default],data:function(){return{headers:{token:""},selectJobType:"addOrder",goodsPrice:"",payWayindex:0,payWayList:[{name:"微信",id:0},{name:"支付宝",id:1},{name:"现金",id:4},{name:"银行卡",id:5}],plantClassData:[],categorySelectedData:{},currentImgData:[],dj:"",orderInfo:{}}},onLoad:function(e){var t=uni.getStorageSync("token");this.headers.token=t},computed:u({},(0,c.mapGetters)(["getLoginInfo"])),methods:{init:function(){this.getDetailInfo()},getDetailInfo:function(){var e=this;return(0,l.getDetB)({id:this.option.id}).then((function(t){1==t.code&&(e.orderInfo=t.data)}))},changeAddress:function(){},confirmToSubmit:function(){var e=this;e.form=u({},e.$refs.appDelivery.form),e.$util.confirmModal({content:"确认提交?"},(function(){(0,l.updateOrder)(u(u({},e.form),{},{id:e.orderInfo.id})).then((function(t){1==t.code&&(e.$msg("修改成功"),setTimeout((function(){uni.navigateBack()}),1500))}))}))}}}},b331:function(e,t,i){"use strict";i.r(t);var a=i("d3b4"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(r);t["default"]=n.a},c46f:function(e,t,i){var a=i("d7c8");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("47af").default;n("9821d6c2",a,!0,{sourceMap:!1,shadowMode:!1})},d28a:function(e,t,i){"use strict";var a=i("c46f"),n=i.n(a);n.a},d3b4:function(e,t,i){"use strict";var a=i("d669");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("34b3");var n=a(i("6c85")),r=(i("5f90"),a(i("1861"))),o=a(i("2f8d")),s=a(i("618a")),l=a(i("62ec")),c=a(i("e6d7")),d=i("b26e"),u=i("8dd4");t.default={name:"app-delivery-module",components:{AppAreaSel:l.default,TuiListCell:r.default,AppDatePicker:o.default,SimpleAddress:s.default,AppBindInfo:c.default},props:{info:{type:Object,default:{}}},data:function(){return(0,n.default)((0,n.default)((0,n.default)((0,n.default)({fillMobile:0,region:[],showRegion:!1,form:{sendType:3,receiveUserName:"",receiveMobile:"",province:"",city:"",address:"",showAddress:"",floor:"",fullAddress:"",bookName:"",bookMobile:"",reachDate:"",reachPeriod:"12:00",cardInfo:"",remark:"",anonymity:0,lat:"",long:""}},"region",{latitude:0,longitude:0}),"regionTree",[]),"cityPickerValueDefault",[0,0]),"timeOptions",[["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"],["00","05","10","15","20","25","30","35","40","45","50","55"]])},mounted:function(){var e=this;(0,u.getRegion)().then((function(t){1==t.code&&(e.regionTree=t.data.region,(0,d.getShop)().then((function(t){1==t.code&&t.data.info&&(e.form.province=t.data.info.province,e.form.city=t.data.info.city)})))}))},watch:{info:{handler:function(e){this.$util.isEmpty(e)||(this.form.bookName=e.bookName,this.$util.isEmpty(e.bookMobile)?this.fillMobile=0:this.fillMobile=1,this.form.bookMobile=e.bookMobile,this.form.sendType=e.sendType,this.$util.isEmpty(e.reachDate)||(this.form.reachDate=e.reachDate),this.$util.isEmpty(e.reachPeriod)||(this.form.reachPeriod=e.reachPeriod),this.form.cardInfo=e.cardInfo,this.form.receiveUserName=e.receiveUserName,this.form.receiveMobile=e.receiveMobile,this.form.province=e.province,this.form.city=e.city,this.form.address=e.address,this.form.showAddress=e.showAddress,this.form.fullAddress=e.fullAddress,this.form.floor=e.floor,this.form.remark=e.remark,this.form.anonymity=e.anonymity,this.form.lat=e.lat,this.form.long=e.long)},immediate:!0}},methods:{changeAddress:function(){this.form.showAddress=this.form.city+this.form.address+this.form.floor},changeFloor:function(){this.form.showAddress=this.form.city+this.form.address+this.form.floor},changeFillMobile:function(){this.fillMobile=0==this.fillMobile?1:0},bindTimeChange:function(e){var t=e.detail.value,i=Number(t[0]),a=Number(t[1]),n=this.timeOptions;this.form.reachPeriod=n[0][i]+":"+n[1][a]},selTimeFn:function(e){this.form.reachDate=e.detail.value},timeTodaySelFn:function(e){this.form.reachPeriod=e},anonymityChange:function(){this.form.anonymity=1==this.form.anonymity?0:1},selectCityFn:function(){this.$refs.simpleAddress.open()},getCityConfirm:function(e){this.form.province=e.provinceName,this.form.city=e.cityName}}}},d7c8:function(e,t,i){var a=i("5acd");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/***\n全局scss 变量和方法 存放处\n */\n/* 引入minxin */\n/* 颜色变量 */\n/*图片地址*/\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.module-com[data-v-465890a2]{margin-bottom:%?20?%;background-color:#fff;color:#666}.module-com .module-tit[data-v-465890a2]{padding:%?20?% %?30?%;font-size:%?28?%}.module-com .module-det[data-v-465890a2]{padding:0 %?30?%}.admin-button-com[data-v-465890a2]{margin-right:%?20?%}.affirm-page[data-v-465890a2]{position:relative;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.affirm-page .affirm-view[data-v-465890a2]{-webkit-box-flex:1;-webkit-flex:1;flex:1;margin-bottom:%?90?%;padding:%?20?%;background-color:#f0f2f6}.affirm-page .affirm-view .commodity-view[data-v-465890a2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.affirm-page .affirm-view .commodity-view .commodity-list[data-v-465890a2]{padding:%?20?%}.affirm-page .affirm-view .commodity-view .commodity-list .commodity-item[data-v-465890a2]{display:-webkit-box;display:-webkit-flex;display:flex;margin-bottom:%?20?%}.affirm-page .affirm-view .commodity-view .commodity-list .commodity-item .item-icon[data-v-465890a2]{-webkit-flex-shrink:0;flex-shrink:0;width:%?140?%;height:%?140?%}.affirm-page .affirm-view .commodity-view .commodity-list .commodity-item .item-info[data-v-465890a2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-flex:1;-webkit-flex:1;flex:1;margin-left:%?20?%}.affirm-page .affirm-view .commodity-view .commodity-list .commodity-item .item-info .info-line[data-v-465890a2]{margin-bottom:%?20?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}.affirm-page .affirm-view .commodity-view .commodity-list .commodity-item .item-info .info-line .item-name[data-v-465890a2]{color:#666;font-size:%?28?%}.affirm-page .affirm-view .commodity-view .commodity-list .commodity-item .item-info .info-line .item-price[data-v-465890a2]{color:#333;font-size:%?22?%}.affirm-page .affirm-view .commodity-view .commodity-list .commodity-item .item-info .info-line .item-price .price[data-v-465890a2]{font-size:%?32?%;font-weight:700}.affirm-page .affirm-view .commodity-view .commodity-list .commodity-item .item-info .info-line .item-type[data-v-465890a2]{color:#999;font-size:%?24?%}.affirm-page .affirm-view .commodity-view .commodity-list .commodity-item .item-info .info-line .item-count[data-v-465890a2]{color:#666;font-size:%?24?%}.affirm-page .affirm-view .commodity-view .summary-bar[data-v-465890a2]{padding:0 %?20?%;height:%?90?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;border-top:%?1?% solid #eee}.affirm-page .affirm-view .commodity-view .summary-bar .operate-view[data-v-465890a2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#3385ff;font-size:%?26?%}.affirm-page .affirm-view .commodity-view .summary-bar .operate-view .iconfont[data-v-465890a2]{margin-right:%?20?%;font-size:%?40?%}.affirm-page .affirm-view .commodity-view .summary-bar .describe-view[data-v-465890a2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#333;font-size:%?24?%}.affirm-page .affirm-view .commodity-view .summary-bar .describe-view .price[data-v-465890a2]{font-weight:700;font-size:%?36?%}.affirm-page .affirm-view .module-com[data-v-465890a2]{background-color:#fff;margin-bottom:%?20?%;border-radius:%?10?%;overflow:hidden}.affirm-page .affirm-view .module-com .tab-box[data-v-465890a2]{padding:%?10?% %?30?% %?30?%}.affirm-page .affirm-view .module-com .tab-box .tab[data-v-465890a2]{width:49%;height:%?70?%;color:#a2a2a2;border:%?1?% solid #dcdcdc;border-radius:%?10?%;font-size:%?28?%;font-weight:700}.affirm-page .affirm-view .module-com .tab-box .tab.active[data-v-465890a2]{color:#ff4d4d;border:%?1?% solid #ff4d4d}.affirm-page .affirm-view .module-com .member-wrap .member-det[data-v-465890a2]{font-size:%?24?%;margin-left:%?20?%}.affirm-page .affirm-view .module-com .remark-wrap[data-v-465890a2]{-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.affirm-page .affirm-view .module-com .remark-wrap .remark[data-v-465890a2]{height:%?240?%}.affirm-page .under-bar[data-v-465890a2]{display:-webkit-box;display:-webkit-flex;display:flex;z-index:99999;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0 %?20?%;position:fixed;bottom:0;\n /* 手机mobile屏幕小于1000px */\n /* 收银台cashier屏幕大于1000px */height:%?100?%;background-color:#fff;box-shadow:%?0?% %?-1?% %?6?% %?0?% rgba(4,0,0,.06)}@media screen and (max-width:%?1100?%){.affirm-page .under-bar[data-v-465890a2]{width:100%}}@media screen and (min-width:%?1100?%){.affirm-page .under-bar[data-v-465890a2]{width:40%}}.affirm-page .under-bar .price-view[data-v-465890a2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?24?%}.affirm-page .under-bar .price-view .price-title[data-v-465890a2]{color:#333}.affirm-page .under-bar .price-view .price-number[data-v-465890a2]{margin:0 %?20?%;color:#ff2842}.affirm-page .under-bar .price-view .price-number .large[data-v-465890a2]{font-size:%?40?%}.affirm-page .under-bar .admin-button-com[data-v-465890a2]{width:%?200?%}',""]),e.exports=t},dc96:function(e,t,i){"use strict";var a=i("d669");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(i("1861")),r=i("6436");t.default={name:"AppBindInfo",props:{nameTetx:{type:String,default:"昵称"}},components:{TuiListCell:n.default},data:function(){return{form:{name:"",mobile:""}}},methods:{getWxAvatar:function(){var e=this;uni.getUserProfile({desc:"登录",success:function(t){(0,r.getWxInfo)({iv:t.iv,encryptedData:t.encryptedData}).then((function(t){e.form.name=t.data.name,e.$emit("bindInfo",e.form),uni.showToast({icon:"success"})}))},fail:function(e){}})},getWxMobile:function(e){var t=this;"getPhoneNumber:ok"===e.detail.errMsg?(0,r.getWxPhone)({iv:e.detail.iv,encryptedData:e.detail.encryptedData}).then((function(e){t.form.mobile=e.data.mobile,t.$emit("bindInfo",t.form),uni.showToast({icon:"success"})})):this.$msg("获取信息失败!")}}}},e6d7:function(e,t,i){"use strict";i.r(t);var a=i("3676"),n=i("3c0f");for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);i("aaf0");var o,s=i("8aaf"),l=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"407d442b",null,!1,a["a"],o);t["default"]=l.exports}}]);