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
25 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///G:/web/中龙小程序/zhonglmini/pages/refund/refund2.vue?59a2","webpack:///G:/web/中龙小程序/zhonglmini/pages/refund/refund2.vue?12b6","webpack:///G:/web/中龙小程序/zhonglmini/pages/refund/refund2.vue?e141","webpack:///G:/web/中龙小程序/zhonglmini/pages/refund/refund2.vue?63fe","uni-app:///pages/refund/refund2.vue","webpack:///G:/web/中龙小程序/zhonglmini/pages/refund/refund2.vue?45e0","webpack:///G:/web/中龙小程序/zhonglmini/pages/refund/refund2.vue?0a09"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","buylist","goodsPrice","note","cpids","dhid","sqmoney","index","isAllselected","selectedList","gids","tktype","tuiksls","onLoad","onShow","onHide","filters","toFixeds","methods","inputchange","inputnum","orderdetail","action","redata","len","allmoney","uni","title","icon","sqtuik","userinfo","uid","aid","bz","reinfo","url","tosq","content","success","t","console","selected","i","allSelect","arr","sum","tuiksl","cpsl"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,eAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoH;AACpH;AAC2D;AACL;AACc;;;AAGpE;AACqL;AACrL,gBAAgB,0LAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,kFAAM;AACR,EAAE,2FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1BA;AAAA;AAAA;AAAA;AAAirB,CAAgB,krBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCoFrsB;EACAC;IACA;MACAC;MAAA;MACAC;MAAA;MACAC;MAAA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EACA;EACAC;IACA;IACA;EACA;EACAC,2BAEA;EACAC;IACAC;MACA;IACA;EACA;EACAC;IACA;IACAC,+DACA;MACA;MACA,2CACA;QACAC;MACA;QACAA;MACA;QACAA;MACA;MACA;MACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACA;kBAAAC;kBAAAjB;gBAAA;cAAA;gBAAAkB;gBACA;kBACA;kBACAC;kBACAC;kBACA;oBACA;oBACAA;kBACA;kBACA;gBACA;kBACAC;oBACAC;oBAAAC;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACAC;gBAAA;gBAAA,OACA;kBAAAR;kBAAAS;kBAAAC;kBACA3B;kBAAA4B;kBAAA3B;kBAAAI;kBAAAF;kBAAAG;kBAAAC;gBAAA;cAAA;gBADAsB;gBAEA;kBACAR;oBACAC;oBAAAC;kBACA;kBACAF;oBACAS;kBACA;gBACA;kBACAT;oBACAC;oBAAAC;kBACA;gBACA;gBACAF;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAEA;IACAU;MACA;MACA;MACA;MACA;QACAV;UACAC;UAAAC;QACA;QACA;MACA;QACAF;UACAC;UAAAC;QACA;QACA;MACA;QACAF;UACAC;UAAAC;QACA;QACA;MACA;QACAF;UACAC;UAAAC;QACA;QACA;MACA;MACAF;QACAC;QACAU;QACAC;UACA;YACAZ;cACAC;YACA;YACAY;UACA;YACAC;UACA;QACA;MACA;IAEA;IACA;IACAC;MACA;MACA;MACAC;MACA;MACA;IACA;IACA;IACAC;MACA;MACA;MACA;QACA;QACAC;MACA;MACA;MACA;MACA;IACA;IACA;IACAC;MACA;MACA;MACA;MAAA;MACA;QACA;QACAC;QACA;UAEA;UACApC;UACAqC;QACA;MACA;MACA;MACA;MACA;IACA;EAEA;AACA;AAAA,2B;;;;;;;;;;;;;AChQA;AAAA;AAAA;AAAA;AAA4xC,CAAgB,qtCAAG,EAAC,C;;;;;;;;;;;ACAhzC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/refund/refund2.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/refund/refund2.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./refund2.vue?vue&type=template&id=79452948&\"\nvar renderjs\nimport script from \"./refund2.vue?vue&type=script&lang=js&\"\nexport * from \"./refund2.vue?vue&type=script&lang=js&\"\nimport style0 from \"./refund2.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/refund/refund2.vue\"\nexport default component.exports","export * from \"-!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./refund2.vue?vue&type=template&id=79452948&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var l0 = _vm.__map(_vm.buylist, function (row, index) {\n var $orig = _vm.__get_orig(row)\n var f0 = _vm._f(\"toFixeds\")(row.price * row.dinghl)\n return {\n $orig: $orig,\n f0: f0,\n }\n })\n var f1 = _vm._f(\"toFixeds\")(_vm.goodsPrice)\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0,\n f1: f1,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./refund2.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./refund2.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<!-- 购买商品列表 -->\r\n\t\t<view class=\"buy-list\">\r\n\t\t\t<view class=\"list_top\">\r\n\t\t\t\t<view class=\"tip\">请选择需要退货的商品</view>\r\n\t\t\t\t<view class=\"checkbox-box\" @tap=\"allSelect\">\r\n\t\t\t\t\t<view class=\"checkbox\">\r\n\t\t\t\t\t\t<view :class=\"[isAllselected?'on':'']\"></view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"text\">全选</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t\r\n\t\t\t<view class=\"row\" v-for=\"(row,index) in buylist\" :key=\"index\">\r\n\t\t\t\t<view class=\"goods-info\">\r\n\t\t\t\t\t<view class=\"img\">\r\n\t\t\t\t\t\t<image :src=\"row.img\"></image>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"info\">\r\n\t\t\t\t\t\t<view class=\"title\">{{row.mc}}{{row.dw}}</view>\r\n\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t<view class=\"spec\">{{row.gg}} <text style=\"color: red;\">单价:¥{{row.price}}</text></view>\r\n\t\t\t\t\t\t\t<view class=\"foodnum\">可退数量:{{row.dinghl}}</view>\r\n\t\t\t\t\t\t</view>\t\r\n\t\t\t\t\t\t<view class=\"price-number\">\r\n\t\t\t\t\t\t\t<view class=\"price\">¥{{row.price*row.dinghl|toFixeds}}</view>\r\n\t\t\t\t\t\t\t<view class=\"number\">\r\n\t\t\t\t\t\t\t\t退款数\r\n\t\t\t\t\t\t\t\t<view class=\"input\">\r\n\t\t\t\t\t\t\t\t\t<input type=\"digit\" :disabled=\"!row.selected\" v-model=\"row.selected==false?'':row.tuiksl\" @input=\"inputchange($event,row.id,index,row.tuiksl,row.price)\" />\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"checkbox-box\" @tap=\"selected(index)\" >\r\n\t\t\t\t\t\t<view class=\"checkbox\">\r\n\t\t\t\t\t\t\t<view :class=\"[row.selected?'on':'']\"></view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 提示-备注 -->\r\n\t\t<view class=\"order\">\r\n\t\t\t<view class=\"row\">\r\n\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t退货说明 :\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t<input placeholder=\"选填,退货备注\" v-model=\"note\" />\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"row\">\r\n\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t申请金额 :\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t<input placeholder=\"申请退货金额\" v-model=\"sqmoney\" />\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 明细 -->\r\n\t\t<view class=\"detail\">\r\n\t\t\t<view class=\"row\">\r\n\t\t\t\t<view class=\"nominal\">\r\n\t\t\t\t\t商品金额\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"content\">\r\n\t\t\t\t\t¥{{goodsPrice|toFixeds}}\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t\r\n\t\t</view>\r\n\t\t<view class=\"blck\"></view>\r\n\t\t<view class=\"footer\">\r\n\t\t\t<view class=\"settlement\">\r\n\t\t\t\t<view class=\"btn\" @tap=\"tosq\">提交申请</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tbuylist:[],\t\t//订单列表\r\n\t\t\t\tgoodsPrice:0,\t//商品合计价格\r\n\t\t\t\tnote:'',\t\t//备注\r\n\t\t\t\tcpids:'',\r\n\t\t\t\tdhid:0,\r\n\t\t\t\tsqmoney:0,\r\n\t\t\t\tindex:0,\r\n\t\t\t\tisAllselected:false,\r\n\t\t\t\tselectedList:[],\r\n\t\t\t\tgids:'',\r\n\t\t\t\ttktype:0,\r\n\t\t\t\ttuiksls:'',//退款产品的数量\r\n\t\t\t};\r\n\t\t},\r\n\t\tonLoad(option) {\r\n\t\t\t//option为object类型,会序列化上个页面传递的参数\r\n\t\t\tthis.dhid = parseInt(option.dhid);\r\n\t\t\tthis.tktype=option.tktype\r\n\t\t\t//this.dhid = 32882;\r\n\t\t\tthis.index=parseInt(option.index);//当前订单状态\r\n\t\t\t//this.goodsPrice=option.allmoney;\r\n\t\t\t//this.orderdetail(this.dhid)\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\t//页面显示时,加载订单信息\r\n\t\t\tthis.orderdetail(this.dhid)\r\n\t\t},\r\n\t\tonHide() {\r\n\t\t\t\r\n\t\t},\r\n\t\tfilters: {\r\n\t\t\ttoFixeds:function(x) {\r\n\t\t\t\treturn parseFloat(x).toFixed(2);\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t//修改退款数量\r\n\t\t\tinputchange(even,id,index,tuiksl,dj)\r\n\t\t\t{\r\n\t\t\t\tlet inputnum=parseFloat(even.detail.value);\r\n\t\t\t\tif(inputnum>this.buylist[index].dinghl)\r\n\t\t\t\t{\r\n\t\t\t\t\tinputnum=this.buylist[index].dinghl;\r\n\t\t\t\t}else if(inputnum>0){\r\n\t\t\t\t\tinputnum=inputnum;\r\n\t\t\t\t}else{\r\n\t\t\t\t\tinputnum='';\r\n\t\t\t\t}\r\n\t\t\t\tthis.buylist[index].tuiksl=inputnum;\t\r\n\t\t\t\tthis.sum();\r\n\t\t\t},\r\n\t\t\tasync orderdetail(id){\r\n\t\t\t\tlet redata=await this.$api.orderdetail({action:'orderdetail',dhid:id});\r\n\t\t\t\tif(redata.code==1){\r\n\t\t\t\t\tthis.buylist = redata.data;\r\n\t\t\t\t\tlet len = redata.data.length;\r\n\t\t\t\t\tlet allmoney=0;\r\n\t\t\t\t\tfor(let i=0;i<len;i++){\r\n\t\t\t\t\t\tthis.buylist[i].selected=false;\r\n\t\t\t\t\t\tallmoney=(Number(allmoney) + Number(this.buylist[i].je))\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.goodsPrice=allmoney\r\n\t\t\t\t}else{\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:'暂无数据',icon:'none'\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tasync sqtuik(dhid) {\r\n\t\t\t\tlet userinfo=uni.getStorageSync('userinfo');\r\n\t\t\t\tlet reinfo=await this.$api.sqtuik({action:'sqtuih',uid:userinfo.uid,aid:userinfo.aid,\r\n\t\t\t\tdhid:dhid,bz:this.note,sqmoney:this.sqmoney,gids:this.gids,isAllselected:this.isAllselected,tktype:this.tktype,tuiksls:this.tuiksls});\r\n\t\t\t\tif(reinfo.code==1){\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:reinfo.msg,icon:'none'\r\n\t\t\t\t\t})\r\n\t\t\t\t\tuni.redirectTo({\r\n\t\t\t\t\t\turl:\"/pages/orderlist/orderlist?state=\"+this.index\r\n\t\t\t\t\t})\r\n\t\t\t\t}else{\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:reinfo.msg,icon:'none'\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\ttosq(){\r\n\t\t\t\tlet t=this;\r\n\t\t\t\t// console.log(Number((parseFloat(this.sqmoney*100)/100).toFixed(2))+'---'+Number((parseFloat(this.goodsPrice*100)/100).toFixed(2)))\r\n\t\t\t\t//this.sqmoney=parseInt(this.sqmoney).toFixed(2)\r\n\t\t\t\tif(Number((parseFloat(this.sqmoney*100)/100).toFixed(2))>Number((parseFloat(this.goodsPrice*100)/100).toFixed(2))){\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:'申请金额:'+Number((parseFloat(this.sqmoney*100)/100).toFixed(2))+',最多申请'+Number((parseFloat(this.goodsPrice*100)/100).toFixed(2))+'元',icon:'none'\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}else if(this.sqmoney<=0){\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:'请填申请金额',icon:'none'\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}else if(this.gids==''){\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:'请选择商品',icon:'none'\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}else if(this.tuiksls==''){\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:'请选择退货数量',icon:'none'\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tuni.showModal({\r\n\t\t\t\t title: '温馨提示',\r\n\t\t\t\t content: '是否申请退货'+t.sqmoney+'元?',\r\n\t\t\t\t success: function (res) {\r\n\t\t\t\t if (res.confirm) {\r\n\t\t\t\t\t\t\tuni.showLoading({\r\n\t\t\t\t\t\t\t\ttitle:'正在申请...'\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t t.sqtuik(t.dhid)\r\n\t\t\t\t } else if (res.cancel) {\r\n\t\t\t\t console.log(t.gids,'用户点击取消');\r\n\t\t\t\t }\r\n\t\t\t\t }\r\n\t\t\t\t});\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\t// 选中商品\r\n\t\t\tselected(index){\r\n\t\t\t\tthis.buylist[index].selected = this.buylist[index].selected?false:true;\r\n\t\t\t\tlet i = this.selectedList.indexOf(this.buylist[index].id);\r\n\t\t\t\ti>-1?this.selectedList.splice(i, 1):this.selectedList.push(this.buylist[index].id);\r\n\t\t\t\tthis.isAllselected = this.selectedList.length == this.buylist.length;\r\n\t\t\t\tthis.sum();\r\n\t\t\t},\r\n\t\t\t//全选\r\n\t\t\tallSelect(){\r\n\t\t\t\tlet len = this.buylist.length;\r\n\t\t\t\tlet arr = [];\r\n\t\t\t\tfor(let i=0;i<len;i++){\r\n\t\t\t\t\tthis.buylist[i].selected = this.isAllselected? false : true;\r\n\t\t\t\t\tarr.push(this.buylist[i].id);\r\n\t\t\t\t}\r\n\t\t\t\tthis.selectedList = this.isAllselected?[]:arr;\r\n\t\t\t\tthis.isAllselected = this.isAllselected||this.buylist.length==0?false : true;\r\n\t\t\t\tthis.sum();\r\n\t\t\t},\r\n\t\t\t// 合计\r\n\t\t\tsum(){\r\n\t\t\t\tthis.sqmoney=0;\r\n\t\t\t\tlet len = this.buylist.length;\r\n\t\t\t\tlet gids='';let cpsl='';\r\n\t\t\t\tfor(let i=0;i<len;i++){\r\n\t\t\t\t\tlet tuiksl=this.buylist[i].tuiksl==''?0:this.buylist[i].tuiksl;\r\n\t\t\t\t\ttuiksl=tuiksl==NaN?0:tuiksl;\r\n\t\t\t\t\tif(this.buylist[i].selected && tuiksl>0) {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tthis.sqmoney=parseFloat(this.sqmoney*100)/100+parseFloat((this.buylist[i].price*tuiksl)*100)/100;\r\n\t\t\t\t\t\tgids+=','+this.buylist[i].id;\r\n\t\t\t\t\t\tcpsl+=','+tuiksl;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tthis.sqmoney=parseFloat(this.sqmoney).toFixed(2)\r\n\t\t\t\tthis.gids=gids.substr(1);\r\n\t\t\t\tthis.tuiksls=cpsl.substr(1);\r\n\t\t\t},\r\n\t\t\t\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n.buy-list{\r\n\twidth: 86%;\r\n\tpadding: 10upx 3%;\r\n\tmargin: 30upx auto 20upx auto;\r\n\tbox-shadow: 0upx 5upx 20upx rgba(0,0,0,0.1);\r\n\tborder-radius: 20upx;\r\n\t.list_top{\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\tpadding: 10upx;\r\n\t\t.tip{\r\n\t\t\tcolor: #A2A2A2;\r\n\t\t\tfont-size: 30upx;\r\n\t\t}\r\n\t}\r\n\t// 选择框样式\r\n\t.checkbox-box{\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\t.checkbox{\r\n\t\t\twidth: 35upx;\r\n\t\t\theight: 35upx;\r\n\t\t\tborder-radius: 100%;\r\n\t\t\tborder: solid 2upx #f06c7a;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\t.on{\r\n\t\t\t\twidth: 25upx;\r\n\t\t\t\theight: 25upx;\r\n\t\t\t\tborder-radius: 100%;\r\n\t\t\t\tbackground-color: #f06c7a;\r\n\t\t\t}\r\n\t\t}\r\n\t\t.text{\r\n\t\t\tfont-size: 28upx;\r\n\t\t\tmargin-left: 10upx;\r\n\t\t}\r\n\t}\r\n\t.row{\r\n\t\tmargin: 30upx 0;\r\n\t\t\r\n\t\t.goods-info{\r\n\t\t\twidth: 100%;\r\n\t\t\tdisplay: flex;\r\n\t\t\tborder-bottom: 1upx solid #E0E0E0;\r\n\t\t\tpadding-bottom: 15upx;\r\n\t\t\t.img{\r\n\t\t\t\twidth: 22vw;\r\n\t\t\t\theight: 22vw;\r\n\t\t\t\tborder-radius: 10upx;\r\n\t\t\t\toverflow: hidden;\r\n\t\t\t\tflex-shrink: 0;\r\n\t\t\t\tmargin-right: 10upx;\r\n\t\t\t\timage{\r\n\t\t\t\t\twidth: 22vw;\r\n\t\t\t\t\theight: 22vw;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.info{\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 22vw;\r\n\t\t\t\toverflow: hidden;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tflex-wrap: wrap;\r\n\t\t\t\tposition: relative;\r\n\t\t\t\t.title{\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\tfont-size: 28upx;\r\n\t\t\t\t\tdisplay: -webkit-box;\r\n\t\t\t\t\t-webkit-box-orient: vertical;\r\n\t\t\t\t\t-webkit-line-clamp: 2;\r\n\t\t\t\t\t// text-align: justify;\r\n\t\t\t\t\toverflow: hidden;\r\n\t\t\t\t}\r\n\t\t\t\t.spec{\r\n\t\t\t\t\tfont-size: 22upx;\r\n\t\t\t\t\tbackground-color: #f3f3f3;\r\n\t\t\t\t\tcolor: #a7a7a7;\r\n\t\t\t\t\theight: 40upx;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\tpadding: 0 10upx;\r\n\t\t\t\t\tborder-radius: 20upx;\r\n\t\t\t\t\t// margin-bottom: 20vw;\r\n\t\t\t\t\tmargin-top: 10vm;\r\n\t\t\t\t}\r\n\t\t\t\t.foodnum{\r\n\t\t\t\t\tfont-size: 26upx;\r\n\t\t\t\t\theight: 40upx;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\tpadding: 0 10upx;\r\n\t\t\t\t\tmargin-bottom: 10vw;\r\n\t\t\t\t\tdisplay: block;\r\n\t\t\t\t\tcolor: #999;\r\n\t\t\t\t\tpadding-top: 10rpx;\r\n\t\t\t\t}\r\n\t\t\t\t.price-number{\r\n\t\t\t\t\tposition: absolute;\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\tbottom: 0upx;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\talign-items: flex-end;\r\n\t\t\t\t\tfont-size: 28upx;\r\n\t\t\t\t\theight: 40upx;\r\n\t\t\t\t\t.price{\r\n\t\t\t\t\t\tcolor: #f06c7a;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.number{\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t.input {\r\n\t\t\t\t\twidth: 100upx;\r\n\t\t\t\t\theight: 45upx;\r\n\t\t\t\t\tmargin: 0 10upx;\r\n\t\t\t\t\t// background-color: #f3f3f3;\r\n\t\t\t\t\tborder-bottom: 1upx #ADADAD solid;\r\n\t\t\t\t\r\n\t\t\t\t\tinput {\r\n\t\t\t\t\t\twidth: 80upx;\r\n\t\t\t\t\t\theight: 40upx;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\ttext-align: center;\r\n\t\t\t\t\t\tfont-size: 26upx;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n.order{\r\n\twidth: 86%;\r\n\tpadding: 10upx 3%;\r\n\tmargin: 30upx auto 20upx auto;\r\n\tbox-shadow: 0upx 5upx 20upx rgba(0,0,0,0.1);\r\n\tborder-radius: 20upx;\r\n\t.row{\r\n\t\tmargin: 20upx 0;\r\n\t\theight: 40upx;\r\n\t\tdisplay: flex;\r\n\t\t.left{\r\n\t\t\tfont-size: 28upx;\r\n\t\t}\r\n\t\t.right{\r\n\t\t\tmargin-left: 40upx;\r\n\t\t\tfont-size: 26upx;\r\n\t\t\tcolor: #999;\r\n\t\t\tinput{\r\n\t\t\t\tfont-size: 26upx;\r\n\t\t\t\tcolor: #999;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n.blck{\r\n\twidth: 100%;\r\n\theight: 100upx;\r\n}\r\n.footer{\r\n\t\twidth: 100%;\r\n\t\tpadding: 0 4%;\r\n\t\tbackground-color: #fbfbfb;\r\n\t\theight: 100upx;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: flex-end;\r\n\t\talign-items: center;\r\n\t\tfont-size: 28upx;\r\n\t\tposition: fixed;\r\n\t\tbottom: 0upx;\r\n\t\tz-index: 5;\r\n\t\t\r\n\t\t.settlement{\r\n\t\t\twidth: 80%;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: flex-end;\r\n\t\t\talign-items: center;\r\n\t\t\t.sum{\r\n\t\t\t\twidth: 50%;\r\n\t\t\t\tfont-size: 28upx;\r\n\t\t\t\tmargin-right: 10upx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tjustify-content: flex-end;\r\n\t\t\t\t.money{\r\n\t\t\t\t\tfont-weight: 600;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.btn{\r\n\t\t\t\tpadding: 0 30upx;\r\n\t\t\t\theight: 60upx;\r\n\t\t\t\tbackground-color: #f06c7a;\r\n\t\t\t\tcolor: #fff;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tfont-size: 30upx;\r\n\t\t\t\tborder-radius: 40upx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n.detail{\r\n\twidth: 86%;\r\n\tpadding: 10upx 3%;\r\n\tmargin: 30upx auto 20upx auto;\r\n\tbox-shadow: 0upx 5upx 20upx rgba(0,0,0,0.1);\r\n\tborder-radius: 20upx;\r\n\t.row{\r\n\t\theight: 60upx;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\talign-items: center;\r\n\t\t.nominal{\r\n\t\t\tfont-size: 28upx;\r\n\t\t}\r\n\t\t.content{\r\n\t\t\tfont-size: 26upx;\r\n\t\t\tcolor: #f06c7a;\r\n\t\t}\r\n\t}\r\n}\r\n</style>\r\n","import mod from \"-!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./refund2.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\软件\\\\HBuilder X\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./refund2.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1720092620872\n var cssReload = require(\"F:/软件/HBuilder X/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"/\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}