4.29新购问题处理

This commit is contained in:
FrancisHu 2024-04-29 17:08:09 +08:00
parent 1d79fee877
commit db0a81b143
7 changed files with 21 additions and 20 deletions

View File

@ -194,21 +194,22 @@
title: '未选中审核项!'
})
} else {
that.totalGoods.forEach(item => {
console.log(item);
if (item.manageType == 0) {
if (item.maCode == null) {
uni.showToast({
icon: 'none',
title: '该机具编码未绑定,无法审核!'
})
} else {
that.openPopup()
}
} else {
const ifManage = that.totalGoods.every(item => item.manageType != 0)
console.log(ifManage);
if (ifManage) {
that.openPopup()
} else {
console.log(that.totalGoods);
const ifCoded = that.totalGoods.every(item => item.maCode != null)
if (ifCoded) {
that.openPopup()
} else {
uni.showToast({
icon: 'none',
title: '选中项中存在未编码的机具,无法审核!'
})
}
})
}
/* uni.showModal({
title: '新购明细审核',
content: '是否确定审核通过?',

Binary file not shown.

View File

@ -1 +1 @@
https://app.liuyingyong.cn/build/download/26206c70-053c-11ef-a87d-2bd7f634329a
https://app.liuyingyong.cn/build/download/0deb1020-053e-11ef-9db3-db37c213f919

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long