Commit ec8c74ec by 岑成威

Merge branch 'SAAS+V5.8.4' of 192.168.3.233:glsx/gl_tape into SAAS+V5.8.4

2 parents 24270ac6 1c03567a
......@@ -95,7 +95,7 @@ export default {
computed: {
currentDateText() {
let { currentDate } = this,
dayText = dayjs(currentDate).format('M日D日'),
dayText = dayjs(currentDate).format('YY-MM-DD'),
weekText = this.weekCN[currentDate.day()],
/**今天/明天/昨天/N天前/N天后 */
desc = this.getDateTips(currentDate)
......
......@@ -47,10 +47,12 @@
</view>
<view class="footer">
<Footer>
<view class="btn default-btn" @click="$emit('showNegotiationList')">查看洽谈明细表汇总</view>
<view class="btn default-btn" @click="saveBtn = true" v-if="!saveBtn">编辑</view>
<view class="btn default-btn" @click="$emit('saveReport', list)" v-else>保存</view>
<view class="btn" @click="$emit('submitReport', list)">上报数据</view>
<view :class="['btn default-btn', { w50: !saveBtn }]" @click="$emit('showNegotiationList')">查看洽谈明细表汇总</view>
<view :class="['btn default-btn',{w50:!saveBtn}]" @click="saveBtn = true" v-if="!saveBtn">编辑</view>
<template v-else>
<view class="btn default-btn" @click="$emit('saveReport', list)">保存</view>
<view class="btn" @click="$emit('submitReport', list)">上报数据</view>
</template>
</Footer>
</view>
</template>
......@@ -73,7 +75,7 @@ import DailyPopup from '../components/DailyPopup/index.vue'
export default {
name: 'StoreDailyReport',
components: { Table, Nothing, Footer, EditForm, FormItem, DailyPopup },
inject: ['userInfo','sceneType'],
inject: ['userInfo', 'sceneType'],
props: {
templateData: {
type: Array,
......@@ -104,7 +106,7 @@ export default {
},
ReportStatus: {
handler(val) {
this.saveBtn = val !== 0
this.saveBtn = val != 1
},
immediate: true,
deep: true
......@@ -242,6 +244,7 @@ export default {
flex-wrap: wrap;
gap: toRpx(24) toRpx(32);
align-content: start;
.list-item {
width: calc(50% - #{toRpx(16)});
}
......@@ -327,6 +330,7 @@ export default {
}
}
}
.disabled {
opacity: .5;
}
......@@ -390,6 +394,9 @@ export default {
background: #3b73ff1a;
color: #4673ff;
}
.w50{
width: calc(100% / 2 - #{toRpx(32)});
}
}
}
</style>
\ No newline at end of file
<template>
<view class="report-content ">
<view :class="['report-component', { 'opacity': showNegotiationList }, { 'show': showReport }]">
<template v-if="!editableDate || ReportStatus == 1">
<template v-if="!editableDate">
<Detail :templateData="templateData" />
</template>
<template v-else>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!