Compare commits
No commits in common. "ea1837d6ce8059f4dabae8dea98d8ea3ef35fe67" and "6bfb3dc4bebdba748f7904eb2d82c4b181b6887d" have entirely different histories.
ea1837d6ce
...
6bfb3dc4be
|
|
@ -194,23 +194,7 @@
|
||||||
title: '未选中审核项!'
|
title: '未选中审核项!'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
const ifManage = that.totalGoods.every(item => item.manageType != 0)
|
that.totalGoods.forEach(item => {
|
||||||
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: '选中项中存在未编码的机具,无法审核!'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/* that.totalGoods.forEach(item => {
|
|
||||||
console.log(item);
|
console.log(item);
|
||||||
if (item.manageType == 0) {
|
if (item.manageType == 0) {
|
||||||
if (item.maCode == null) {
|
if (item.maCode == null) {
|
||||||
|
|
@ -224,7 +208,7 @@
|
||||||
} else {
|
} else {
|
||||||
that.openPopup()
|
that.openPopup()
|
||||||
}
|
}
|
||||||
}) */
|
})
|
||||||
/* uni.showModal({
|
/* uni.showModal({
|
||||||
title: '新购明细审核',
|
title: '新购明细审核',
|
||||||
content: '是否确定审核通过?',
|
content: '是否确定审核通过?',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue