4.29新购问题处理
This commit is contained in:
parent
1d79fee877
commit
db0a81b143
|
|
@ -194,21 +194,22 @@
|
||||||
title: '未选中审核项!'
|
title: '未选中审核项!'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
that.totalGoods.forEach(item => {
|
const ifManage = that.totalGoods.every(item => item.manageType != 0)
|
||||||
console.log(item);
|
console.log(ifManage);
|
||||||
if (item.manageType == 0) {
|
if (ifManage) {
|
||||||
if (item.maCode == null) {
|
that.openPopup()
|
||||||
|
} else {
|
||||||
|
console.log(that.totalGoods);
|
||||||
|
const ifCoded = that.totalGoods.every(item => item.maCode != null)
|
||||||
|
if (ifCoded) {
|
||||||
|
that.openPopup()
|
||||||
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
title: '该机具编码未绑定,无法审核!'
|
title: '选中项中存在未编码的机具,无法审核!'
|
||||||
})
|
})
|
||||||
} else {
|
|
||||||
that.openPopup()
|
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
that.openPopup()
|
|
||||||
}
|
}
|
||||||
})
|
|
||||||
/* uni.showModal({
|
/* uni.showModal({
|
||||||
title: '新购明细审核',
|
title: '新购明细审核',
|
||||||
content: '是否确定审核通过?',
|
content: '是否确定审核通过?',
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -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
Loading…
Reference in New Issue