Browse Source

1、工序报工-对接工单页面

master
bjang03 10 months ago
parent
commit
b631d53c9e
  1. 8
      src/pages/mes/workScheduling/processReportPeopleCheck.vue

8
src/pages/mes/workScheduling/processReportPeopleCheck.vue

@ -30,6 +30,7 @@ import { getCurrentInstance, ref } from "vue"
import tags from "@components/tags/index.vue" import tags from "@components/tags/index.vue"
import * as workSchedulingApi from "@/api/mes/workScheduling" import * as workSchedulingApi from "@/api/mes/workScheduling"
import * as workSchedulingListApi from "@/api/mes/workScheduling" import * as workSchedulingListApi from "@/api/mes/workScheduling"
import { _toast } from "@/utils/common"
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
@ -45,7 +46,7 @@ const data = ref({
nickName: '' nickName: ''
}) })
let show = false let show = false
let checked = [] let checked: string | any[] = []
/* 是否显示"没有更多了" */ /* 是否显示"没有更多了" */
const status = ref('loadmore') const status = ref('loadmore')
/* 列表数据集 */ /* 列表数据集 */
@ -70,7 +71,7 @@ async function getList() {
}) })
proxy.$modal.closeLoading() proxy.$modal.closeLoading()
} }
function checkChange(checkedArray) { function checkChange(checkedArray: any[]) {
checked = checkedArray checked = checkedArray
} }
/* 打开详情页 */ /* 打开详情页 */
@ -86,7 +87,8 @@ onShow(() => {
}) })
function onSubmit() { function onSubmit() {
if (checked.length == 0){ if (checked.length == 0){
show = true _toast("请选择人员")
return
} }
uni.setStorageSync("processReportList", checked) uni.setStorageSync("processReportList", checked)
uni.redirectTo({ uni.redirectTo({

Loading…
Cancel
Save