注释交班次 增加霸王餐返回提示

This commit is contained in:
魏啾
2024-11-04 15:47:39 +08:00
parent 12890fe257
commit 37f7020906
2 changed files with 7 additions and 5 deletions

View File

@@ -83,6 +83,9 @@
title: '保存成功'
})
Object.assign(form, res)
setTimeout(()=>{
uni.navigateBack()
},1500)
}
onShow(() => {
getlist()

View File

@@ -110,7 +110,7 @@
<view class="constantbox">
<view class="constantboxitem">
<view class="head">班次号</view>
<view class="head">班次</view>
<!-- <view class="head">班次</view> -->
<view class="head">交班人</view>
<view class="head">开班时间</view>
<view class="head">交班时间</view>
@@ -187,7 +187,7 @@
} from '@/http/yskApi/pageWorkControl.js'
function toDetail(item) {
go.to('PAGES_WORK_HANDOVER_DETAIL', item)
// go.to('PAGES_WORK_HANDOVER_DETAIL', item)
}
function toSetting() {
@@ -348,9 +348,8 @@
const datePicker = ref(null)
function datePickerConfirm(e) {
filters.time.start = new Date(e.start).getTime()
filters.time.end = new Date(e.end).getTime()
console.log(filters);
filters.time.start = new Date(e.start.replaceAll('-', '/')).getTime()
filters.time.end = new Date(e.end.replaceAll('-', '/')).getTime()
getTableData()
}