第一次提交
This commit is contained in:
@@ -1 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["oilDistribution/distribute/distribute"],{"05a8":function(t,n,e){"use strict";(function(t){e("84da");o(e("66fd"));var n=o(e("8d6a"));function o(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=e,t(n.default)}).call(this,e("543d")["createPage"])},"2d45":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return o}));var o={uniIcons:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(e.bind(null,"65b9"))}},i=function(){var t=this,n=t.$createElement;t._self._c;t._isMounted||(t.e0=function(n){2==t.barIndex?t.postData.disAmount=t.receiveData.balance:t.postData.disAmount=t.sendData.balance})},a=[]},3596:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=i(e("2d56"));function i(t){return t&&t.__esModule?t:{default:t}}var a=function(){e.e("components/customPopup").then(function(){return resolve(e("34d2"))}.bind(null,e)).catch(e.oe)},s={components:{popup:a},data:function(){return{postData:{disCompanyId:"",disTagType:"",disType:"",customerId:"",companyId:"",disAmount:""},iShow:{seting:!1},sendData:null,receiveData:null,seleindex:1,barIndex:1,transition:{zIndex:"1",transform:"scale(0.9)",backgroundColor:"#66AFFF"}}},onLoad:function(){var n=this;t.$on("driverfn",(function(t){console.log(t,"司机参数更新"),n.receiveData=t,n.postData.customerId=t.id,n.postData.companyId="",n.postData.disTagType=0==t.companyCustomerNature?"OUTSIDE":"ESELF_SUPPORT"})),t.$on("company",(function(t){console.log(t.type,t),n.receiveData=null,"send"==t.type?(n.sendData=t,n.postData.disCompanyId=t.id):"receive"==t.type&&(n.receiveData=t,n.postData.companyId=t.id,n.postData.customerId="",n.postData.disTagType="SUBCOMPANY"),console.log(t,"公司参数更新")}))},methods:{inputFn:function(n){-1!=this.postData.disAmount.indexOf(".")&&this.postData.disAmount.split(".")[1].length>2&&(t.showToast({title:"最多保留小数点后两位",icon:"none"}),this.$nextTick((function(){this.postData.disAmount=Number(this.postData.disAmount).toFixed(2),console.log(this.postData.disAmount)})))},confirmFn:function(){var n=this;if(2==this.barIndex){if(0==Number(this.receiveData.balance))return void t.showToast({title:"圈回对象账户不能为零",icon:"none"});if(Number(this.postData.disAmount)>Number(this.receiveData.balance))return void t.showToast({title:"输入金额不能大于圈回对象总余额",icon:"none"})}else{if(Number(this.postData.disAmount)>Number(this.sendData.balance))return void t.showToast({title:"输入金额不能大于总余额",icon:"none"});if(0==Number(this.sendData.balance))return void t.showToast({title:"转账方金额不能为零",icon:"none"})}if(0!=Number(this.postData.disAmount)){var e=this;this.postData.disType=1==this.barIndex?1:-1,console.log(this.postData),o.default.oilDistributions(e.postData).then((function(e){2e4===e.code&&(t.showToast({title:"操作成功",icon:"none"}),n.iShow.seting=!1,setTimeout((function(){t.redirectTo({url:"../index/index"})}),500))}))}else t.showToast({title:"操作金额不能为零",icon:"none"})},closeFn:function(){this.iShow.seting=!1,console.log("取消")},postFn:function(){null!=this.sendData&&null!=this.receiveData&&(""!=this.postData.disAmount&&0!=this.postData.disAmount?this.iShow.seting=!0:t.showToast({title:"金额不能为零",icon:"none"}))},jump:function(n){switch(n){case 1:t.navigateTo({url:"../newSeleCompany/newSeleCompany?jsData="+JSON.stringify({type:"send",data:""})});break;case 2:if(null==this.sendData&&1==this.seleindex)return void t.showToast({title:"请先选择企业",icon:"none"});1==this.seleindex?t.navigateTo({url:"../newSeleDirver/newSeleDirver?jsData="+JSON.stringify(this.sendData),fail:function(t){console.log(t)}}):t.navigateTo({url:"../newSeleCompany/newSeleCompany?jsData="+JSON.stringify({type:"receive",data:this.sendData}),fail:function(t){console.log(t)}});break}},seleBarFn:function(t){this.barIndex=t},seleFn:function(t){this.seleindex=t,this.postData.disAmount="",this.receiveData=null}}};n.default=s}).call(this,e("543d")["default"])},"8d6a":function(t,n,e){"use strict";e.r(n);var o=e("2d45"),i=e("b358");for(var a in i)"default"!==a&&function(t){e.d(n,t,(function(){return i[t]}))}(a);e("cec3");var s,u=e("f0c5"),c=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],s);n["default"]=c.exports},ab2c:function(t,n,e){},b358:function(t,n,e){"use strict";e.r(n);var o=e("3596"),i=e.n(o);for(var a in o)"default"!==a&&function(t){e.d(n,t,(function(){return o[t]}))}(a);n["default"]=i.a},cec3:function(t,n,e){"use strict";var o=e("ab2c"),i=e.n(o);i.a}},[["05a8","common/runtime","common/vendor"]]]);
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["oilDistribution/distribute/distribute"],{"05a8":function(t,n,e){"use strict";(function(t){e("84da");o(e("66fd"));var n=o(e("8d6a"));function o(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=e,t(n.default)}).call(this,e("543d")["createPage"])},3596:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=i(e("2d56"));function i(t){return t&&t.__esModule?t:{default:t}}var a=function(){e.e("components/customPopup").then(function(){return resolve(e("34d2"))}.bind(null,e)).catch(e.oe)},s={components:{popup:a},data:function(){return{postData:{disCompanyId:"",disTagType:"",disType:"",customerId:"",companyId:"",disAmount:""},iShow:{seting:!1},sendData:null,receiveData:null,seleindex:1,barIndex:1,transition:{zIndex:"1",transform:"scale(0.9)",backgroundColor:"#66AFFF"}}},onLoad:function(){var n=this;t.$on("driverfn",(function(t){console.log(t,"司机参数更新"),n.receiveData=t,n.postData.customerId=t.id,n.postData.companyId="",n.postData.disTagType=0==t.companyCustomerNature?"OUTSIDE":"ESELF_SUPPORT"})),t.$on("company",(function(t){console.log(t.type,t),n.receiveData=null,"send"==t.type?(n.sendData=t,n.postData.disCompanyId=t.id):"receive"==t.type&&(n.receiveData=t,n.postData.companyId=t.id,n.postData.customerId="",n.postData.disTagType="SUBCOMPANY"),console.log(t,"公司参数更新")}))},methods:{inputFn:function(n){-1!=this.postData.disAmount.indexOf(".")&&this.postData.disAmount.split(".")[1].length>2&&(t.showToast({title:"最多保留小数点后两位",icon:"none"}),this.$nextTick((function(){this.postData.disAmount=Number(this.postData.disAmount).toFixed(2),console.log(this.postData.disAmount)})))},confirmFn:function(){var n=this;if(2==this.barIndex){if(0==Number(this.receiveData.balance))return void t.showToast({title:"圈回对象账户不能为零",icon:"none"});if(Number(this.postData.disAmount)>Number(this.receiveData.balance))return void t.showToast({title:"输入金额不能大于圈回对象总余额",icon:"none"})}else{if(Number(this.postData.disAmount)>Number(this.sendData.balance))return void t.showToast({title:"输入金额不能大于总余额",icon:"none"});if(0==Number(this.sendData.balance))return void t.showToast({title:"转账方金额不能为零",icon:"none"})}if(0!=Number(this.postData.disAmount)){var e=this;this.postData.disType=1==this.barIndex?1:-1,console.log(this.postData),o.default.oilDistributions(e.postData).then((function(e){2e4===e.code&&(t.showToast({title:"操作成功",icon:"none"}),n.iShow.seting=!1,setTimeout((function(){t.redirectTo({url:"../index/index"})}),500))}))}else t.showToast({title:"操作金额不能为零",icon:"none"})},closeFn:function(){this.iShow.seting=!1,console.log("取消")},postFn:function(){null!=this.sendData&&null!=this.receiveData&&(""!=this.postData.disAmount&&0!=this.postData.disAmount?this.iShow.seting=!0:t.showToast({title:"金额不能为零",icon:"none"}))},jump:function(n){switch(n){case 1:t.navigateTo({url:"../newSeleCompany/newSeleCompany?jsData="+JSON.stringify({type:"send",data:""})});break;case 2:if(null==this.sendData&&1==this.seleindex)return void t.showToast({title:"请先选择企业",icon:"none"});1==this.seleindex?t.navigateTo({url:"../newSeleDirver/newSeleDirver?jsData="+JSON.stringify(this.sendData),fail:function(t){console.log(t)}}):t.navigateTo({url:"../newSeleCompany/newSeleCompany?jsData="+JSON.stringify({type:"receive",data:this.sendData}),fail:function(t){console.log(t)}});break}},seleBarFn:function(t){this.barIndex=t},seleFn:function(t){this.seleindex=t,this.postData.disAmount="",this.receiveData=null}}};n.default=s}).call(this,e("543d")["default"])},"8d6a":function(t,n,e){"use strict";e.r(n);var o=e("b39a"),i=e("b358");for(var a in i)"default"!==a&&function(t){e.d(n,t,(function(){return i[t]}))}(a);e("cec3");var s,u=e("f0c5"),c=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],s);n["default"]=c.exports},ab2c:function(t,n,e){},b358:function(t,n,e){"use strict";e.r(n);var o=e("3596"),i=e.n(o);for(var a in o)"default"!==a&&function(t){e.d(n,t,(function(){return o[t]}))}(a);n["default"]=i.a},b39a:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return o}));var o={uniIcons:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(e.bind(null,"65b9"))}},i=function(){var t=this,n=t.$createElement;t._self._c;t._isMounted||(t.e0=function(n){2==t.barIndex?t.postData.disAmount=t.receiveData.balance:t.postData.disAmount=t.sendData.balance})},a=[]},cec3:function(t,n,e){"use strict";var o=e("ab2c"),i=e.n(o);i.a}},[["05a8","common/runtime","common/vendor"]]]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
.icoon :active{color:#007aff}.yuan{width:13rpx;height:13rpx;background:#e9cf31;border-radius:50%;margin-right:5rpx}.large_text{font-size:32rpx;font-family:PingFang SC;font-weight:700;color:#333}.company_msg_content{max-width:330rpx;font-size:28rpx;font-family:PingFang SC;font-weight:500;color:#333;text-align:end}.examine_popup_body{padding:0 47rpx;margin:33rpx 0}.company_msg{display:flex;justify-content:space-between;align-items:baseline}.item_price{font-size:24rpx;font-family:PingFang SC;font-weight:500;color:#333}.form_body_item_body_content_right{text-align:-webkit-right;font-size:26rpx;font-family:PingFang SC;font-weight:500;color:#333;flex:1}.form_body_item_body_content_left{text-align:left;font-size:26rpx;font-family:PingFang SC;font-weight:500;color:#333;flex:1}.form_body_item_img{width:80rpx;height:70rpx}.form_body_item_body_content{display:flex;justify-content:space-between;width:100%;margin-top:15rpx;padding-bottom:14rpx}.form_body_item_body_header{display:flex;justify-content:space-between;width:100%}.samll_txext{font-size:24rpx;font-family:PingFang SC;font-weight:500;color:#999;display:flex;align-items:center}.leftTip{position:absolute;top:0;left:0;height:100%;background-color:#e9cf31;width:10rpx}.compay_tip{background:#f1f1f1;margin-top:18rpx;color:#bbb;display:flex;align-items:center;justify-content:center;font-size:24rpx;width:130rpx;padding:10rpx}.seach_input{background-color:#fff;border-radius:12rpx;flex:1}.typeyuan{background-color:#17a00e;width:14rpx;height:14rpx;border-radius:50px;margin-right:6rpx}.seletypeyuan{background-color:red;width:14rpx;height:14rpx;border-radius:50px;margin-right:6rpx}.is-input-border{border:0!important}page{background-color:#f0f2ff}.form_body_item_footer{display:flex;color:#bbb;font-size:22rpx;justify-content:space-between;align-items:center;flex:1;padding:26rpx 0}.form_body_item_body{display:flex;border-bottom:1rpx solid #f0f0f0;flex-wrap:wrap}.form_body_item{min-height:267rpx;background:#fff;box-shadow:0 3px 9px 0 rgba(88,88,88,.2);border-radius:12rpx;font-size:28rpx;padding:20rpx;display:flex;flex-direction:column;padding-bottom:0;position:relative;overflow:hidden}.form_body{width:100vw;padding:0 10px;margin-top:40rpx;box-sizing:border-box}.navigation_seleitem{width:150rpx;height:59rpx;background:#f0f2ff;border-top-left-radius:11rpx;border-top-right-radius:11rpx;font-size:26rpx;color:#333;display:flex;justify-content:center;align-items:center;transition:all .3s;position:relative;bottom:-2px}.navigation_item{width:150rpx;height:59rpx;border-top-left-radius:11rpx;border-top-right-radius:11rpx;font-size:26rpx;color:#f0f2ff;display:flex;justify-content:center;align-items:center;transition:all .3s;bottom:-2px}.Navigation{display:flex;position:absolute;bottom:0;transition:all .5s}.header_seach_butten{font-size:24rpx!important;display:flex!important;align-items:center!important;margin:0!important;flex-shrink:1;margin-left:9rpx!important;background:#fff!important;justify-content:center}.uni-easyinput__content{height:80rpx}.uni-easyinput{height:80rpx}.header_seach_seach{display:flex;height:80rpx;margin-top:23rpx}.header_seach_title{display:flex;align-items:center}.header_seach{font-size:26rpx;padding:0 10px}.uni-navbar--border{border:0!important}.uni-navbar__header-btns-right{padding-right:0!important;width:120rpx!important}.top{height:25px}
|
||||
.information_item_label{color:#bbb;font-size:28rpx}.information_item_value{font-size:32rpx;color:#666}.information_item{margin:20rpx 0}.examine_popup_header{width:100%;color:#666}.examine_popup_header_title{font-size:32rpx}.examine_popup_header_top{display:flex;justify-content:space-between;align-items:center}.examine_popup_orderType{display:flex;align-items:center;border-bottom:dashed 1px #f0f0f0;padding-bottom:20rpx}.examine_popup_orderType_text{color:#666;font-size:40rpx;margin-left:40rpx}.information_item_other_label{color:#bbb;font-size:20rpx}.information_item_other{margin-bottom:10rpx}.information_item_other_value{font-size:24rpx;color:#666}.listCard_header_Type{background:rgba(232,205,48,.15);border-radius:40rpx;color:#e8cd30;font-size:24rpx;display:flex;justify-content:center;align-items:center;Width:180rpx;Height:54rpx}.orderNumber{color:#bbb;font-size:24rpx}.garden{background-color:#e8cd30;border-radius:50%;width:20rpx;height:20rpx;margin-right:16rpx}.icoon :active{color:#007aff}.yuan{width:13rpx;height:13rpx;background:#e9cf31;border-radius:50%;margin-right:5rpx}.large_text{font-size:32rpx;font-family:PingFang SC;font-weight:700;color:#333}.company_msg_content{max-width:330rpx;font-size:28rpx;font-family:PingFang SC;font-weight:500;color:#333;text-align:end}.examine_popup_body{padding:0 47rpx;margin:33rpx 0}.company_msg{display:flex;justify-content:space-between;align-items:baseline}.item_price{font-size:24rpx;font-family:PingFang SC;font-weight:500;color:#333}.form_body_item_body_content_right{text-align:-webkit-right;font-size:26rpx;font-family:PingFang SC;font-weight:500;color:#333;flex:1}.form_body_item_body_content_left{text-align:left;font-size:26rpx;font-family:PingFang SC;font-weight:500;color:#333;flex:1}.form_body_item_img{width:80rpx;height:70rpx}.form_body_item_body_content{display:flex;justify-content:space-between;width:100%;margin-top:15rpx;padding-bottom:14rpx}.form_body_item_body_header{display:flex;justify-content:space-between;width:100%}.samll_txext{font-size:24rpx;font-family:PingFang SC;font-weight:500;color:#999;display:flex;align-items:center}.leftTip{position:absolute;top:0;left:0;height:100%;background-color:#e9cf31;width:10rpx}.compay_tip{background:#f1f1f1;margin-top:18rpx;color:#bbb;display:flex;align-items:center;justify-content:center;font-size:24rpx;width:130rpx;padding:10rpx}.seach_input{background-color:#fff;border-radius:12rpx;flex:1}.typeyuan{background-color:#17a00e;width:14rpx;height:14rpx;border-radius:50px;margin-right:6rpx}.seletypeyuan{background-color:red;width:14rpx;height:14rpx;border-radius:50px;margin-right:6rpx}.is-input-border{border:0!important}page{background-color:#f0f2ff}.form_body_item_footer{display:flex;color:#bbb;font-size:22rpx;justify-content:space-between;align-items:center;flex:1;padding:26rpx 0}.form_body_item_body{display:flex;border-bottom:1rpx solid #f0f0f0;flex-wrap:wrap}.form_body_item{min-height:267rpx;background:#fff;box-shadow:0 3px 9px 0 rgba(88,88,88,.2);border-radius:12rpx;font-size:28rpx;padding:20rpx;display:flex;flex-direction:column;padding-bottom:0;position:relative;overflow:hidden}.form_body{width:100vw;padding:0 10px;margin-top:40rpx;box-sizing:border-box}.navigation_seleitem{width:150rpx;height:59rpx;background:#f0f2ff;border-top-left-radius:11rpx;border-top-right-radius:11rpx;font-size:26rpx;color:#333;display:flex;justify-content:center;align-items:center;transition:all .3s;position:relative;bottom:-2px}.navigation_item{width:150rpx;height:59rpx;border-top-left-radius:11rpx;border-top-right-radius:11rpx;font-size:26rpx;color:#f0f2ff;display:flex;justify-content:center;align-items:center;transition:all .3s;bottom:-2px}.Navigation{display:flex;position:absolute;bottom:0;transition:all .5s}.header_seach_butten{font-size:24rpx!important;display:flex!important;align-items:center!important;margin:0!important;flex-shrink:1;margin-left:9rpx!important;background:#fff!important;justify-content:center}.uni-easyinput__content{height:80rpx}.uni-easyinput{height:80rpx}.header_seach_seach{display:flex;height:80rpx;margin-top:23rpx}.header_seach_title{display:flex;align-items:center}.header_seach{font-size:26rpx;padding:0 10px}.uni-navbar--border{border:0!important}.uni-navbar__header-btns-right{padding-right:0!important;width:120rpx!important}.top{height:25px}
|
||||
Reference in New Issue
Block a user