pull/2/head
xiaozhiyong 2 years ago
parent a6909ed508
commit 9196734d72
  1. 2
      financialCenter/business/index.vue
  2. 49
      oilDistribution/index/index.vue
  3. 22
      orderList/index/index.vue

@ -74,7 +74,9 @@
}
return +number.toFixed(2)
},
jump(e, path,item) {
console.log(123)
switch (e) {
case -1:
uni.navigateBack()

@ -5,15 +5,9 @@
<view class="header_seach">
<view class="header_seach_seach">
<view class="seach_input">
<uni-easyinput
:candidate='candidate'
:ejectOpen='ejectOpen'
@ejectFn='ejectFn'
:letfText='letfText'
confirmType='search'
@confirm='seachFn'
placeholder-style="color:#bbbbbb;font-weight: 100;"
v-model="seachValue"
<uni-easyinput :candidate='candidate' :ejectOpen='ejectOpen' @ejectFn='ejectFn'
:letfText='letfText' confirmType='search' @confirm='seachFn'
placeholder-style="color:#bbbbbb;font-weight: 100;" v-model="seachValue"
:placeholder="letfText=='企业'?'企业名,企业ID':'司机姓名,司机手机号'" @iconClick="onClick">
</uni-easyinput>
</view>
@ -87,18 +81,20 @@
</view>
</view>
</scroll-view>
<view v-if="listData.length==0" style="width: 100vw; height: 100%; display: flex;align-items: center;justify-content: center;">
<view v-if="listData.length==0"
style="width: 100vw; height: 100%; display: flex;align-items: center;justify-content: center;">
<image src="@/static/qx.png" style="width: 536rpx; height: 399rpx;"></image>
</view>
</view>
<popup :show="showPopup" @confirmFn='confirmFn' @closeFn='closeFn' :butten='butten'
v-model="iShow.examine">
<popup :show="showPopup" @confirmFn='confirmFn' @closeFn='closeFn' :butten='butten' v-model="iShow.examine">
<view slot="coment">
<view class="examine_popup_body">
<view class="examine_popup_header">
<view class="examine_popup_header_top">
<view class="examine_popup_header_title">分发详情</view>
<view :style="{background:typeBackground(seledata.auditMark),color:typeColor(seledata.auditMark)}" class="listCard_header_Type">
<view
:style="{background:typeBackground(seledata.auditMark),color:typeColor(seledata.auditMark)}"
class="listCard_header_Type">
<view :style="{background:typeColor(seledata.auditMark)}" class="garden"></view>
<text>{{seledata.auditMark|typeText}}</text>
</view>
@ -115,8 +111,10 @@
</view>
</view>
<view class="examine_popup_orderType">
<image style="width: 60rpx;height: 50rpx;" class="form_body_item_img" src="@/static/fy.png"></image>
<view class="examine_popup_orderType_text">{{ Number(seledata.disAmount).toFixed(2)||'--' }}</view>
<image style="width: 60rpx;height: 50rpx;" class="form_body_item_img" src="@/static/fy.png">
</image>
<view class="examine_popup_orderType_text">{{ Number(seledata.disAmount).toFixed(2)||'--' }}
</view>
</view>
<view class="information_item">
<view class="information_item_label">子公司</view>
@ -126,11 +124,17 @@
</view>
</view>
<view style="margin-top: 20rpx;" class="information_item_other">
<view class="information_item_other_value">{{seledata.createUserName||'暂无'}}({{seledata.createUser||'--'}}) <br/> {{seledata.createTime||'--'}}</view>
<view class="information_item_other_value">
{{seledata.createUserName||'暂无'}}({{seledata.createUser||'--'}}) <br />
{{seledata.createTime||'--'}}
</view>
<view class="information_item_other_label">申请信息</view>
</view>
<view class="information_item_other">
<view class="information_item_other_value">{{seledata.auditUserName||'暂无'}}({{seledata.auditUser||'暂无'}}) <br/> {{seledata.auditTime||'--'}}</view>
<view class="information_item_other_value">
{{seledata.auditUserName||'暂无'}}({{seledata.auditUser||'暂无'}}) <br />
{{seledata.auditTime||'--'}}
</view>
<view class="information_item_other_label">审核信息</view>
</view>
@ -482,6 +486,7 @@
<style>
@import url("./popup.css");
.icoon :active {
color: #007AFF;
}
@ -747,14 +752,14 @@
border: 0px !important;
}
/* .header {
background-color: #007AFF;
.header {
/* background-color: #007AFF; */
color: white;
min-height: 403rpx;
background-image: url('https://xoi-support.oss-cn-hangzhou.aliyuncs.com/星油admin小程序/sjbj.png');
background-size: 100% 100%;
background: url('https://xoi-support.oss-cn-hangzhou.aliyuncs.com/星油admin小程序/sjbj.png') 100%/100%;
/* background-size: 100% 100%; */
position: relative;
} */
}
.uni-navbar__header-btns-right {
padding-right: 0 !important;

@ -8,7 +8,8 @@
<uni-easyinput :candidate='candidate' :ejectOpen='ejectOpen' @ejectFn='ejectFn'
:letfText='letfText' confirmType='search' @confirm='seachFn'
placeholder-style="color:#bbbbbb;font-weight: 100;" v-model="seachValue"
:placeholder="letfText=='订单号'? '订单编号':letfText=='司机'?'司机姓名,手机号码':letfText=='企业'?'企业名称,企业编号':'油站名称'" @iconClick="onClick">
:placeholder="letfText=='订单号'? '订单编号':letfText=='司机'?'司机姓名,手机号码':letfText=='企业'?'企业名称,企业编号':'油站名称'"
@iconClick="onClick">
</uni-easyinput>
</view>
</view>
@ -29,7 +30,8 @@
<view v-for="(item,index) in listData" class="form_body">
<view @tap="jump(1,item)" class="form_body_item">
<view class="form_body_item_top">
<view :style="{backgroundColor:item.payAccountType==0?'#FD9500':'#2866FF' }" class="form_body_item_top_label">{{item.payAccountType==0?'个人':'企业'}}</view>
<view :style="{backgroundColor:item.payAccountType==0?'#FD9500':'#2866FF' }"
class="form_body_item_top_label">{{item.payAccountType==0?'个人':'企业'}}</view>
<view>{{item.orderSerialNumber}}</view>
</view>
<view style="padding: 0 25rpx; margin-top: 23rpx;">
@ -39,7 +41,9 @@
<view>{{item.phone}}</view>
<view class="samll_txext" style="margin-left:23rpx;">{{item.userName}}</view>
</view>
<view style="color: ;" v-if="item.orderWfStatus==0&& String(item.siteName).indexOf('壳牌')!==-1">待核销</view>
<view style="color: ;"
v-if="item.orderWfStatus==0&& String(item.siteName).indexOf('壳牌')!==-1">待核销
</view>
</view>
<view style="margin-bottom:23rpx ; font-size: 26rpx;" class="text">
{{item.companyName?item.companyName:'暂无'}}
@ -60,7 +64,8 @@
</view>
<view class="form_body_item_footer">
<view style="font-size: 22rpx;" class="samll_txext">{{item.createTime}}</view>
<view :style="{fontSize: '24rpx', color:option(item.orderStatus).color }">{{option(item.orderStatus).text}}</view>
<view :style="{fontSize: '24rpx', color:option(item.orderStatus).color }">
{{option(item.orderStatus).text}}</view>
</view>
</view>
</view>
@ -285,8 +290,7 @@
} else if (this.letfText == '司机') {
this.getData.params.userName = this.seachValue
console.log('现在是司机 userName', this.letfText, )
}else
{
} else {
this.getData.params.siteName = this.seachValue
console.log('现在是其他 siteName', this.letfText, )
}
@ -306,6 +310,7 @@
<style>
@import url("./index.css");
.icoon :active {
color: #007AFF;
}
@ -344,6 +349,7 @@
justify-content: space-between;
align-items: baseline;
}
.bgtext {
@ -353,12 +359,14 @@
color: #333333;
}
.item_price {
font-size: 24rpx;
font-family: PingFang SC;
font-weight: 500;
color: #333333;
}
.text {
font-size: 26rpx;
@ -366,6 +374,7 @@
font-weight: 500;
color: #333333;
}
.samll_txext {
font-size: 24rpx;
font-family: PingFang SC;
@ -414,6 +423,7 @@
page {
background-color: #F0F2FF;
}
.form_body_item {
min-height: 339rpx;
background: #FFFFFF;

Loading…
Cancel
Save