oms
This commit is contained in:
1
unpackage/dist/build/mp-weixin/driverManagement/addDiver/addDiver.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/driverManagement/addDiver/addDiver.js
vendored
Normal file
File diff suppressed because one or more lines are too long
13
unpackage/dist/build/mp-weixin/driverManagement/addDiver/addDiver.json
vendored
Normal file
13
unpackage/dist/build/mp-weixin/driverManagement/addDiver/addDiver.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"navigationBarBackgroundColor": "#2866FF",
|
||||
"navigationBarTitleText": "司机新增",
|
||||
"enablePullDownRefresh": false,
|
||||
"usingComponents": {
|
||||
"uni-list": "/uni_modules/uni-list/components/uni-list/uni-list",
|
||||
"uni-list-item": "/uni_modules/uni-list/components/uni-list-item/uni-list-item",
|
||||
"u-radio-group": "/uview-ui/components/u-radio-group/u-radio-group",
|
||||
"u-radio": "/uview-ui/components/u-radio/u-radio",
|
||||
"u-switch": "/uview-ui/components/u-switch/u-switch",
|
||||
"u-picker": "/uview-ui/components/u-picker/u-picker"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/driverManagement/addDiver/addDiver.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/driverManagement/addDiver/addDiver.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/driverManagement/addDiver/addDiver.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/driverManagement/addDiver/addDiver.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.clear{font-size:28rpx;font-family:PingFang SC;font-weight:500;color:#bbb;display:flex;align-items:center}.yuan{font-size:28rpx;margin-left:10rpx}.popup_body{padding:20rpx}.list_right_input{font-size:28rpx}.list_footer{padding-bottom:57rpx;margin-top:57rpx}.list_butten{height:100rpx;background:#2866ff;border-radius:10rpx;color:#fff;font-size:36pxr}.fg .uni-list-item__container{padding-bottom:0!important}.list_nosele{font-size:28rpx;font-family:PingFang SC;color:#999}.uni-icon-wrapper{padding:0!important}.uni-list-item__container{padding:12px 0!important}.tiao{width:8rpx;height:34rpx;background:#2866ff}.card_title_text{font-size:32rpx;font-family:PingFang SC;font-weight:500;color:#333;margin-left:10rpx}.card_title{display:flex;border-bottom:1px solid #f0f0f0;align-items:center;padding-bottom:17rpx;height:86rpx}.list_header{font-size:28rpx;font-family:PingFang SC;font-weight:500;color:#333;display:flex;align-items:center;padding-left:16px;position:relative;height:-webkit-fit-content;height:fit-content}.list_right_input{width:100%;color:#333;text-align:end!important;font-size:28rpx;text-align:right!important;padding-left:90rpx;box-sizing:border-box}.list_right{flex:1;display:flex;justify-content:flex-end}.addDiver_body{padding:0 40rpx}.addDiver_card{background:#fff;box-shadow:0 3px 9px 0 rgba(88,88,88,.2);border-radius:20rpx;margin-top:38rpx;overflow:hidden;padding:19rpx 20rpx 0 20rpx;box-sizing:border-box}
|
||||
1
unpackage/dist/build/mp-weixin/driverManagement/addDiver/addOilCard.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/driverManagement/addDiver/addOilCard.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["driverManagement/addDiver/addOilCard"],{"2b5f":function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return i}));var i={uniList:function(){return e.e("uni_modules/uni-list/components/uni-list/uni-list").then(e.bind(null,"cd62"))},uniListItem:function(){return e.e("uni_modules/uni-list/components/uni-list-item/uni-list-item").then(e.bind(null,"778c"))},uSwitch:function(){return e.e("uview-ui/components/u-switch/u-switch").then(e.bind(null,"d0ff"))}},o=function(){var t=this,n=t.$createElement;t._self._c},u=[]},"7df9":function(t,n,e){},8725:function(t,n,e){"use strict";e.r(n);var i=e("9010"),o=e.n(i);for(var u in i)"default"!==u&&function(t){e.d(n,t,(function(){return i[t]}))}(u);n["default"]=o.a},9010:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=o(e("e041"));function o(t){return t&&t.__esModule?t:{default:t}}var u={data:function(){return{enterpriseType:"自营",radiolist1:[{name:"自营",disabled:!1},{name:"外请",disabled:!1}],aboutEnterprise:{customerId:"",customerCode:"",companyId:"",companyNature:1,shareCompanyQuota:0,dayAmountToplimit:"0",orderAmountToplimit:"0",dayVolumeToplimit:"0",orderVolumeToplimit:"0",name:"",nickName:"",plateNumberCompany:null,remark:""},switchOpen:!0,openText:{one:"开启",off:"关闭"}}},onLoad:function(n){var e=this;if(t.$on("company",(function(t){e.aboutEnterprise.companyId=t.id,e.aboutEnterprise.name=t.name,console.log(t)})),n.jsData){var i=JSON.parse(n.jsData);this.aboutEnterprise.customerId=i.customerId,this.aboutEnterprise.customerCode=i.customerCode,this.aboutEnterprise.companyId=i.companyId,this.aboutEnterprise.companyNature=i.companyNature,this.aboutEnterprise.nickName=i.nickName,console.log(e.aboutEnterprise,"-*-*-")}},methods:{sxfn:function(t){},clearFn:function(){var t=this,n=["companyNature","shareCompanyQuota"];Object.keys(this.aboutEnterprise).forEach((function(e){n.includes(e)||(t.aboutEnterprise[e]="")})),this.aboutEnterprise.shareCompanyQuota=1,this.switchOpen=!0},postFn:function(){var n=this;this.aboutEnterprise.shareCompanyQuota=this.switchOpen?1:0,i.default.saveOilCard(this.aboutEnterprise).then((function(e){2e4===e.code&&(t.$emit("updateDriver",n.aboutEnterprise.customerId),t.navigateBack())})),console.log(this.aboutEnterprise)},jump:function(){t.navigateTo({url:"../company/company"})},change:function(t){console.log(this.switchOpen,t)}}};n.default=u}).call(this,e("543d")["default"])},"9b66":function(t,n,e){"use strict";(function(t){e("6e43");i(e("66fd"));var n=i(e("b235"));function i(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=e,t(n.default)}).call(this,e("543d")["createPage"])},a199:function(t,n,e){"use strict";var i=e("7df9"),o=e.n(i);o.a},b235:function(t,n,e){"use strict";e.r(n);var i=e("2b5f"),o=e("8725");for(var u in o)"default"!==u&&function(t){e.d(n,t,(function(){return o[t]}))}(u);e("a199");var a,r=e("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],a);n["default"]=s.exports}},[["9b66","common/runtime","common/vendor"]]]);
|
||||
9
unpackage/dist/build/mp-weixin/driverManagement/addDiver/addOilCard.json
vendored
Normal file
9
unpackage/dist/build/mp-weixin/driverManagement/addDiver/addOilCard.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "新增油卡",
|
||||
"enablePullDownRefresh": false,
|
||||
"usingComponents": {
|
||||
"uni-list": "/uni_modules/uni-list/components/uni-list/uni-list",
|
||||
"uni-list-item": "/uni_modules/uni-list/components/uni-list-item/uni-list-item",
|
||||
"u-switch": "/uview-ui/components/u-switch/u-switch"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/driverManagement/addDiver/addOilCard.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/driverManagement/addDiver/addOilCard.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="addDiver_body"><view class="addDiver_card"><view class="card_title"><view class="tiao"></view><view class="card_title_text" style="display:flex;justify-content:space-between;width:100%;"><view>关联绑定企业</view><view data-event-opts="{{[['tap',[['clearFn',['$event']]]]]}}" class="clear" bindtap="__e"><image style="height:32rpx;margin-right:10rpx;" src="../../static/clear.png" mode="heightFix"></image>清除</view></view></view><uni-list vue-id="3bf176ee-1" bind:__l="__l" vue-slots="{{['default']}}"><uni-list-item vue-id="{{('3bf176ee-2')+','+('3bf176ee-1')}}" link bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header"><image style="width:12rpx;position:absolute;left:0;" src="/static/bt.png" mode="widthFix"></image>企业名称</view><view class="list_right" slot="body"><view class="list_right list_nosele" style="{{'color:'+(aboutEnterprise.name?'#333333':' ')+';'}}" slot="body" data-event-opts="{{[['tap',[['jump',['$event']]]]]}}" bindtap="__e">{{''+(aboutEnterprise.name?aboutEnterprise.name:'请选择企业')+''}}</view></view></uni-list-item><uni-list-item vue-id="{{('3bf176ee-3')+','+('3bf176ee-1')}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header">单日金额上限</view><view class="list_right " slot="body"><view style="width:100%;padding-right:16px !important;display:flex;"><input class="list_right_input" type="number" data-event-opts="{{[['input',[['__set_model',['$0','dayAmountToplimit','$event',[]],['aboutEnterprise']],['sxfn',['orderAmountToplimit']]]]]}}" value="{{aboutEnterprise.dayAmountToplimit}}" bindinput="__e"/><text class="yuan">元</text></view></view></uni-list-item><uni-list-item vue-id="{{('3bf176ee-4')+','+('3bf176ee-1')}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header">单次金额上限</view><view class="list_right " slot="body"><view style="width:100%;padding-right:16px !important;display:flex;"><input class="list_right_input" type="number" data-event-opts="{{[['input',[['__set_model',['$0','orderAmountToplimit','$event',[]],['aboutEnterprise']],['sxfn',['dayAmountToplimit']]]]]}}" value="{{aboutEnterprise.orderAmountToplimit}}" bindinput="__e"/><text class="yuan">元</text></view></view></uni-list-item><uni-list-item vue-id="{{('3bf176ee-5')+','+('3bf176ee-1')}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header">单日加油升数上限</view><view class="list_right " style="padding-right:16px !important;display:flex;" slot="body"><input class="list_right_input" type="number" data-event-opts="{{[['input',[['__set_model',['$0','dayVolumeToplimit','$event',[]],['aboutEnterprise']],['sxfn',['orderVolumeToplimit']]]]]}}" value="{{aboutEnterprise.dayVolumeToplimit}}" bindinput="__e"/><text class="yuan">升</text></view></uni-list-item><uni-list-item vue-id="{{('3bf176ee-6')+','+('3bf176ee-1')}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header">单笔加油升数上限</view><view class="list_right " style="padding-right:16px !important;display:flex;" slot="body"><input class="list_right_input" type="number" data-event-opts="{{[['input',[['__set_model',['$0','orderVolumeToplimit','$event',[]],['aboutEnterprise']],['sxfn',['dayVolumeToplimit']]]]]}}" value="{{aboutEnterprise.orderVolumeToplimit}}" bindinput="__e"/><text class="yuan">升</text></view></uni-list-item><block wx:if="{{aboutEnterprise.companyNature==1}}"><uni-list-item vue-id="{{('3bf176ee-7')+','+('3bf176ee-1')}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header"><image style="width:12rpx;position:absolute;left:0;" src="/static/bt.png" mode="widthFix"></image>是否共享企业额度</view><view class="list_right" style="padding-right:16px !important;" slot="body"><u-switch vue-id="{{('3bf176ee-8')+','+('3bf176ee-7')}}" openText="{{openText}}" asyncChange="{{true}}" activeColor="#17A00E" inactive-color="#BBBBBB" size="35" value="{{switchOpen}}" data-event-opts="{{[['^change',[['change']]],['^input',[['__set_model',['','switchOpen','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-switch></view></uni-list-item></block><uni-list-item vue-id="{{('3bf176ee-9')+','+('3bf176ee-1')}}" bind:__l="__l" vue-slots="{{['header','body']}}"><view class="list_header" slot="header">备注</view><view class="list_right " style="padding-right:16px !important;" slot="body"><input class="list_right_input" placeholder="请输入备注" data-event-opts="{{[['input',[['__set_model',['$0','remark','$event',[]],['aboutEnterprise']]]]]}}" value="{{aboutEnterprise.remark}}" bindinput="__e"/></view></uni-list-item></uni-list></view><view class="list_footer"><button data-event-opts="{{[['tap',[['postFn',['$event']]]]]}}" class="list_butten " bindtap="__e">保存</button></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/driverManagement/addDiver/addOilCard.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/driverManagement/addDiver/addOilCard.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.clear{font-size:28rpx;font-family:PingFang SC;font-weight:500;color:#bbb;display:flex;align-items:center}.yuan{font-size:28rpx;margin-left:10rpx}.popup_body{padding:20rpx}.list_right_input{font-size:28rpx}.list_footer{padding-bottom:57rpx;margin-top:57rpx}.list_butten{height:100rpx;background:#2866ff;border-radius:10rpx;color:#fff;font-size:36pxr}.fg .uni-list-item__container{padding-bottom:0!important}.list_nosele{font-size:28rpx;font-family:PingFang SC;color:#999}.uni-icon-wrapper{padding:0!important}.uni-list-item__container{padding:12px 0!important}.tiao{width:8rpx;height:34rpx;background:#2866ff}.card_title_text{font-size:32rpx;font-family:PingFang SC;font-weight:500;color:#333;margin-left:10rpx}.card_title{display:flex;border-bottom:1px solid #f0f0f0;align-items:center;padding-bottom:17rpx;height:86rpx}.list_header{font-size:28rpx;font-family:PingFang SC;font-weight:500;color:#333;display:flex;align-items:center;padding-left:16px;position:relative;height:-webkit-fit-content;height:fit-content}.list_right_input{width:100%;color:#333;text-align:end!important;font-size:28rpx;text-align:right!important;padding-left:90rpx;box-sizing:border-box}.list_right{flex:1;display:flex;justify-content:flex-end}.addDiver_body{padding:0 40rpx}.addDiver_card{background:#fff;box-shadow:0 3px 9px 0 rgba(88,88,88,.2);border-radius:20rpx;margin-top:38rpx;overflow:hidden;padding:19rpx 20rpx 0 20rpx;box-sizing:border-box}
|
||||
Reference in New Issue
Block a user