交班记录
This commit is contained in:
parent
f6543e093f
commit
8e28710d4e
|
|
@ -1,8 +1,8 @@
|
|||
<template>
|
||||
<view class="top fixed-top bg-fff">
|
||||
<my-tabs :list="tabs.list" @change="tabsChange"></my-tabs>
|
||||
<!-- <my-tabs :list="tabs.list" @change="tabsChange"></my-tabs> -->
|
||||
<view class="u-flex color-main u-m-t-32 " v-if="tabs.current===1">
|
||||
<!-- <view class="u-flex u-p-l-20 " @tap="showJiaobanPickerView">
|
||||
<!-- <view class="u-flex u-p-l-20 " @tap="showJiaobanPickerView">
|
||||
<view class=" u-flex u-row-between ">
|
||||
<view>
|
||||
<text class="" v-if="filters.jiaobanSelItem===''">暂未选择</text>
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
</view>
|
||||
</view>
|
||||
<template v-if="tabs.current===0">
|
||||
<view class="color-333 u-font-28 min-page bg-gray default-box-padding" style="padding-top: 83px;">
|
||||
<view class="color-333 u-font-28 min-page bg-gray default-box-padding" style="padding-top: 43px;">
|
||||
<view class="bg-fff border-r-12 default-box-padding">
|
||||
<view>
|
||||
<view class="font-bold">是否打印销售区间的商品数据</view>
|
||||
|
|
@ -104,7 +104,7 @@
|
|||
</view>
|
||||
</template>
|
||||
<template v-if="tabs.current===1">
|
||||
<view class="color-333 u-font-28 min-page bg-gray default-box-padding" style="padding-top: 116px;">
|
||||
<view class="color-333 u-font-28 min-page bg-gray default-box-padding" style="padding-top:80px;">
|
||||
<scroll-view :scroll-x="true" class="bg-fff table u-text-center">
|
||||
<view class="bg-fff border-r-12 u-flex no-wrap u-col-top">
|
||||
<view class="constantbox">
|
||||
|
|
@ -205,7 +205,7 @@
|
|||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '确认交班吗?',
|
||||
success:async (res) => {
|
||||
success: async (res) => {
|
||||
if (res.confirm) {
|
||||
await handoverData({
|
||||
isprintProduct: banci.switchvalue
|
||||
|
|
@ -312,7 +312,7 @@
|
|||
|
||||
const tabs = reactive({
|
||||
list: ['交班', '交班记录'],
|
||||
current: 0
|
||||
current: 1
|
||||
})
|
||||
|
||||
// 切换tab
|
||||
|
|
@ -323,9 +323,7 @@
|
|||
clearTime()
|
||||
if (tabs.current == 1) {
|
||||
resetHandle()
|
||||
} else {
|
||||
|
||||
}
|
||||
} else {}
|
||||
}
|
||||
|
||||
const filters = reactive({
|
||||
|
|
@ -394,7 +392,7 @@
|
|||
onShow(() => {
|
||||
form.jiaobanTime = new Date()
|
||||
updateJiaoban()
|
||||
|
||||
resetHandle()
|
||||
})
|
||||
onHide(() => {
|
||||
clearInterval(timer)
|
||||
|
|
|
|||
Loading…
Reference in New Issue