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
41 KiB
1 lines
41 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-incomeExpenditureDetail","pages-Information-Information~pages-OrderDetails-OrderDetails~pages-warehouse-buy"],{"02d9":function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 主要颜色 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.info[data-v-4e9512d7]{padding:10px 0 20px 10px;background:#fff}.info .title[data-v-4e9512d7]{text-align:center;color:#e0e00e;margin-bottom:10px}.ping-zheng[data-v-4e9512d7]{margin-top:20px;background-color:#fff;text-align:center;padding:30px 0}.single-page[data-v-4e9512d7]{background-color:#f5f5f5;padding:%?24?%}.single-page .tabs[data-v-4e9512d7]{height:%?80?%;background-color:#236030;padding:%?6?%;border-radius:5px;display:flex}.single-page .tabs .tabsItem[data-v-4e9512d7]{flex:1;text-align:center;line-height:%?70?%;font-size:%?26?%;color:#fff}.single-page .tabs .active[data-v-4e9512d7]{background-color:#fff;font-size:%?30?%;font-weight:700;border-radius:5px;color:#236030}.single-page .yhk[data-v-4e9512d7]{width:100%;background-color:#fff;margin-top:%?20?%;border-radius:10px}.single-page .yhk .list-input[data-v-4e9512d7]{display:flex;align-items:center;padding:0 4%;height:%?100?%;border-bottom:%?2?% solid #f6f6f6}.single-page .yhk .list-input .title[data-v-4e9512d7]{display:flex;align-items:center;width:30%;height:100%}.single-page .yhk .list-input .title uni-text[data-v-4e9512d7]{color:#236030;font-size:%?26?%}.single-page .yhk .list-input uni-image[data-v-4e9512d7]{margin-left:%?10?%;width:%?30?%;height:auto}.single-page .yhk .list-input .content[data-v-4e9512d7]{display:flex;align-items:center;width:70%;height:100%;justify-content:space-between}.single-page .yhk .list-input .content uni-input[data-v-4e9512d7]{width:100%;height:100%;font-size:%?26?%;color:#222}.single-page .yhk .yzmBtn[data-v-4e9512d7]{background:#236030;color:#fff;margin-bottom:5px;padding:0;width:126px;overflow:hidden;font-size:14px;height:38px;line-height:38px;color:#fff;text-align:center;border-radius:%?10?%}.single-page .saveBtn[data-v-4e9512d7]{background:#236030;color:#fff;border:1px solid #236030;overflow:hidden;font-size:%?28?%;height:44px;line-height:44px;text-align:center;border-radius:%?10?%;margin-top:%?50?%}.single-page .input-info[data-v-4e9512d7]{padding:0 6%}.single-page .input-info .info[data-v-4e9512d7]{display:flex;align-items:center;justify-content:space-between;width:100%;height:%?100?%;border-bottom:%?2?% solid #f6f6f6}.single-page .input-info .info uni-input[data-v-4e9512d7]{width:70%;height:100%;font-size:%?26?%;color:#222}.single-page .input-info .info .more[data-v-4e9512d7]{display:flex;align-items:center;justify-content:flex-end;width:30%;height:100%}.single-page .input-info .info .more .iconfont[data-v-4e9512d7]{font-size:%?34?%}.single-page .input-info .info .more .mo[data-v-4e9512d7]{font-size:%?26?%;padding-left:%?20?%;margin-left:%?10?%;border-left:%?2?% solid #eee}.zfb[data-v-4e9512d7]{text-align:center}.zfb uni-image[data-v-4e9512d7]{width:%?200?%;height:%?200?%;margin:%?100?% auto}.zfb .mesInfo[data-v-4e9512d7]{margin-top:%?26?%;font-size:%?26?%;color:#999}.other-btn[data-v-4e9512d7]{width:75px!important;height:30px!important;font-size:13px!important;line-height:30px!important;position:absolute!important;right:10px;top:10px!important;margin-top:0!important}',""]),e.exports=t},"1b85":function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 主要颜色 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.info[data-v-383555cf]{padding:10px 0 20px 10px;background:#fff}.info .title[data-v-383555cf]{text-align:center;color:#e0e00e;margin-bottom:10px}.ping-zheng[data-v-383555cf]{margin-top:20px;background-color:#fff;text-align:center;padding:30px 0}.page[data-v-383555cf]{min-height:calc(100vh - 45px);background-color:#f5f5f5;padding:%?24?%}.page .tabs[data-v-383555cf]{height:%?80?%;background-color:#236030;padding:%?6?%;border-radius:5px;display:flex}.page .tabs .tabsItem[data-v-383555cf]{flex:1;text-align:center;line-height:%?70?%;font-size:%?26?%;color:#fff}.page .tabs .active[data-v-383555cf]{background-color:#fff;font-size:%?30?%;font-weight:700;border-radius:5px;color:#236030}.page .yhk[data-v-383555cf]{width:100%;background-color:#fff;margin-top:%?20?%;border-radius:10px}.page .yhk .list-input[data-v-383555cf]{display:flex;align-items:center;padding:0 4%;height:%?100?%;border-bottom:%?2?% solid #f6f6f6}.page .yhk .list-input .title[data-v-383555cf]{display:flex;align-items:center;width:30%;height:100%}.page .yhk .list-input .title uni-text[data-v-383555cf]{color:#236030;font-size:%?26?%}.page .yhk .list-input uni-image[data-v-383555cf]{margin-left:%?10?%;width:%?30?%;height:auto}.page .yhk .list-input .content[data-v-383555cf]{display:flex;align-items:center;width:70%;height:100%;justify-content:space-between}.page .yhk .list-input .content uni-input[data-v-383555cf]{width:100%;height:100%;font-size:%?26?%;color:#222}.page .yhk .yzmBtn[data-v-383555cf]{background:#236030;color:#fff;margin-bottom:5px;padding:0;width:126px;overflow:hidden;font-size:14px;height:38px;line-height:38px;color:#fff;text-align:center;border-radius:%?10?%}.page .saveBtn[data-v-383555cf]{background:#236030;color:#fff;border:1px solid #236030;overflow:hidden;font-size:%?28?%;height:44px;line-height:44px;text-align:center;border-radius:%?10?%;margin-top:%?50?%}.page .input-info[data-v-383555cf]{padding:0 6%}.page .input-info .info[data-v-383555cf]{display:flex;align-items:center;justify-content:space-between;width:100%;height:%?100?%;border-bottom:%?2?% solid #f6f6f6}.page .input-info .info uni-input[data-v-383555cf]{width:70%;height:100%;font-size:%?26?%;color:#222}.page .input-info .info .more[data-v-383555cf]{display:flex;align-items:center;justify-content:flex-end;width:30%;height:100%}.page .input-info .info .more .iconfont[data-v-383555cf]{font-size:%?34?%}.page .input-info .info .more .mo[data-v-383555cf]{font-size:%?26?%;padding-left:%?20?%;margin-left:%?10?%;border-left:%?2?% solid #eee}.zfb[data-v-383555cf]{text-align:center}.zfb uni-image[data-v-383555cf]{width:%?200?%;height:%?200?%;margin:%?100?% auto}.zfb .mesInfo[data-v-383555cf]{margin-top:%?26?%;font-size:%?26?%;color:#999}.other-btn[data-v-383555cf]{width:75px!important;height:30px!important;font-size:13px!important;line-height:30px!important;position:absolute!important;right:10px;top:10px!important;margin-top:0!important}',""]),e.exports=t},"1fc7":function(e,t,i){"use strict";i.r(t);var a=i("cd31"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);t["default"]=n.a},"216c":function(e,t,i){"use strict";i.r(t);var a=i("ea0d"),n=i("1fc7");for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);i("2e3d");var s=i("f0c5"),u=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"5f2310ee",null,!1,a["a"],void 0);t["default"]=u.exports},"2b3e":function(e,t,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(i("c7eb")),o=a(i("5530")),s=a(i("1da1"));i("d3b7"),i("159b"),i("a434"),i("99af"),i("d81d"),i("14d9");var u=i("5d56"),r=i("4838"),l=a(i("58a4")),c={data:function(){return{finishImageList:[],fileList1:[],num:0,id:null,show:!1,content:"",activeIndex:1,list4:[{name:"银行卡",id:1},{name:"支付宝",id:2},{name:"微信",id:3}],yhk:{bank_realname:null,bank_mobile:null,bank_no:null,bank_address:null},pingzhengUrl:"",wxurl:"",incomeDetail:"",incomeList:""}},onShow:function(){this.getOrderDetails()},components:{SingleIncome:l.default},methods:{submit:function(e){var t=this;(0,r.submitPingzheng)(e).then((function(i){console.log(i,"res"),1===i.code&&(t.$refs.uToast.show({message:"已上传"}),t.incomeList.forEach((function(i,a){i.id===e.id&&t.incomeList.splice(a,1)})))}))},uploadPingzheng:function(){this.finishImageList=[],this.$refs.upload.chooseFile()},afterRead:function(e){var t=this;return(0,s.default)((0,n.default)().mark((function i(){var a,s;return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:a=[].concat(e.file),t["fileList".concat(e.name)].length,a.map((function(i){t["fileList".concat(e.name)].push((0,o.default)((0,o.default)({},i),{},{status:"uploading",message:"上传中"}))})),s=0;case 4:if(!(s<a.length)){i.next=11;break}return i.next=7,t.uploadFilePromise(a[s].url);case 7:i.sent;case 8:s++,i.next=4;break;case 11:case"end":return i.stop()}}),i)})))()},uploadFilePromise:function(e){var t=this;return uni.showLoading({title:"上传中"}),new Promise((function(i,a){uni.uploadFile({url:t.baseUrl+"api/common/upload",filePath:e,name:"file",header:{token:(0,u.getToken)()},formData:{},success:function(e){1==JSON.parse(e.data).code?setTimeout((function(){uni.hideLoading(),t.finishImageList=[{url:JSON.parse(e.data).data.fullurl,path:JSON.parse(e.data).data.url}],console.log(t.finishImageList,"this.finishImageList"),i(e.data)}),1e3):(uni.hideLoading(),uni.$u.toast(JSON.parse(e.data).msg),i(e.data))},fail:function(e){uni.hideLoading(),console.log(e,"rrr")}})}))},sureIncome:function(e){var t=this;(0,r.confirmPay)(e).then((function(i){1===i.code&&(t.$refs.uToast.show({message:"确认收款"}),t.incomeList.forEach((function(i,a){i.id===e.id&&t.incomeList.splice(a,1)})))}))},lookPic:function(){uni.previewImage({urls:[this.incomeDetail.pay_voucher],success:function(e){}})},getPay:function(e){this.activeIndex=e.id},onCopyResult:function(e){"success"===e?this.$refs.uToast.show({message:"复制成功"}):this.$refs.uToast.show({message:"复制失败"})},getOrderDetails:function(){var e=this;(0,r.incomeDetail)({custom:{auth:!0}}).then((function(t){console.log(t,"res"),t.data.length>0?(e.incomeList=t.data,e.incomeDetail=t.data[0],e.incomeDetail.pay_voucher&&(e.finishImageList=[{url:e.incomeDetail.pay_voucher,path:e.incomeDetail.pay_voucher}])):(e.incomeList=[],e.incomeDetail={})}))},close:function(){this.show=!1},getText:function(){var e=this;(0,r.privacyPolicy)({id:4}).then((function(t){e.content=t.data.content}))}},destroyed:function(){},watch:{}};t.default=c},"2e3d":function(e,t,i){"use strict";var a=i("ff5f"),n=i.n(a);n.a},"57ae":function(e,t,i){"use strict";var a=i("fd6f"),n=i.n(a);n.a},"58a4":function(e,t,i){"use strict";i.r(t);var a=i("c078"),n=i("773d");for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);i("b6ab");var s=i("f0c5"),u=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"4e9512d7",null,!1,a["a"],void 0);t["default"]=u.exports},"59fa":function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 主要颜色 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-5f2310ee], uni-scroll-view[data-v-5f2310ee], uni-swiper-item[data-v-5f2310ee]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-upload[data-v-5f2310ee]{display:flex;flex-direction:column;flex:1}.u-upload__wrap[data-v-5f2310ee]{display:flex;flex-direction:row;flex-wrap:wrap;flex:1}.u-upload__wrap__preview[data-v-5f2310ee]{border-radius:2px;margin:0 8px 8px 0;position:relative;overflow:hidden;display:flex;flex-direction:row}.u-upload__wrap__preview__image[data-v-5f2310ee]{width:80px;height:80px}.u-upload__wrap__preview__other[data-v-5f2310ee]{width:80px;height:80px;background-color:#f2f2f2;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center}.u-upload__wrap__preview__other__text[data-v-5f2310ee]{font-size:11px;color:#909193;margin-top:2px}.u-upload__deletable[data-v-5f2310ee]{position:absolute;top:0;right:0;background-color:#373737;height:14px;width:14px;display:flex;flex-direction:row;border-bottom-left-radius:100px;align-items:center;justify-content:center;z-index:3}.u-upload__deletable__icon[data-v-5f2310ee]{position:absolute;-webkit-transform:scale(.7);transform:scale(.7);top:0;right:0;top:1px;right:0}.u-upload__success[data-v-5f2310ee]{position:absolute;bottom:0;right:0;display:flex;flex-direction:row;border-style:solid;border-top-color:transparent;border-left-color:transparent;border-bottom-color:#5ac725;border-right-color:#5ac725;border-width:9px;align-items:center;justify-content:center}.u-upload__success__icon[data-v-5f2310ee]{position:absolute;-webkit-transform:scale(.7);transform:scale(.7);bottom:-10px;right:-10px}.u-upload__status[data-v-5f2310ee]{position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.5);display:flex;flex-direction:column;align-items:center;justify-content:center}.u-upload__status__icon[data-v-5f2310ee]{position:relative;z-index:1}.u-upload__status__message[data-v-5f2310ee]{font-size:12px;color:#fff;margin-top:5px}.u-upload__button[data-v-5f2310ee]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:80px;height:80px;background-color:#f4f5f7;border-radius:2px;margin:0 8px 8px 0;box-sizing:border-box}.u-upload__button__text[data-v-5f2310ee]{font-size:11px;color:#909193;margin-top:2px}.u-upload__button--hover[data-v-5f2310ee]{background-color:#e6e7e9}.u-upload__button--disabled[data-v-5f2310ee]{opacity:.5}',""]),e.exports=t},"5b2c":function(e,t,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.chooseFile=function(e){var t=e.accept,i=e.multiple,a=e.capture,u=e.compressed,r=e.maxDuration,l=e.sizeType,c=e.camera,d=e.maxCount;return new Promise((function(e,p){switch(t){case"image":uni.chooseImage({count:i?Math.min(d,9):1,sourceType:a,sizeType:l,success:function(t){return e(function(e){return e.tempFiles.map((function(e){return(0,n.default)((0,n.default)({},o(e,["path"])),{},{type:"image",url:e.path,thumb:e.path,size:e.size,name:e.name})}))}(t))},fail:p});break;case"video":uni.chooseVideo({sourceType:a,compressed:u,maxDuration:r,camera:c,success:function(t){return e(function(e){return[(0,n.default)((0,n.default)({},o(e,["tempFilePath","thumbTempFilePath","errMsg"])),{},{type:"video",url:e.tempFilePath,thumb:e.thumbTempFilePath,size:e.size,name:e.name})]}(t))},fail:p});break;case"file":uni.chooseFile({count:i?d:1,type:t,success:function(t){return e(s(t))},fail:p});break;default:uni.chooseFile({count:i?d:1,type:"all",success:function(t){return e(s(t))},fail:p})}}))};var n=a(i("5530"));function o(e,t){return["[object Object]","[object File]"].includes(Object.prototype.toString.call(e))?Object.keys(e).reduce((function(i,a){return t.includes(a)||(i[a]=e[a]),i}),{}):{}}function s(e){return e.tempFiles.map((function(e){return(0,n.default)((0,n.default)({},o(e,["path"])),{},{url:e.path,size:e.size,name:e.name,type:e.type})}))}i("caad"),i("d3b7"),i("13d5"),i("b64b"),i("2532"),i("d81d")},"5eb9":function(e,t,i){var a=i("02d9");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("4f06").default;n("161941b2",a,!0,{sourceMap:!1,shadowMode:!1})},"6ca0":function(e,t,i){"use strict";i("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("a9e3");var a={props:{accept:{type:String,default:uni.$u.props.upload.accept},capture:{type:[String,Array],default:uni.$u.props.upload.capture},compressed:{type:Boolean,default:uni.$u.props.upload.compressed},camera:{type:String,default:uni.$u.props.upload.camera},maxDuration:{type:Number,default:uni.$u.props.upload.maxDuration},uploadIcon:{type:String,default:uni.$u.props.upload.uploadIcon},uploadIconColor:{type:String,default:uni.$u.props.upload.uploadIconColor},useBeforeRead:{type:Boolean,default:uni.$u.props.upload.useBeforeRead},afterRead:{type:Function,default:null},beforeRead:{type:Function,default:null},previewFullImage:{type:Boolean,default:uni.$u.props.upload.previewFullImage},maxCount:{type:[String,Number],default:uni.$u.props.upload.maxCount},disabled:{type:Boolean,default:uni.$u.props.upload.disabled},imageMode:{type:String,default:uni.$u.props.upload.imageMode},name:{type:String,default:uni.$u.props.upload.name},sizeType:{type:Array,default:uni.$u.props.upload.sizeType},multiple:{type:Boolean,default:uni.$u.props.upload.multiple},deletable:{type:Boolean,default:uni.$u.props.upload.deletable},maxSize:{type:[String,Number],default:uni.$u.props.upload.maxSize},fileList:{type:Array,default:uni.$u.props.upload.fileList},uploadText:{type:String,default:uni.$u.props.upload.uploadText},width:{type:[String,Number],default:uni.$u.props.upload.width},height:{type:[String,Number],default:uni.$u.props.upload.height},previewImage:{type:Boolean,default:uni.$u.props.upload.previewImage}}};t.default=a},"71fe":function(e,t,i){"use strict";i.r(t);var a=i("9157"),n=i("82eb");for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);i("57ae");var s=i("f0c5"),u=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"383555cf",null,!1,a["a"],void 0);t["default"]=u.exports},7372:function(e,t,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("99af"),i("d81d"),i("14d9"),i("d3b7");var n=a(i("c7eb")),o=a(i("5530")),s=a(i("1da1")),u=i("5d56"),r=i("4838"),l={data:function(){return{finishImageList:[],fileList1:[],num:0,id:null,show:!1,content:"",activeIndex:1,list4:[{name:"银行卡",id:1},{name:"支付宝",id:2},{name:"微信",id:3}],yhk:{bank_realname:null,bank_mobile:null,bank_no:null,bank_address:null},pingzhengUrl:"",wxurl:""}},props:{incomeDetail:{type:Object,defalut:function(){}}},onShow:function(){this.getOrderDetails()},methods:{submit:function(){0!==this.finishImageList.length?this.$emit("submit",{id:this.incomeDetail.id,pay_voucher:this.finishImageList[0].url}):this.$refs.uToast.show({message:"请上传支付凭证"})},uploadPingzheng:function(){this.finishImageList=[],this.$refs.upload.chooseFile()},afterRead:function(e){var t=this;return(0,s.default)((0,n.default)().mark((function i(){var a,s;return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:a=[].concat(e.file),t["fileList".concat(e.name)].length,a.map((function(i){t["fileList".concat(e.name)].push((0,o.default)((0,o.default)({},i),{},{status:"uploading",message:"上传中"}))})),s=0;case 4:if(!(s<a.length)){i.next=11;break}return i.next=7,t.uploadFilePromise(a[s].url);case 7:i.sent;case 8:s++,i.next=4;break;case 11:case"end":return i.stop()}}),i)})))()},uploadFilePromise:function(e){var t=this;return uni.showLoading({title:"上传中"}),new Promise((function(i,a){uni.uploadFile({url:t.baseUrl+"api/common/upload",filePath:e,name:"file",header:{token:(0,u.getToken)()},formData:{},success:function(e){1==JSON.parse(e.data).code?setTimeout((function(){uni.hideLoading(),t.finishImageList=[{url:JSON.parse(e.data).data.fullurl,path:JSON.parse(e.data).data.url}],console.log(t.finishImageList,"this.finishImageList"),i(e.data)}),1e3):(uni.hideLoading(),uni.$u.toast(JSON.parse(e.data).msg),i(e.data))},fail:function(e){uni.hideLoading(),console.log(e,"rrr")}})}))},sureIncome:function(){this.$emit("sureIncome",{id:this.incomeDetail.id})},lookPic:function(){uni.previewImage({urls:[this.incomeDetail.pay_voucher],success:function(e){}})},getPay:function(e){this.activeIndex=e.id},onCopyResult:function(e){"success"===e?this.$refs.uToast.show({message:"复制成功"}):this.$refs.uToast.show({message:"复制失败"})},getOrderDetails:function(){var e=this;(0,r.incomeDetail)({custom:{auth:!0}}).then((function(t){console.log(t,"res"),t.data.length>0?(e.incomeDetail=t.data[0],e.incomeDetail.pay_voucher&&(e.finishImageList=[{url:e.incomeDetail.pay_voucher,path:e.incomeDetail.pay_voucher}])):e.incomeDetail={}}))},close:function(){this.show=!1},getText:function(){var e=this;(0,r.privacyPolicy)({id:4}).then((function(t){e.content=t.data.content}))}},destroyed:function(){},watch:{}};t.default=l},"773d":function(e,t,i){"use strict";i.r(t);var a=i("7372"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);t["default"]=n.a},"82eb":function(e,t,i){"use strict";i.r(t);var a=i("2b3e"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);t["default"]=n.a},9157:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){return a}));var a={uPopup:i("b511").default,uParse:i("2172").default,uToast:i("69dd").default},n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return""!==e.incomeList?i("v-uni-view",{staticClass:"page"},[0===e.incomeList.length?i("v-uni-view",{staticStyle:{"text-align":"center","padding-top":"40vh"}},[e._v("暂无数据")]):e._e(),e._l(e.incomeList,(function(t){return i("v-uni-view",{key:t.id},[i("SingleIncome",{attrs:{incomeDetail:t},on:{submit:function(t){arguments[0]=t=e.$handleEvent(t),e.submit.apply(void 0,arguments)},sureIncome:function(t){arguments[0]=t=e.$handleEvent(t),e.sureIncome.apply(void 0,arguments)}}})],1)})),i("u-popup",{attrs:{show:e.show,mode:"bottom",round:"10"},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)}}},[i("v-uni-view",{staticStyle:{padding:"24rpx","max-height":"calc(60vh)",overflow:"auto"}},[i("u-parse",{staticStyle:{"margin-top":"45px"},attrs:{content:e.content}})],1)],1),i("u-toast",{ref:"uToast"})],2):e._e()},o=[]},b6ab:function(e,t,i){"use strict";var a=i("5eb9"),n=i.n(a);n.a},c078:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){return a}));var a={uUpload:i("216c").default,uPopup:i("b511").default,uParse:i("2172").default,uToast:i("69dd").default},n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return""!==e.incomeDetail?a("v-uni-view",{staticClass:"single-page"},[e.incomeDetail.id?e._e():a("v-uni-view",{staticStyle:{"text-align":"center","padding-top":"40vh"}},[e._v("暂无数据")]),2===e.incomeDetail.type?a("v-uni-view",{staticClass:"info",staticStyle:{padding:"10px 0 10px 10px",position:"relative"}},[a("v-uni-view",{staticStyle:{"padding-bottom":"5px"}},[e._v("付款人:"+e._s(e.incomeDetail.buyer.nickname))]),a("v-uni-view",{staticStyle:{"padding-bottom":"5px"}},[e._v("联系电话:"+e._s(e.incomeDetail.buyer.mobile))]),a("v-uni-view",[e._v("付款金额:"+e._s(e.incomeDetail.amount)+"元")]),e.incomeDetail.pay_voucher?a("v-uni-view",{staticClass:"saveBtn other-btn",staticStyle:{"background-color":"orange",border:"0"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.lookPic.apply(void 0,arguments)}}},[e._v("支付凭证")]):e._e(),e.incomeDetail.pay_voucher?a("v-uni-view",{staticClass:"saveBtn other-btn",staticStyle:{top:"50px !important"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.sureIncome.apply(void 0,arguments)}}},[e._v("确认收款")]):a("v-uni-view",{staticClass:"saveBtn other-btn",staticStyle:{top:"50px !important"}},[e._v("待付款")])],1):e._e(),1===e.incomeDetail.type?a("v-uni-view",{staticClass:"info"},[a("v-uni-view",[e._v("收款人:"+e._s(e.incomeDetail.seller.nickname)),a("v-uni-text",{staticStyle:{"padding-left":"30px"}},[e._v("付款金额:"+e._s(e.incomeDetail.amount)+"元")])],1)],1):e._e(),1===e.incomeDetail.type?a("v-uni-view",{staticClass:"tabs"},e._l(e.list4,(function(t){return a("v-uni-view",{key:t.id,class:e.activeIndex==t.id?"tabsItem active":"tabsItem",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.getPay(t)}}},[e._v(e._s(t.name))])})),1):e._e(),1===e.incomeDetail.type?a("v-uni-view",[a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:1==e.activeIndex,expression:"activeIndex==1"}],staticClass:"yhk"},[a("v-uni-view",{staticClass:"list-input"},[a("v-uni-view",{staticClass:"title"},[a("v-uni-text",[e._v("银行卡姓名")])],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-text",[e._v(e._s(e.incomeDetail.seller.bank_realname))]),a("v-uni-image",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:e.incomeDetail.seller.bank_realname,expression:"incomeDetail.seller.bank_realname",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:function(t){return e.onCopyResult("success")},expression:"(type) => onCopyResult('success')",arg:"success"},{name:"clipboard",rawName:"v-clipboard:error",value:function(t){return e.onCopyResult("error")},expression:"(type) => onCopyResult('error')",arg:"error"}],attrs:{src:i("da5b"),mode:"widthFix"}})],1)],1),a("v-uni-view",{staticClass:"list-input"},[a("v-uni-view",{staticClass:"title"},[a("v-uni-text",[e._v("卡号")])],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-text",[e._v(e._s(e.incomeDetail.seller.bank_no))]),a("v-uni-image",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:e.incomeDetail.seller.bank_no,expression:"incomeDetail.seller.bank_no",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:function(t){return e.onCopyResult("success")},expression:"(type) => onCopyResult('success')",arg:"success"},{name:"clipboard",rawName:"v-clipboard:error",value:function(t){return e.onCopyResult("error")},expression:"(type) => onCopyResult('error')",arg:"error"}],attrs:{src:i("da5b"),mode:"widthFix"}})],1)],1),a("v-uni-view",{staticClass:"list-input"},[a("v-uni-view",{staticClass:"title"},[a("v-uni-text",[e._v("开户行")])],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-text",[e._v(e._s(e.incomeDetail.seller.bank_address))]),a("v-uni-image",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:e.incomeDetail.seller.bank_address,expression:"incomeDetail.seller.bank_address",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:function(t){return e.onCopyResult("success")},expression:"(type) => onCopyResult('success')",arg:"success"},{name:"clipboard",rawName:"v-clipboard:error",value:function(t){return e.onCopyResult("error")},expression:"(type) => onCopyResult('error')",arg:"error"}],attrs:{src:i("da5b"),mode:"widthFix"}})],1)],1),a("v-uni-view",{staticClass:"list-input"},[a("v-uni-view",{staticClass:"title"},[a("v-uni-text",[e._v("支行")])],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-text",[e._v(e._s(e.incomeDetail.seller.bank_sub_address))]),a("v-uni-image",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:e.incomeDetail.seller.bank_sub_address,expression:"incomeDetail.seller.bank_sub_address",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:function(t){return e.onCopyResult("success")},expression:"(type) => onCopyResult('success')",arg:"success"},{name:"clipboard",rawName:"v-clipboard:error",value:function(t){return e.onCopyResult("error")},expression:"(type) => onCopyResult('error')",arg:"error"}],attrs:{src:i("da5b"),mode:"widthFix"}})],1)],1)],1),a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:1!=e.activeIndex,expression:"activeIndex!=1"}],staticClass:"ping-zheng"},[a("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:2==e.activeIndex,expression:"activeIndex==2"}],staticStyle:{width:"60%",height:"110px"},attrs:{src:e.incomeDetail.buyer.alipay_image||"",mode:"aspectFit"}}),a("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:3==e.activeIndex,expression:"activeIndex==3"}],staticStyle:{width:"60%",height:"110px"},attrs:{src:e.incomeDetail.buyer.wechat_image||"",mode:"aspectFit"}}),a("v-uni-view",[e._v("收款码")])],1),a("v-uni-view",{staticClass:"ping-zheng"},[a("u-upload",{ref:"upload",staticStyle:{display:"none"},attrs:{fileList:e.finishImageList,previewFullImage:!1,width:"50",height:"50",name:"1"},on:{afterRead:function(t){arguments[0]=t=e.$handleEvent(t),e.afterRead.apply(void 0,arguments)}}}),e.finishImageList.length>0?a("v-uni-image",{staticStyle:{width:"40%",height:"70px"},attrs:{src:e.finishImageList[0].url,mode:"aspectFit"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadPingzheng.apply(void 0,arguments)}}}):a("v-uni-image",{staticStyle:{width:"40%",height:"70px"},attrs:{src:"/static/image/up_img.png",mode:"aspectFit"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadPingzheng.apply(void 0,arguments)}}}),a("v-uni-view",[e._v("上传凭证")])],1)],1):e._e(),1===e.incomeDetail.type?a("v-uni-view",{staticClass:"saveBtn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submit.apply(void 0,arguments)}}},[e._v("提交")]):e._e(),a("u-popup",{attrs:{show:e.show,mode:"bottom",round:"10"},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)}}},[a("v-uni-view",{staticStyle:{padding:"24rpx","max-height":"calc(60vh)",overflow:"auto"}},[a("u-parse",{staticStyle:{"margin-top":"45px"},attrs:{content:e.content}})],1)],1),a("u-toast",{ref:"uToast"})],1):e._e()},o=[]},cd31:function(e,t,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("d81d"),i("ac1f"),i("00b4"),i("d3b7"),i("4de4");var n=i("5b2c"),o=a(i("d1ba")),s=a(i("6ca0")),u={name:"u-upload",mixins:[uni.$u.mpMixin,uni.$u.mixin,o.default,s.default],data:function(){return{lists:[],isInCount:!0}},watch:{fileList:{immediate:!0,handler:function(){this.formatFileList()}}},methods:{formatFileList:function(){var e=this,t=this.fileList,i=void 0===t?[]:t,a=this.maxCount,n=i.map((function(t){return Object.assign(Object.assign({},t),{isImage:"image"===e.accept||uni.$u.test.image(t.url||t.thumb),isVideo:"video"===e.accept||uni.$u.test.video(t.url||t.thumb),deletable:"boolean"===typeof t.deletable?t.deletable:e.deletable})}));this.lists=n,this.isInCount=n.length<a},chooseFile:function(){var e=this,t=this.maxCount,i=this.multiple,a=this.lists,o=this.disabled;if(!o){var s;try{s=uni.$u.test.array(this.capture)?this.capture:this.capture.split(",")}catch(u){s=[]}(0,n.chooseFile)(Object.assign({accept:this.accept,multiple:this.multiple,capture:s,compressed:this.compressed,maxDuration:this.maxDuration,sizeType:this.sizeType,camera:this.camera},{maxCount:t-a.length})).then((function(t){e.onBeforeRead(i?t:t[0])})).catch((function(t){e.$emit("error",t)}))}},onBeforeRead:function(e){var t=this,i=this.beforeRead,a=this.useBeforeRead,n=!0;uni.$u.test.func(i)&&(n=i(e,this.getDetail())),a&&(n=new Promise((function(i,a){t.$emit("beforeRead",Object.assign(Object.assign({file:e},t.getDetail()),{callback:function(e){e?i():a()}}))}))),n&&(uni.$u.test.promise(n)?n.then((function(i){return t.onAfterRead(i||e)})):this.onAfterRead(e))},getDetail:function(e){return{name:this.name,index:null==e?this.fileList.length:e}},onAfterRead:function(e){var t=this.maxSize,i=this.afterRead,a=Array.isArray(e)?e.some((function(e){return e.size>t})):e.size>t;a?this.$emit("oversize",Object.assign({file:e},this.getDetail())):("function"===typeof i&&i(e,this.getDetail()),this.$emit("afterRead",Object.assign({file:e},this.getDetail())))},deleteItem:function(e){this.$emit("delete",Object.assign(Object.assign({},this.getDetail(e)),{file:this.fileList[e]}))},onPreviewImage:function(e){var t=this;e.isImage&&this.previewFullImage&&uni.previewImage({urls:this.lists.filter((function(e){return"image"===t.accept||uni.$u.test.image(e.url||e.thumb)})).map((function(e){return e.url||e.thumb})),current:e.url||e.thumb,fail:function(){uni.$u.toast("预览图片失败")}})},onPreviewVideo:function(e){if(this.data.previewFullImage){var t=e.currentTarget.dataset.index,i=this.data.lists;wx.previewMedia({sources:i.filter((function(e){return isVideoFile(e)})).map((function(e){return Object.assign(Object.assign({},e),{type:"video"})})),current:t,fail:function(){uni.$u.toast("预览视频失败")}})}},onClickPreview:function(e){var t=e.currentTarget.dataset.index,i=this.data.lists[t];this.$emit("clickPreview",Object.assign(Object.assign({},i),this.getDetail(t)))}}};t.default=u},d1ba:function(e,t,i){"use strict";i("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={watch:{accept:{immediate:!0,handler:function(e){"all"!==e&&"media"!==e||uni.$u.error("只有微信小程序才支持把accept配置为all、media之一")}}}};t.default=a},da5b:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAC8pJREFUeF7tnV2oLmUZhu8dBBqJ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m6WUA8iFJn1qTKWPnAiBjnet33LaAfEDS5/qd3rydAci8fs+xt20BuV/SFXM0WmEfAFIhJa/HbQC5VNKD3u7WrQaQ9eW7DSDnSPrTDlyYt6b+EIC0WlVHtw0gMcvbJH2wznQn7fQUgEzq7yLFtwXkQkl3Srp8ke772eldkq4FkH4CyepkW0Cij/MlfUTSJZLOzWqsSJ0/S/qRpFujXwApkprRZgYgxu7WLQWQ9eULIImZAkiimZ2UApDEIAAk0cxOSgFIYhAAkmhmJ6UAJDEIAEk0s5NSAJIYBIAkmtlJKQBJDAJAEs3spBSAJAYBIIlmdlIKQBKDAJBEMzspBSCJQQBIopmdlAKQxCAAJNHMTkoBSGIQAJJoZielACQxCABJNLOTUgCSGASAJJrZSSkASQwCQBLN7KQUgCQGASCJZnZSCkASgwCQRDM7KQUgiUEASKKZnZQCkMQgACTRzE5KAUhiEACSaGYnpQAkMQgASTSzk1IAkhgEgCSa2UkpAEkMohWQxF1SamIHjn3fxeZRTxO3sJ7yLYCsZ7bMJByIzNkaHQCQRqNWJAMQI0wAMcxaiRRAjCABxDBrJVIAMYIMs26XdJMxBmldBx6SdHHd9ufvPAC5UdId8++aPS7gwClJNy+w37K73DvcxqPebyk7CxpvceCBeN+FpIdbxGiedmD/+ej1kq6RFC9QYVuPA09IilOrT0h6cj3Tmmcm/wfQYXS5EfLBiwAAAABJRU5ErkJggg=="},ea0d:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){return a}));var a={uIcon:i("5b12").default,uLoadingIcon:i("72d4").default},n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"u-upload",style:[e.$u.addStyle(e.customStyle)]},[i("v-uni-view",{staticClass:"u-upload__wrap"},[e.previewImage?e._l(e.lists,(function(t,a){return i("v-uni-view",{key:a,staticClass:"u-upload__wrap__preview"},[t.isImage||t.type&&"image"===t.type?i("v-uni-image",{staticClass:"u-upload__wrap__preview__image",style:[{width:e.$u.addUnit(e.width),height:e.$u.addUnit(e.height)}],attrs:{src:t.thumb||t.url,mode:e.imageMode},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.onPreviewImage(t)}}}):i("v-uni-view",{staticClass:"u-upload__wrap__preview__other"},[i("u-icon",{attrs:{color:"#80CBF9",size:"26",name:t.isVideo||t.type&&"video"===t.type?"movie":"folder"}}),i("v-uni-text",{staticClass:"u-upload__wrap__preview__other__text"},[e._v(e._s(t.isVideo||t.type&&"video"===t.type?"视频":"文件"))])],1),"uploading"===t.status||"failed"===t.status?i("v-uni-view",{staticClass:"u-upload__status"},[i("v-uni-view",{staticClass:"u-upload__status__icon"},["failed"===t.status?i("u-icon",{attrs:{name:"close-circle",color:"#ffffff",size:"25"}}):i("u-loading-icon",{attrs:{size:"22",mode:"circle",color:"#ffffff"}})],1),t.message?i("v-uni-text",{staticClass:"u-upload__status__message"},[e._v(e._s(t.message))]):e._e()],1):e._e(),"uploading"!==t.status&&(e.deletable||t.deletable)?i("v-uni-view",{staticClass:"u-upload__deletable",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.deleteItem(a)}}},[i("v-uni-view",{staticClass:"u-upload__deletable__icon"},[i("u-icon",{attrs:{name:"close",color:"#ffffff",size:"10"}})],1)],1):e._e(),"success"===t.status?i("v-uni-view",{staticClass:"u-upload__success"},[i("v-uni-view",{staticClass:"u-upload__success__icon"},[i("u-icon",{attrs:{name:"checkmark",color:"#ffffff",size:"12"}})],1)],1):e._e()],1)})):e._e(),e.isInCount?[e.$slots.default||e.$slots.$default?i("v-uni-view",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.chooseFile.apply(void 0,arguments)}}},[e._t("default")],2):i("v-uni-view",{staticClass:"u-upload__button",class:[e.disabled&&"u-upload__button--disabled"],style:[{width:e.$u.addUnit(e.width),height:e.$u.addUnit(e.height)}],attrs:{"hover-class":e.disabled?"":"u-upload__button--hover","hover-stay-time":"150"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.chooseFile.apply(void 0,arguments)}}},[i("u-icon",{attrs:{name:e.uploadIcon,size:"26",color:e.uploadIconColor}}),e.uploadText?i("v-uni-text",{staticClass:"u-upload__button__text"},[e._v(e._s(e.uploadText))]):e._e()],1)]:e._e()],2)],1)},o=[]},fd6f:function(e,t,i){var a=i("1b85");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("4f06").default;n("b1cca9e4",a,!0,{sourceMap:!1,shadowMode:!1})},ff5f:function(e,t,i){var a=i("59fa");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("4f06").default;n("48494ded",a,!0,{sourceMap:!1,shadowMode:!1})}}]); |