新增收银稽核模块;数据校验添加稽核信息

This commit is contained in:
cclu 2021-03-01 09:51:55 +08:00
parent 9fed31a84c
commit 063605685f
10 changed files with 692 additions and 287 deletions

View File

@ -84,7 +84,6 @@
cout: 1 , cout: 1 ,
success: (data) => { success: (data) => {
// console.log(data) // console.log(data)
// this.src = data.tempFilePaths[0]
if(data.tempFilePaths.length>0) { if(data.tempFilePaths.length>0) {
// let list = [] // let list = []
@ -100,12 +99,8 @@
} }
}) })
}) })
} }
}, },
}); });
}, },
nextStep(){ nextStep(){
@ -237,31 +232,26 @@
font-size: 30rpx; font-size: 30rpx;
} }
.upload-file-container{ .upload-file-container {
display: flex; display: flex;
/* flex-flow: row wrap; */
/* justify-content: flex-start; */
align-items: center; align-items: center;
width: 100%; width: 100%;
/* padding: 20rpx; */
min-height: 260rpx; min-height: 260rpx;
box-sizing: border-box; box-sizing: border-box;
flex-wrap: wrap; flex-wrap: wrap;
} }
.upload-file-add{ .upload-file-add {
width: 130rpx; width: 130rpx;
height: 126rpx; height: 126rpx;
margin-right: 16rpx; margin-right: 16rpx;
box-sizing: border-box; box-sizing: border-box;
} }
.upload-file-add-container{ .upload-file-add-container {
position: relative; position: relative;
border: 1rpx solid #ccc; border: 1rpx solid #ccc;
width: 136rpx; width: 136rpx;
height: 137rpx; height: 137rpx;
border-radius: 6rpx; border-radius: 6rpx;
/* margin-top: 15rpx; */
} }
.upload-file-add-container::before { .upload-file-add-container::before {
content: ''; content: '';
@ -297,7 +287,6 @@
margin-top: 16rpx; margin-top: 16rpx;
border-radius: 8rpx; border-radius: 8rpx;
border: 2rpx solid #ccc; border: 2rpx solid #ccc;
} }
.upload-file-unit image { .upload-file-unit image {
@ -305,6 +294,7 @@
height: 134rpx; height: 134rpx;
border-radius: 8rpx; border-radius: 8rpx;
} }
.upload-file-remove { .upload-file-remove {
position: absolute; position: absolute;
top: -14rpx; top: -14rpx;
@ -323,7 +313,6 @@
/* 成功弹出框 */ /* 成功弹出框 */
.success-box { .success-box {
padding-top: 198rpx; padding-top: 198rpx;
text-align: center; text-align: center;
} }
.success-box h2 { .success-box h2 {

View File

@ -11,7 +11,7 @@
<view class="uni-flex content-box-cashpay"> <view class="uni-flex content-box-cashpay">
<text class="content-price">{{item.Audit_ErrorRate}}</text> <text class="content-price">{{item.Audit_ErrorRate}}</text>
<text style="font-size: 22rpx;">误差率</text> <text style="font-size: 22rpx;">误差率</text>
<text class="other-coast">{{item.Audit_Type}}</text>
</view> </view>
<view class="bb1"></view> <view class="bb1"></view>
<view class="uni-flex jc-between align-center" v-if="item.Different_Price"> <view class="uni-flex jc-between align-center" v-if="item.Different_Price">
@ -21,7 +21,7 @@
<text class="content-span">长短款额</text> <text class="content-span">长短款额</text>
<text class="price-num">{{ $util.fmoney(item.Different_Price,2) }} </text> <text class="price-num">{{ $util.fmoney(item.Different_Price,2) }} </text>
<text class="content-span"></text> <text class="content-span"></text>
<text class="other-coast">{{item.Audit_Type}}</text>
</div> </div>
<text class="content-span" v-if="!item.Cashier_Name">{{$util.cutDate(item.Audit_Time,'YYYY/MM/DD hh:mm:ss')}}</text> <text class="content-span" v-if="!item.Cashier_Name">{{$util.cutDate(item.Audit_Time,'YYYY/MM/DD hh:mm:ss')}}</text>
</view> </view>
@ -94,6 +94,9 @@
color: #D43939; color: #D43939;
font-size: 24rpx; font-size: 24rpx;
} }
.content-box-cashpay {
position: relative;
}
.other-coast { .other-coast {
color: #D1A271; color: #D1A271;
background: linear-gradient(to top, #EBDDCF , #FCFBF8); background: linear-gradient(to top, #EBDDCF , #FCFBF8);
@ -102,6 +105,9 @@
padding: 0 10rpx; padding: 0 10rpx;
margin-left: 16rpx; margin-left: 16rpx;
margin-top: 3rpx; margin-top: 3rpx;
position: absolute;
right: 0rpx;
bottom: 30rpx;
} }
/* /*

View File

@ -9,77 +9,114 @@
<text>稽核时间{{$util.cutDate(detailMsg.Audit_Time,'YYYY/MM/DD hh:mm:ss') }}</text> <text>稽核时间{{$util.cutDate(detailMsg.Audit_Time,'YYYY/MM/DD hh:mm:ss') }}</text>
</view> </view>
</view> </view>
<view class="card-bottom">
<view class="uni-flex ai-center">
<text>工班账期</text>
<text>{{detailMsg.Check_EndDate ? `${$util.cutDate(detailMsg.Check_StartDate,'MM.DD hh:mm:ss')} - ${$util.cutDate(detailMsg.Check_EndDate,'MM.DD hh:mm:ss')}` :`${$util.cutDate(detailMsg.Check_StartDate,'MM.DD hh:mm:ss')} ` }}</text>
</view> </view>
<view class="uni-flex ai-center jc-between">
<view class="uni-flex ai-center" style="flex: 1.5;">
<text>稽核人员</text>
<text>{{detailMsg.Worker_Name }}</text>
</view>
<view class="uni-flex ai-center">
<text>稽核类型</text>
<text>{{detailMsg.Audit_Type }}</text>
</view>
</view> <h4>稽核信息</h4>
</view>
</view>
<h4>稽核数据</h4>
<view class="main-card"> <view class="main-card">
<view class="uni-flex ai-center jc-between"> <view class="uni-flex ai-center jc-between">
<view class="uni-flex ai-center "> <view class="uni-flex ai-center ">
<text>营收金额</text> <text>现金营收</text>
<text>{{$util.fmoney( detailMsg.TotalSell_Amount ,2)}}</text> <text class="number-text" :style="{'width': numberText+'rpx'}">{{$util.fmoney( detailMsg.Cash ,2)}}</text>
</view> </view>
<view class="uni-flex ai-center">
<text>稽核类型</text>
<text >{{detailMsg.Audit_Type }}</text>
</view>
</view>
<view class="uni-flex ai-center jc-between">
<view class="uni-flex ai-center " > <view class="uni-flex ai-center " >
<text>缴款金额</text> <text>稽核缴款</text>
<text>{{$util.fmoney(detailMsg.Cash_Pay) }}</text> <text class="number-text" :style="{'width': numberText+'rpx'}">{{$util.fmoney(detailMsg.Cash_Pay) }}</text>
</view>
<view class="uni-flex ai-center" >
<text>稽核人员</text>
<text class="number-text">{{detailMsg.Worker_Name }}</text>
</view> </view>
</view> </view>
<view class="uni-flex ai-center jc-between"> <view class="uni-flex ai-center jc-between">
<view class="uni-flex ai-center"> <view class="uni-flex ai-center">
<text>长短款额</text> <text>长短款额</text>
<text class="price-num">{{$util.fmoney(detailMsg.Different_Price)}}</text> <text class="price-num number-text" :style="{'width': numberText+'rpx'}">{{$util.fmoney(detailMsg.Different_Price)}}</text>
</view>
<view class="uni-flex ai-center">
<text>稽核误差率</text>
<text>{{detailMsg.Audit_ErrorRate }}</text>
</view>
</view>
<view class="uni-flex ai-center jc-between">
<view class="uni-flex ai-center" v-if="detailMsg.Audit_State !==0">
<text>{{detailMsg.Audit_State==1 ? '流水补录:': '现金收缴:'}}</text>
<text>{{$util.fmoney(Math.abs(detailMsg.Different_Price),2)}}</text>
</view> </view>
<view class="uni-flex ai-center"> <view class="uni-flex ai-center">
<text>收银人员</text> <text>收银人员</text>
<text>{{detailMsg.Cashier_Name}}</text> <text>{{detailMsg.Cashier_Name}}</text>
</view> </view>
</view> </view>
<view class="uni-flex ai-center jc-between">
<view class="uni-flex ai-center">
<text>稽核误差率</text>
<text class="number-text" :style="{'width': (numberText - 26)+'rpx'}">{{detailMsg.Audit_ErrorRate }}</text>
</view> </view>
<h4 v-if="detailMsg.CheckAccount_Desc">稽核反馈</h4> </view>
<view class="main-card desc" v-if="detailMsg.CheckAccount_Desc"> <view class="uni-flex ai-center jc-between">
<!-- 短款时不显示 -->
<view class="uni-flex ai-center" v-if="detailMsg.Add_Amount>0">
<text>{{detailMsg.Different_Price >0 ? '流水补入' : '现金补入'}}</text>
<text :style="{'width': numberText+'rpx'}">{{$util.fmoney(Math.abs(detailMsg.Add_Amount),2)}}</text>
</view>
</view>
</view>
<h4>稽核反馈</h4>
<template v-if="detailMsg.CheckAccount_Desc">
<view class="main-card desc" >
<text > <text >
{{detailMsg.CheckAccount_Desc }} {{detailMsg.Calibrator_Name ?( detailMsg.Calibrator_Name+''+ detailMsg.CheckAccount_Desc ): detailMsg.CheckAccount_Desc}}
</text> </text>
<ul class="uni-flex ai-center imgList"> <ul class="uni-flex ai-center imgList">
<li v-for="(img,index) in detailMsg.ImageList " :key="index"> <li v-for="(img,index) in detailMsg.ImageList " :key="index">
<image :src="img.ImageUrl " mode="aspectFit" @click="showImg(index)"></image> <image :src="img.ImageUrl " mode="aspectFit" @click="showImg(index)"></image>
</li> </li>
</ul> </ul>
</view> </view>
<view class="uni-flex ai-center" v-if="detailMsg.Check_State!=0">
<text class="uni-icon uni-icon-checkmarkempty"></text>
<text class="checkbox-text ">本次{{detailMsg.Different_Price >0 ? '长款已补齐流水':'短款已补入现金'}}</text>
</view>
</template>
<view class="feedback-box" v-else-if="detailMsg.AuditIurisdiction ==1">
<view class="uni-flex align-center" v-if="detailMsg.Check_State==0">
<checkbox-group @change="changeState">
<label class="checkbox ">
<checkbox :value="saveMsg.isAddIn" checked /><text class="checkbox-text">本次{{detailMsg.Different_Price >0 ? '长款已补齐流水':'短款已补入现金'}}</text>
</label>
</checkbox-group>
<view class="add-amout uni-flex" >
<input type="digit" :value="saveMsg.addAmout" :placeholder="pageMsg.placeAmout" :placeholder-style="{'color':'#C5C4C4','line-height':'56rpx'}" @input="inputAddAmout"/>
<text></text>
</view>
</view>
<textarea v-model="saveMsg.auditExplain" :placeholder="(detailMsg.Different_Price <0 ?'在此输入短款差额的原因并上传短款凭证照片(必填),如未补齐现金,将经过二次审核': '在此输入稽核长款的原因(必填),如未补入流水,将经过二次审核')" class="feedback" placeholder-style="color:#CCCCCC;"/>
<div class="img-box" v-if="detailMsg.Different_Price <0">
<div class="upload-file-container">
<div class="upload-file-unit" v-for="(item,index) in uploadImgList" :key="index">
<span class="upload-file-remove" @click.stop="deleteImgFunc(index)">-</span>
<image mode="aspectFill" :src="item" @tap="showUpImg(index)" />
</div>
<div class="upload-file-add" @click="chooseImage">
<div class="upload-file-add-container"></div>
</div>
</div>
</div>
</view>
<view class="page-bottom" v-if="detailMsg.AuditIurisdiction ==1 && !detailMsg.CheckAccount_Desc"> <view class="page-bottom" v-if="detailMsg.AuditIurisdiction ==1 && !detailMsg.CheckAccount_Desc">
<button type="default" class="main-btn" @tap="toPage"> <button type="default" class="main-btn" @tap="submitMsg">
<image src="/static/images/publicity/ybyj.png" mode="aspectFit"></image> <image src="/static/images/publicity/ybyj.png" mode="aspectFit"></image>
填写稽核反馈 确认反馈
</button> </button>
</view> </view>
</view> </view>
@ -92,10 +129,20 @@
return { return {
pageMsg: { pageMsg: {
id: '', id: '',
isShow: false isShow: false,
ispost: false,
placeAmout: ""
}, },
numberText: 78,
detailMsg:{}, uploadImgList: [], //
saveMsg: {
CheckAccount_Id: '',
auditExplain: '',
isAddIn: true,
imageInfo: '',
addAmout:''
},//
detailMsg:{}, //
} }
}, },
@ -112,6 +159,25 @@
}, },
methods: { methods: {
...mapMutations(['shouldReLoadingList']), ...mapMutations(['shouldReLoadingList']),
inputAddAmout(event) {
this.saveMsg.addAmout = event.detail.value
},
getWidth(data){
let len1 = parseInt(data.Cash)+''
let len2 = parseInt(data.Cash_Pay)+''
let len3 = Math.abs( parseInt(data.Different_Price))+''
let len4 = parseInt(data.Audit_ErrorRate.replace('%','') )+''
let keyLen = [len1.length,len2.length,len3.length,data.Audit_ErrorRate.indexOf('.')>-1? len4.length+1 :len4.length ]
keyLen.sort(function(a,b){
return b-a
})
let len = keyLen[0] < 3 ? keyLen[0]* 2 * 10 + 80 :keyLen[0]* 2 * 10 + 60
this.numberText = len > 100 ? len : 100
},
getDetail() { getDetail() {
let _this = this let _this = this
this.$request.$webGet('Audit/GetAuditDetils',{ CheckAccount_Id: this.pageMsg.id}) this.$request.$webGet('Audit/GetAuditDetils',{ CheckAccount_Id: this.pageMsg.id})
@ -120,8 +186,11 @@
_this.pageMsg.isShow =false _this.pageMsg.isShow =false
_this.detailMsg = {} _this.detailMsg = {}
}else{ }else{
_this.detailMsg = res.Result_Data _this.detailMsg = res.Result_Data
_this.getWidth(res.Result_Data)
_this.pageMsg.placeAmout = (Math.abs( res.Result_Data.Different_Price)).toFixed(2)
_this.pageMsg.isShow = true _this.pageMsg.isShow = true
} }
uni.hideLoading() uni.hideLoading()
@ -129,8 +198,6 @@
}, },
// //
showImg(index) { showImg(index) {
uni.previewImage( { uni.previewImage( {
urls: this.imageList, urls: this.imageList,
current: index, current: index,
@ -138,10 +205,101 @@
indicator: 'number' indicator: 'number'
}); });
}, },
toPage() { // type 1 0
let type = this.detailMsg.Different_Price >0 ? 1 : 0 changeState(e){
this.$util.toNextRoute('navigateTo', '/pages/cashAudit/check?id='+this.pageMsg.id+'&type='+type) this.saveMsg.isAddIn = e.detail.value.length>0 ? true : false
},
deleteImgFunc(index) {
this.uploadImgList.splice(index,1)
},
showUpImg(index) {
uni.previewImage( {
urls: this.uploadImgList,
current: index,
loop: true,
indicator: 'number'
});
},
chooseImage(){
let _this = this
uni.chooseImage({
sourceType: ['camera','album'],
sizeType: 'compressed',
cout: 1 ,
success: (data) => {
if(data.tempFilePaths.length>0) {
data.tempFilePaths.forEach(function (n){
uni.getFileSystemManager().readFile({
filePath: n, //
encoding: 'base64', //
success: function(res) { //
let base64 = 'data:image/jpeg;base64,'+res.data //.replace(/\+/ig,'%2B') //不加上这串字符在页面无法显示的哦
_this.uploadImgList.unshift(base64)
}
})
})
}
},
});
},
submitMsg() {
let _this = this
if(this.ispost) return
if(this.saveMsg.auditExplain.trim().length==0) {
uni.showToast({
title:'请输入异常原因',
icon: 'none'
})
return
}
if(_this.detailMsg.Different_Price<0 && _this.uploadImgList.length==0) {
uni.showToast({
title:'请上传凭证',
icon: 'none'
})
return
}
if(this.saveMsg.isAddIn && _this.saveMsg.addAmout==='0') {
uni.showToast({
title:'补入金额需大于零',
icon: 'none'
})
return
}
uni.showLoading({
title: '正在提交...',
icon:'none'
})
if(this.saveMsg.isAddIn && !_this.saveMsg.addAmout){
_this.saveMsg.addAmout = Math.abs(_this.detailMsg.Different_Price)
}else if(!this.saveMsg.isAddIn){
_this.saveMsg.addAmout = 0
}
this.saveMsg.imageInfo = this.uploadImgList.join('|')
this.$request.$webPost('Audit/UpLoadAuditExplain',this.saveMsg).then(res=>{
if(res.Result_Code!==100) {
uni.showToast({
title: res.Result_Desc,
icon: 'none'
})
}else{
uni.showToast({
title: res.Result_Desc,
icon: 'success'
})
_this.getDetail()
_this.shouldReLoadingList(true)
_this.ispost = false
}
})
} }
}, },
onLoad(option) { onLoad(option) {
@ -150,23 +308,14 @@
title:'正在加载' title:'正在加载'
}) })
this.pageMsg.id = option.id this.pageMsg.id = option.id
this.saveMsg.CheckAccount_Id = option.id
this.getDetail() this.getDetail()
uni.$on('cashAudit',function(data){
if(data) {
uni.showLoading({
title:'正在加载'
})
_this.getDetail()
_this.shouldReLoadingList(true)
}
})
},
onShow(){
}, },
onUnload() { onUnload() {
this.$util.addUserBehavior() this.$util.addUserBehavior()
uni.$off('cashAudit');
} }
} }
@ -174,10 +323,11 @@
<style scoped> <style scoped>
.page-body { .page-body {
height: 100%; min-height: 100%;
padding: 0 25rpx; padding: 40rpx 25rpx;
background-color: #fff; background-color: #fff;
box-sizing: border-box; box-sizing: border-box;
padding-bottom: 196rpx;
} }
.audit-card { .audit-card {
@ -207,7 +357,7 @@
color: #000; color: #000;
} }
.card-bottom, .main-card { .main-card {
width: 700rpx; width: 700rpx;
color: #74838E; color: #74838E;
background: #f8f9fa; background: #f8f9fa;
@ -216,30 +366,40 @@
padding: 24rpx 16rpx; padding: 24rpx 16rpx;
box-sizing: border-box; box-sizing: border-box;
} }
.card-bottom {
padding-bottom: 33rpx; .main-card view> view{
}
.card-bottom view> view,.main-card view> view{
flex: 1; flex: 1;
} }
.card-bottom> view+view,.main-card> view+ view{ .main-card p + p, .main-card >view+ view{
margin-top: 16rpx; margin-top: 16rpx;
} }
.card-bottom view> text,.main-card view> text { .main-card view> text,.main-card view> p,.card-content-title {
font-size: 26rpx; font-size: 26rpx;
/* white-space: nowrap; */
} }
.card-bottom view> text:nth-child(2), .main-card view> text:nth-child(2) { .main-card view> text:nth-child(2),
.card-content-text >p{
color: #000; color: #000;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
min-width: 76rpx;
text-align: right;
max-width: 204rpx;
/* height: 46rpx; */
box-sizing: border-box;
} }
.main-card view > text.price-num {
.main-card view > p.price-num,.main-card view > text.price-num {
color: #DD6060; color: #DD6060;
} }
.main-card.desc { .main-card.desc {
padding-right: 0; padding-right: 0;
margin-bottom: 16rpx;
} }
.main-card.desc text { .main-card.desc text {
padding-right: 16rpx; padding-right: 16rpx;
@ -264,10 +424,139 @@
height: 137rpx; height: 137rpx;
border-radius: 8rpx; border-radius: 8rpx;
} }
.uni-icon-checkmarkempty {
color: #91A6D7;
font-size: 40rpx;
margin-right: 8rpx;
}
/* 稽核反馈输入 */
.feedback-box {
}
.feedback {
width: 100%;
height: 150rpx;
padding: 20rpx 20rpx 0 20rpx;
box-sizing: border-box;
background: #f8f9fa;
border-radius: 14rpx 14rpx 0 0;
}
textarea {
margin-top: 36rpx;
}
checkbox-group {
width: 312rpx;
}
.checkbox-text {
font-size: 26rpx;
color: #8A9DCA;
}
.add-amout {
border: 1rpx solid #f9f9f9;
width: 136rpx;
height: 58rpx;
color: #91A6D7;
font-size: 24rpx;
border-radius: 9rpx;
margin-left: 12rpx;
line-height: 60rpx;
text-align: right;
padding-right: 8rpx;
box-shadow: 0px 0px 6rpx 0px rgba(221,228,243,0.75);
}
.add-amout input {
width: 80%;
color: #333;
font-size: 30rpx;
height: 58rpx;
line-height: 50rpx;
min-height: 58rpx;
padding: 0;
padding-right: 4rpx;
/* border: 1px solid #111; */
}
.img-box {
background: #f8f9fa;
padding: 20rpx 0 20rpx 20rpx;
border-radius: 0 0 14rpx 14rpx;
}
.upload-file-container {
display: flex;
align-items: center;
width: 100%;
/* min-height: 260rpx; */
box-sizing: border-box;
flex-wrap: wrap;
}
.upload-file-add-container {
position: relative;
border: 1rpx solid #ccc;
width: 136rpx;
height: 137rpx;
border-radius: 6rpx;
margin-bottom: 16rpx;
}
.upload-file-add-container::before {
content: '';
display: block;
position: absolute;
left: 40rpx;
top: 50%;
height: 2rpx;
background-color: #ccc;
width: 60rpx;
}
.upload-file-add-container::after {
content: '';
display: block;
position: absolute;
left: 50%;
top: 40rpx;
width: 2rpx;
height: 60rpx;
background-color: #ccc;
}
.upload-file-unit {
position: relative;
width: 137rpx;
height: 136rpx;
margin-right: 32rpx;
margin-bottom: 16rpx;
border-radius: 8rpx;
border: 2rpx solid #ccc;
}
.upload-file-unit image {
width: 136rpx;
height: 136rpx;
border-radius: 8rpx;
}
.upload-file-remove {
position: absolute;
top: -14rpx;
right: -12rpx;
display: inline-block;
width: 37rpx;
height: 37rpx;
line-height: 30rpx;
background-color: #ff0000;
color: #ffffff;
font-size: 30rpx;
border-radius: 50%;
text-align: center;
z-index: 1;
}
/* end */
.page-bottom { .page-bottom {
width: 750rpx; width: 750rpx;
padding: 42rpx 0 43rpx 0;
padding: 42rpx 0 90rpx 0;
background: #f8f9fb; background: #f8f9fb;
position: fixed; position: fixed;
bottom: 0; bottom: 0;
@ -291,6 +580,9 @@
height: 30rpx; height: 30rpx;
margin-right: 16rpx; margin-right: 16rpx;
} }
checkbox .wx-checkbox-input {
width: 40rpx;
height: 40rpx;
}
</style> </style>

View File

@ -32,7 +32,7 @@
import ListUnit from './components/listUnit.vue' import ListUnit from './components/listUnit.vue'
export default { export default {
data() { data() {
let stime = this.$util.cutDate(new Date(),'YYYY-MM-DD',-30) let stime = this.$util.cutDate(new Date(),'YYYY-MM-DD',-6)
let etime = this.$util.cutDate(new Date(),'YYYY-MM-DD') let etime = this.$util.cutDate(new Date(),'YYYY-MM-DD')
return { return {
searchTime:[stime,etime], searchTime:[stime,etime],
@ -192,6 +192,11 @@
.search-button { .search-button {
font-size: 24rpx; font-size: 24rpx;
padding: 0 20rpx; padding: 0 20rpx;
color: #417CF7;
background-color: #F8FCFF;
border: 3rpx solid #6695F8;
line-height: 1.8;
border-radius: 6rpx;
} }
.mr20 { .mr20 {
margin: 0 30rpx 0 16rpx; margin: 0 30rpx 0 16rpx;

View File

@ -1,13 +1,13 @@
<template> <template>
<div class="effectiveDetail"> <div class="effectiveDetail">
<div v-if="effectiveShow && !loading"> <div v-if="effectiveShow && !loading">
<div>
<div class="contentTwo-head"> <div class="contentTwo-head">
<div> <div>
<div class="contentTwo-name "> <div class="contentTwo-name ">
<span class="contentTwo-text uni-ellipsis" :class="{'scan-ico':effectiveDetail.SCAN_TYPE===1,'shouchi-ico':effectiveDetail.SCAN_TYPE===2,'jiekou-ico':effectiveDetail.SCAN_TYPE===3}">{{effectiveDetail.SHOPNAME}}</span> <span class="contentTwo-text uni-ellipsis" :class="{'scan-ico':effectiveDetail.SCAN_TYPE===1,'shouchi-ico':effectiveDetail.SCAN_TYPE===2,'jiekou-ico':effectiveDetail.SCAN_TYPE===3}">{{effectiveDetail.SHOPNAME}}</span>
</div> </div>
<div class="contentTwo-right" style="color: #ec9061;justify-content: flex-end;"> <div class="contentTwo-right" style="color: #F4904E;justify-content: flex-end;">
{{effectiveDetail.TREATMENT_MARK}} {{effectiveDetail.TREATMENT_MARK}}
</div> </div>
</div> </div>
@ -47,37 +47,68 @@
<div class="content-line" ></div> <div class="content-line" ></div>
<div > <div >
<div class="contentTwo-left"><i class="ico ico-user"></i><span class="fourth-name">主任名称</span>{{zhur[0]}}</div> <div class="contentTwo-left"><i class="ico ico-user"></i><span class="fourth-name">主任名称</span>{{endaccountMsg[0]}}</div>
<div class="contentTwo-right"><i class="ico ico-sjx"></i><span>{{zhur[1]}}</span></div> <div class="contentTwo-right"><i class="ico ico-sjx"></i><span>{{endaccountMsg[1]}}</span></div>
</div> </div>
<div> <div>
<div class="lie_right2"> <div class="lie_right2">
<i class="ico ico-bz"></i> <i class="ico ico-bz"></i>
<div class="fourth-name">确认意见</div><span>{{zhur[2]}}</span> <div class="fourth-name">确认意见</div><span>{{endaccountMsg[2]}}</span>
</div> </div>
</div> </div>
</block> </block>
</view> </view>
</div> </div>
<p class="commodityP"> <!-- 稽核信息 -->
<span>营收详情</span> <template v-if="Audit_List.length>0">
<view class="modle-title">
<h2>稽核信息</h2>
</view>
<view >
<view class="crashaudit-cell" :class="{'aready':item.CHECKSTATE}" v-for="(item, index) in Audit_List " :key="index" @click="toPage(item)">
<view class="uni-flex ai-center jc-between">
<text>{{item.CHECK_ENDDATE}}</text>
<text class="status-text">{{!item.CHECKSTATE ? '未处理': '已处理'}}</text>
</view>
<view class="uni-flex ai-center">
<view class="uni-flex ai-center flex-1">
<text >长短款额</text>
<text class="price-text" >{{$util.fmoney(item.DIFFERENT_PRICE)}}</text>
</view>
<view class="uni-flex ai-center flex-1" v-show="item.REPLENISH_AMOUNT!=0">
<text>补入流水</text>
<text >{{$util.fmoney(Math.abs(item.REPLENISH_AMOUNT),2)}}</text>
</view>
</view>
<view class="desc-text" v-show="item.CHECKACCOUNT_DESC">
<text>稽核反馈</text>
<text class="desc-text">{{item.CHECKACCOUNT_DESC}}</text>
</view>
</view>
</view>
</template>
<!-- 营收详情 -->
<view class="modle-title">
<h2>营收详情</h2>
<span class="photo-btn" v-if="imagesList.length>0" @tap="showImg()">查看账单图片</span> <span class="photo-btn" v-if="imagesList.length>0" @tap="showImg()">查看账单图片</span>
</p> </view>
<div class="commodity"> <div class="commodity">
<div> <div>
<div class="commodityContent"> <div class="commodityContent">
<span class="color1">{{CASH}}</span> <span class="color1">{{CASH}}</span>
<div> <div>
<img src="/static/images/effective/ssje.png" /> <!-- <img src="/static/images/effective/ssje.png" /> -->
<span class="ctitle">现金支付</span> <span class="ctitle">现金支付</span>
</div> </div>
</div> </div>
<div class="add">+</div> <div class="add">+</div>
<div class="commodityContent zyborder"> <div class="commodityContent">
<span class="color1">{{MOBILEPAYMENT}}</span> <span class="color1">{{MOBILEPAYMENT}}</span>
<div> <div>
<img src="/static/images/effective/ydzf2.png" /> <!-- <img src="/static/images/effective/ydzf2.png" /> -->
<span class="ctitle">移动支付</span> <span class="ctitle">移动支付</span>
</div> </div>
@ -86,7 +117,7 @@
<div class="commodityContent"> <div class="commodityContent">
<span class="color1">{{TOTALSELLAMOUNT}}</span> <span class="color1">{{TOTALSELLAMOUNT}}</span>
<div> <div>
<img src="/static/images/effective/cdz.png" /> <!-- <img src="/static/images/effective/cdz.png" /> -->
<span class="ctitle">销售金额</span> <span class="ctitle">销售金额</span>
</div> </div>
</div> </div>
@ -95,15 +126,15 @@
<div class="commodityContent"> <div class="commodityContent">
<span class="color1">{{CASHPAY_DOWNLORD}}</span> <span class="color1">{{CASHPAY_DOWNLORD}}</span>
<div> <div>
<img src="/static/images/effective/ssje.png" /> <!-- <img src="/static/images/effective/ssje.png" /> -->
<span class="ctitle">缴款金额</span> <span class="ctitle">缴款金额</span>
</div> </div>
</div> </div>
<div class="add">-</div> <div class="add">-</div>
<div class="commodityContent zyborder"> <div class="commodityContent">
<span class="color1">{{CASH}}</span> <span class="color1">{{CASH}}</span>
<div> <div>
<img src="/static/images/effective/xjzf.png" /> <!-- <img src="/static/images/effective/xjzf.png" /> -->
<span class="ctitle">现金支付</span> <span class="ctitle">现金支付</span>
</div> </div>
@ -112,12 +143,12 @@
<div class="commodityContent"> <div class="commodityContent">
<span class="color1">{{DIFFERENT_PRICE}}</span> <span class="color1">{{DIFFERENT_PRICE}}</span>
<div> <div>
<img src="/static/images/effective/cdk.png" /> <!-- <img src="/static/images/effective/cdk.png" /> -->
<span class="ctitle">长短款额</span> <span class="ctitle">长短款额</span>
</div> </div>
</div> </div>
</div> </div>
<div> <div >
<div class="commodityContent-cashpay"> <div class="commodityContent-cashpay">
<span class="wid70" style="color: #333;">误差率</span> <span class="wid70" style="color: #333;">误差率</span>
<span class="color1" :class="cor">{{wcl}}%</span> <span class="color1" :class="cor">{{wcl}}%</span>
@ -131,37 +162,38 @@
<input v-model="effectiveDetail.CASHPAY" class="cashpay" :disabled="isdisabled" @blur="checkNum($event,'CASHPAY')"> <input v-model="effectiveDetail.CASHPAY" class="cashpay" :disabled="isdisabled" @blur="checkNum($event,'CASHPAY')">
</div> </div>
</div> </div>
</div>
<view class="cashpay-box"> <view class="cashpay-box">
<div> <div>
<img src="/static/images/effective/dpjl.png" alt=""> <image src="/static/images/effective/dpjl.png" alt="">
<span class="cashpay-check">单品记录</span> <span class="cashpay-check">单品记录</span>
<uni-load-more v-if="isFACTAMOUNT_SALE==2" loadingType="1" :contentText="contentText"></uni-load-more> <uni-load-more v-if="isFACTAMOUNT_SALE==2" loadingType="1" :contentText="contentText"></uni-load-more>
<img src="/static/images/effective/true.png" alt="" v-else-if="isFACTAMOUNT_SALE==1"> <image src="/static/images/effective/true.png" alt="" v-else-if="isFACTAMOUNT_SALE==1">
<img src="/static/images/effective/false.png" alt="" v-else> <image src="/static/images/effective/false.png" alt="" v-else>
</div> </div>
<div> <div>
<img src="/static/images/effective/jk.png" /> <image src="/static/images/effective/jk.png" />
<span class="cashpay-check">移动支付</span> <span class="cashpay-check">移动支付</span>
<uni-load-more v-if="isFACT_AMOUNT==2" loadingType="1" :contentText="contentText"></uni-load-more> <uni-load-more v-if="isFACT_AMOUNT==2" loadingType="1" :contentText="contentText"></uni-load-more>
<img src="/static/images/effective/true.png" alt="" v-else-if="isFACT_AMOUNT==1"> <image src="/static/images/effective/true.png" alt="" v-else-if="isFACT_AMOUNT==1">
<img src="/static/images/effective/false.png" alt="" v-else> <image src="/static/images/effective/false.png" alt="" v-else>
</div> </div>
<div v-if="isTICKETCODE_CIGARETTE == true"> <div v-if="isTICKETCODE_CIGARETTE == true">
<img src="/static/images/effective/xysj.png" alt=""> <image src="/static/images/effective/xysj.png" alt="">
<span class="cashpay-check">香烟数据</span> <span class="cashpay-check">香烟数据</span>
<img src="/static/images/effective/true.png" alt=""> <image src="/static/images/effective/true.png" alt="">
</div> </div>
<div v-if="isSELLCOUNT_PROMOTION == true"> <div v-if="isSELLCOUNT_PROMOTION == true">
<img src="/static/images/effective/zxsj.png" /> <image src="/static/images/effective/zxsj.png" />
<span class="cashpay-check">促销数据</span> <span class="cashpay-check">促销数据</span>
<img src="/static/images/effective/true.png" alt=""> <image src="/static/images/effective/true.png" alt="">
</div> </div>
</view> </view>
</div> </div>
<div v-show="showPopupMiddle" class="shenhe-mask" :style="{top:offsetTop + 'px'}" @click.stop="mask()">
</div>
<div v-show="showPopupMiddle" class="shenhe-mask" :style="{top:offsetTop + 'px'}" @click.stop="mask()"></div>
<div class="opinion2" v-show="showPopupYj"> <div class="opinion2" v-show="showPopupYj">
<div > <div >
<p class="opinion2-title"><span>{{isback? '驳回':'确认'}}意见</span></p> <p class="opinion2-title"><span>{{isback? '驳回':'确认'}}意见</span></p>
@ -191,7 +223,6 @@
<span class="color1">{{SALE_CORRECT}}</span> <span class="color1">{{SALE_CORRECT}}</span>
</div> </div>
</div> </div>
<div class="data-check"> <div class="data-check">
<span class="ctitle">移动冲正</span> <span class="ctitle">移动冲正</span>
@ -248,8 +279,8 @@
</div> </div>
</div> </div>
<div class="check-btn-box" v-if="isCheck==2"> <div class="check-btn-box page-btn-box" v-if="isCheck!==0" >
<template v-if="isCheck==2">
<div class="check-btn" @click="menuImg(true)"> <div class="check-btn" @click="menuImg(true)">
<span>驳回</span> <span>驳回</span>
@ -258,9 +289,8 @@
<span>审核</span> <span>审核</span>
</div> </div>
</div> </template>
<div class="check-btn-box" v-else-if="isCheck==1"> <template v-else-if="isCheck==1">
<div class="check-btn" @click="correct" v-if="shouldCorrect"> <div class="check-btn" @click="correct" v-if="shouldCorrect">
<span>一键冲正</span> <span>一键冲正</span>
@ -269,7 +299,9 @@
<span>校验</span> <span>校验</span>
</div> </div>
</template>
</div> </div>
</div> </div>
<div v-else-if="!effectiveShow && !loading"> <div v-else-if="!effectiveShow && !loading">
@ -284,7 +316,7 @@
import uniPopup from '@/components/uni-popup.vue'; import uniPopup from '@/components/uni-popup.vue';
import uniLoadMore from '@/components/uni-load-more.vue'; import uniLoadMore from '@/components/uni-load-more.vue';
import {mapGetters} from "vuex"; import {mapGetters,mapMutations} from "vuex";
export default { export default {
data() { data() {
let offsetTop = 0; let offsetTop = 0;
@ -306,14 +338,13 @@
isCheck: 0, // 0 1 2 isCheck: 0, // 0 1 2
PopupVisible3: false, PopupVisible3: false,
Opinion: "", // Opinion: "", //
trialani: false,
PURCHASEDESC: "", PURCHASEDESC: "",
examineType: "", examineType: "",
opinionType: "", opinionType: "",
moneyJj: "", moneyJj: "",
cans: [], cans: [],
zhur: [], endaccountMsg: [], //
wcl: "", wcl: "",
cor: "", cor: "",
cashpay: "", cashpay: "",
@ -344,12 +375,14 @@
contentnomore: "" contentnomore: ""
}, },
isback:false ,// isback:false ,//
imagesList: [] imagesList: [],
Audit_List: []
} }
}, },
computed:{ computed:{
...mapGetters({ ...mapGetters({
'user':'getUser' 'user':'getUser',
reloading:'shouldReLoadingList'
}), }),
// //
TOTALSELLAMOUNT(){ TOTALSELLAMOUNT(){
@ -398,10 +431,9 @@
components: { components: {
uniPopup, uniPopup,
uniLoadMore uniLoadMore
}, },
methods: { methods: {
...mapMutations(['shouldReLoadingList']),
// //
showImg() { showImg() {
let list = [] let list = []
@ -500,9 +532,14 @@
}).then(res => { }).then(res => {
_this.loading = false _this.loading = false
uni.hideLoading() uni.hideLoading()
if (!res.Result_Code|| res.Result_Code!='100') return if (!res.Result_Code|| res.Result_Code!='100') return
_this.imagesList = res.Result_Data.Image_List _this.imagesList = res.Result_Data.Image_List
if(res.Result_Data.Audit_List){
_this.Audit_List = res.Result_Data.Audit_List.List
}
let _data = res.Result_Data.Endaccount_List let _data = res.Result_Data.Endaccount_List
_this.effectiveShow = true _this.effectiveShow = true
@ -569,7 +606,7 @@
} }
_this.cashpay = _data.CASHPAY _this.cashpay = _data.CASHPAY
_this.cashCorrect = _data.CASH_CORRECT _this.cashCorrect = _data.CASH_CORRECT
_this.zhur = _data.ENDACCOUNT_DESC.split("|"); _this.endaccountMsg = _data.ENDACCOUNT_DESC.split("|");
if (_data.TOTALSELLAMOUNT != 0) { if (_data.TOTALSELLAMOUNT != 0) {
let moj =parseFloat(_data.TOTALSELLAMOUNT)/parseFloat(_data.TICKETCOUNT); let moj =parseFloat(_data.TOTALSELLAMOUNT)/parseFloat(_data.TICKETCOUNT);
let l = moj.toString().indexOf(".") + 3; let l = moj.toString().indexOf(".") + 3;
@ -799,20 +836,17 @@
_this.$request.$post(_this.examineType,JSON).then(res => { _this.$request.$post(_this.examineType,JSON).then(res => {
uni.hideLoading() uni.hideLoading()
if(res.Result_Code == 100){ if(res.Result_Code == 100){
_this.showPopupMiddle = false
_this.showPopupYj = false
_this.getEffectiveDetail()
uni.showToast({ uni.showToast({
icon: 'none', icon: 'none',
title: '审核通过', title: '审核通过',
duration: 1000
});
uni.$emit('datasummary',true) });
}else{
_this.showPopupMiddle = false _this.showPopupMiddle = false
_this.showPopupYj = false _this.showPopupYj = false
_this.getEffectiveDetail() _this.getEffectiveDetail()
uni.$emit('datasummary',true)
}else{
uni.showModal({ uni.showModal({
title:'温馨提示', title:'温馨提示',
content:res.Result_Desc, content:res.Result_Desc,
@ -821,6 +855,9 @@
} }
}) })
_this.showPopupMiddle = false
_this.showPopupYj = false
_this.getEffectiveDetail()
} }
@ -867,12 +904,31 @@
} }
}) })
},
toPage(item){
this.$util.toNextRoute('navigateTo', '/pages/cashAudit/detail?id='+item.CHECKACCOUNT_ID)
} }
}, },
onUnload() { onUnload() {
this.$util.addUserBehavior() this.$util.addUserBehavior()
},
onShow() {
let _this = this
if(this.reloading) {
uni.showLoading({
title:'正在加载'
})
this.getEffectiveDetail()
this.shouldReLoadingList(false)
}
}, },
onLoad(option) { onLoad(option) {
let _this = this
if(option.SERVERPART_ID) { if(option.SERVERPART_ID) {
this.SERVERPART_ID = option.SERVERPART_ID this.SERVERPART_ID = option.SERVERPART_ID
} }
@ -881,6 +937,7 @@
title:'正在加载' title:'正在加载'
}) })
this.getEffectiveDetail() this.getEffectiveDetail()
} }
} }
</script> </script>
@ -892,23 +949,25 @@
.effectiveDetail { .effectiveDetail {
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
/* background-color: #fff; */
padding-bottom: 140rpx;
} }
.contentTwo-head { .contentTwo-head {
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
padding: 20rpx 30rpx; padding: 30rpx 26rpx 0 26rpx;
background-color: #fff;
position: relative; position: relative;
font-size: 24rpx; font-size: 24rpx;
background-color: #fafafa;
} }
/* .content-detail-box{ .content-detail-box {
box-shadow: 0px 1px 8px 0.2px #e2e2e2; box-shadow: 0rpx 2rpx 8rpx 0px rgba(231,231,231,0.67);
border-radius: 10rpx; border-radius: 7rpx;
padding: 0 20rpx; padding: 20rpx 20rpx;
margin-bottom: 20rpx; background-color: #fff;
} */ }
.content-detail-box span{ .content-detail-box span{
font-size: 24rpx; font-size: 24rpx;
} }
@ -939,6 +998,7 @@
display: inline-block; display: inline-block;
color: #979797; color: #979797;
font-size: 24rpx; font-size: 24rpx;
line-height: 60rpx;
} }
.contentTwo-right { .contentTwo-right {
@ -947,6 +1007,7 @@
width: 280rpx; width: 280rpx;
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 24rpx;
} }
.contentTwo-name { .contentTwo-name {
@ -955,7 +1016,7 @@
} }
.contentTwo-text { .contentTwo-text {
font-size: 32rpx; font-size: 30rpx;
} }
.lie_right2 { .lie_right2 {
@ -974,6 +1035,16 @@
margin-top: 20rpx; margin-top: 20rpx;
margin-bottom: 80rpx; margin-bottom: 80rpx;
} }
.page-btn-box {
margin-bottom: 0;
position: fixed;
width: 100%;
background-color: #fafafa;
padding-bottom: 40rpx;
bottom: 0;
left: 0;
z-index: 2;
}
.check-btn { .check-btn {
flex:1; flex:1;
text-align: center; text-align: center;
@ -1055,13 +1126,17 @@
line-height: 80rpx; line-height: 80rpx;
} }
.commodityP { .modle-title {
color: #b7b8ba; color: #000;
padding: 0.5rem; padding: 36rpx 30rpx 24rpx 30rpx;
font-size: 26rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.modle-title h2 {
font-weight: bolder;
}
.photo-btn { .photo-btn {
display: flex; display: flex;
align-items: center; align-items: center;
@ -1097,7 +1172,7 @@
font-size: 24rpx; font-size: 24rpx;
color: #333; color: #333;
} }
.add{ .add {
width: 20rpx; width: 20rpx;
text-align: center; text-align: center;
} }
@ -1118,21 +1193,6 @@
padding-top: 0.5rem; padding-top: 0.5rem;
} }
.trialani {
width: 10rem;
height: 6rem;
box-shadow: 0px 1px 8px 0.2px #e2e2e2;
text-align: center;
background-color: #fff;
position: fixed;
top: 42%;
left: 50%;
-webkit-transform: translate3d(-50%, -50%, 0);
-moz-transform: translate3d(-50%, -50%, 0);
-o-transform: translate3d(-50%, -50%, 0);
-ms-transform: translate3d(-50%, -50%, 0);
transform: translate3d(-50%, -50%, 0);
}
.commodity { .commodity {
width: 100%; width: 100%;
@ -1154,7 +1214,6 @@
width: 100%; width: 100%;
text-align: center; text-align: center;
background-size: contain; background-size: contain;
margin-top: 2rpx;
} }
.commodity>div:last-child{ .commodity>div:last-child{
padding-top: 12rpx; padding-top: 12rpx;
@ -1167,22 +1226,17 @@
/* display: inline-block; */ /* display: inline-block; */
vertical-align: middle; vertical-align: middle;
} }
.cashpay-box img,.to-examine img{ .cashpay-box image,.to-examine img{
width: 40rpx; width: 40rpx;
height: 40rpx; height: 40rpx;
} }
.color1 { .color1 {
display: block;
text-align: left;
color: #333; color: #333;
font-size:28rpx; font-size:28rpx;
line-height: 60rpx; line-height: 56rpx;
} }
.ctitle { .ctitle {
display: inline-block;
text-align: left;
vertical-align: middle;
color: #63A0E5; color: #63A0E5;
font-size: 24rpx; font-size: 24rpx;
} }
@ -1200,7 +1254,7 @@
left: 0; left: 0;
background-color: rgba(0, 0, 0, .6); background-color: rgba(0, 0, 0, .6);
} }
.text-content{ .text-content {
height: 150rpx; height: 150rpx;
width: 100%; width: 100%;
font-size: 28rpx font-size: 28rpx
@ -1216,8 +1270,7 @@
.cashpay{ .cashpay{
display: inline-block; display: inline-block;
border-bottom: 1rpx solid #63a0e5; border-bottom: 1rpx solid #63a0e5;
/* border-radius: 10rpx; */
/* margin-left: 10rpx; */
padding-left: 16rpx; padding-left: 16rpx;
height: 60rpx; height: 60rpx;
line-height: 60rpx; line-height: 60rpx;
@ -1225,15 +1278,16 @@
box-sizing: border-box; box-sizing: border-box;
width: 160rpx; width: 160rpx;
} }
.cashpay-box{ .cashpay-box {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
background-color: #eeeeee; background-color: #f8f9fb;
padding: 30rpx; padding: 26rpx 34rpx;
flex-wrap: wrap; flex-wrap: wrap;
/* margin: 0 26rpx; */
} }
.cashpay-box>div{ .cashpay-box > div{
width: 50%; width: 50%;
display: flex; display: flex;
align-items: center; align-items: center;
@ -1334,4 +1388,61 @@
.ico-sjx:before{ .ico-sjx:before{
background-image: url('/static/images/expense/sjx.png'); background-image: url('/static/images/expense/sjx.png');
} }
/* 稽核信息 */
.crashaudit-cell {
margin: 0 26rpx;
background: #ffffff;
border-radius: 8rpx;
box-shadow: 0rpx 2rpx 8rpx 0rpx rgba(231,231,231,0.67);
overflow: hidden;
position: relative;
padding: 10rpx 30rpx 16rpx 30rpx;
}
.crashaudit-cell + .crashaudit-cell {
margin-top: 22rpx;
}
.crashaudit-cell::before {
content: '';
display: block;
width: 6rpx;
height: 100%;
background-color: #4da2eb;
position: absolute;
left: 0;
top: 0;
z-index: 1;
}
.crashaudit-cell.aready::before {
background-color: #dbdbdb;
}
.crashaudit-cell > view {
margin-bottom: 8rpx;
}
.crashaudit-cell >view+view {
margin-bottom: 0rpx;
}
.crashaudit-cell text{
font-size: 22rpx;
}
.crashaudit-cell text.status-text {
color: #F4904E;
font-size: 24rpx;
}
.crashaudit-cell.aready text.status-text {
color: #ADB2BF;
}
.crashaudit-cell .price-text {
color: #D75B5B;
}
.crashaudit-cell view .flex-1 {
flex: 1;
}
.crashaudit-cell view > text:first-child {
color: #ADB2BF;
}
.crashaudit-cell view.desc-text {
line-height: 1.4;
}
</style> </style>

View File

@ -269,9 +269,10 @@
_this.mbwaShow =true _this.mbwaShow =true
_this.showData = rs.Data _this.showData = rs.Data
_this.showData.status = keys[_this.showData.PROCESSMODE] _this.showData.status = keys[_this.showData.PROCESSMODE]
let processmode = parseInt(_this.showData.PROCESSMODE)
if(_this.showData.SORTNUM===0){ if(_this.showData.SORTNUM==0){
switch (_this.showData.PROCESSMODE){ switch (processmode){
case 1: case 1:
_this.getDEALER() _this.getDEALER()
_this.isManager = 1 _this.isManager = 1
@ -285,6 +286,7 @@
default: default:
break; break;
} }
_this.$forceUpdate()
} }
let arr = [] let arr = []
let dealerImgList = [] let dealerImgList = []

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1,7 +1,7 @@
export default { export default {
baseURL: 'https://user.eshangtech.com/Coop.Merchant/Handler/handler_ajax.ashx', // 合作商户请求 baseURL: 'https://user.eshangtech.com/Coop.Merchant/Handler/handler_ajax.ashx', // 合作商户请求
// baseURL: 'http://192.168.11.140:8999/Coop.Merchant/Handler/handler_ajax.ashx', // 合作商户请求 // baseURL: 'http://192.168.11.140:8000/Coop.Merchant/Handler/handler_ajax.ashx', // 合作商户请求
mpUrl: 'https://mp.eshangtech.com/Coop.Merchant/Handler/handler_ajax.ashx', // 接口 mpUrl: 'https://mp.eshangtech.com/Coop.Merchant/Handler/handler_ajax.ashx', // 接口
apiurl: 'https://api.eshangtech.com/', // web api/WeChatPushAPI/ apiurl: 'https://api.eshangtech.com/', // web api/WeChatPushAPI/