This commit is contained in:
bb_pan 2025-06-03 18:07:17 +08:00
parent 92659d4e5f
commit 6f0bcc7c09
1 changed files with 1 additions and 6 deletions

View File

@ -165,7 +165,7 @@ const getList = async () => {
if (!opts.value.isOut && item.taskStatus != 4) {
options = options.filter((option) => option.text !== '提交')
}
if (item.taskStatus == 1 || item.taskStatus == 5) {
if (item.taskStatus == 5) {
//
options = options.filter((option) => option.text !== '编辑' && option.text !== '删除')
@ -371,11 +371,6 @@ onLoad((opt) => {
console.log('🚀 ~ onLoad ~ opt:', opt)
opts.value = opt.params ? JSON.parse(opt.params) : {}
title.value = opts.value.isOut ? '工器具出库' : '工器具领料'
// isOut false
if (!opts.value.isOut) {
options.value = options.value.filter((item) => item.text !== '提交')
}
console.log('🚀 ~ onLoad ~ options.value:', options.value)
})
onShow(() => {
setTimeout(() => {