第一次提交
This commit is contained in:
@@ -91,11 +91,50 @@
|
||||
<image src="@/static/qx.png" style="width: 536rpx; height: 399rpx;"></image>
|
||||
</view>
|
||||
</view>
|
||||
<popup imgSrc='fypupo.png' @confirmFn='confirmFn' @closeFn='closeFn' :butten='butten'
|
||||
:styles="{height:'573rpx'}" v-model="iShow.examine">
|
||||
<view slot="coment">
|
||||
<popup :show="showPopup" @confirmFn='confirmFn' @closeFn='closeFn' :butten='butten'
|
||||
v-model="iShow.examine">
|
||||
<view slot="coment">
|
||||
<view class="examine_popup_body">
|
||||
<view>
|
||||
<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:typeColor(seledata.auditMark)}" class="garden"></view>
|
||||
<text>{{seledata.auditMark|typeText}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="orderNumber">
|
||||
{{seledata.id||'--'}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="information_item">
|
||||
<view class="information_item_label">分油公司</view>
|
||||
<view class="information_item_value">{{seledata.disCompanyName||'--'}}</view>
|
||||
<view class="orderNumber">
|
||||
{{seledata.disCompanyId||'--'}}
|
||||
</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>
|
||||
</view>
|
||||
<view class="information_item">
|
||||
<view class="information_item_label">子公司</view>
|
||||
<view class="information_item_value">{{seledata.companyName||'--'}}</view>
|
||||
<view class="orderNumber">
|
||||
{{seledata.companyId||'--'}}
|
||||
</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_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_label">审核信息</view>
|
||||
</view>
|
||||
|
||||
<!-- <view>
|
||||
<view class="company_msg">
|
||||
<text class="samll_txext">公司名</text>
|
||||
<text class="company_msg_content">{{seledata.disCompanyName}}</text>
|
||||
@@ -123,9 +162,9 @@
|
||||
<text class="samll_txext">{{seledata.disTagType=='SUBCOMPANY'?'公司编号':'司机编号'}}</text>
|
||||
<text>{{ seledata.disTagType=='SUBCOMPANY'?seledata.companyId:seledata.customerId}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>-->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</popup>
|
||||
</view>
|
||||
</template>
|
||||
@@ -141,6 +180,10 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
showPopup:{
|
||||
img:false,
|
||||
footer:false
|
||||
},
|
||||
animationData: null,
|
||||
seledata: {},
|
||||
seachValue: '',
|
||||
@@ -226,7 +269,46 @@
|
||||
onShow() {
|
||||
this.getList();
|
||||
},
|
||||
filters:{
|
||||
typeText:function(e){
|
||||
switch(Number(e)){
|
||||
case 0:
|
||||
return '等待审核'
|
||||
case 1:
|
||||
return '审核通过'
|
||||
case -1:
|
||||
return '审核失败'
|
||||
default:
|
||||
return '---'
|
||||
}
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
typeColor:function(e){
|
||||
console.log(e,'-----')
|
||||
switch(Number(e)){
|
||||
case 0:
|
||||
return '#E8CD30'
|
||||
case 1:
|
||||
return '#17A00E'
|
||||
case -1:
|
||||
return '#EC4545'
|
||||
default:
|
||||
return ''
|
||||
}
|
||||
},
|
||||
typeBackground:function(e){
|
||||
switch(Number(e)){
|
||||
case 0:
|
||||
return '#E8CD3026'
|
||||
case 1:
|
||||
return '#17A00E26'
|
||||
case -1:
|
||||
return '#EC454526'
|
||||
default:
|
||||
return ''
|
||||
}
|
||||
},
|
||||
animationFns() {
|
||||
console.log('恢复动画')
|
||||
var animation = uni.createAnimation({
|
||||
@@ -330,9 +412,12 @@
|
||||
})
|
||||
break;
|
||||
case 1:
|
||||
this.seledata = item
|
||||
this.iShow.examine = true
|
||||
if (item.auditMark == 0) {
|
||||
this.seledata = item
|
||||
this.iShow.examine = true
|
||||
this.showPopup.footer = true
|
||||
}else{
|
||||
this.showPopup.footer = false
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
@@ -396,6 +481,7 @@
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@import url("./popup.css");
|
||||
.icoon :active {
|
||||
color: #007AFF;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user