Commit 043a4dd6 by cen

Merge branch 'SAAS+V5.0.0-1014' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V5.0.0-1014

2 parents dacabcdd f6acc6a6
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<view class="repoet-box"> <view class="repoet-box">
<template v-if="loadComplete"> <template v-if="loadComplete">
<view class="box"> <view :class="['box',{'hide-box':!isDateWithin7Days && !orderObj.id}]">
<view class="sub-title">二手车日报</view> <view class="sub-title">二手车日报</view>
<template v-for="(i,index) in reportObject"> <template v-for="(i,index) in reportObject">
...@@ -368,7 +368,7 @@ export default { ...@@ -368,7 +368,7 @@ export default {
left: 0; left: 0;
bottom: 0; bottom: 0;
right: 0; right: 0;
background: #f1f4ff; // background: #f1f4ff;
backdrop-filter: blur(8px); backdrop-filter: blur(8px);
z-index: 2; z-index: 2;
flex-direction: column; flex-direction: column;
...@@ -456,6 +456,9 @@ export default { ...@@ -456,6 +456,9 @@ export default {
border-bottom: none; border-bottom: none;
} }
} }
.hide-box{
opacity: 0;
}
.btn-box { .btn-box {
height: toRpx(128); height: toRpx(128);
padding: 0 toRpx(128); padding: 0 toRpx(128);
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
</view> </view>
<view class="detail-right"> <view class="detail-right">
<component <component
:ref="`detail-${toolComponentName}-Ref`"
:is="toolComponentName" :is="toolComponentName"
@jump="jump" @jump="jump"
:transmission-of-data="transmissionOfData" :transmission-of-data="transmissionOfData"
...@@ -165,6 +166,14 @@ export default { ...@@ -165,6 +166,14 @@ export default {
} }
}, },
changeDate (e) { changeDate (e) {
let dailyReportRef = this.$refs['detail-DailyReport-Ref']
if(dailyReportRef){
let { isDateWithin7Days , orderObj , isFilled} = dailyReportRef
if((!isDateWithin7Days && !orderObj.id )|| isFilled) {
this.$refs.calendar.manualChangeDate(e)
return
}
}
this.openNotice(null, false, _ => { this.openNotice(null, false, _ => {
this.$refs.calendar.manualChangeDate(e) this.$refs.calendar.manualChangeDate(e)
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!