4.28第一次修改
This commit is contained in:
parent
8c7c7f40dd
commit
dcf7a983db
|
|
@ -194,7 +194,23 @@
|
||||||
title: '未选中审核项!'
|
title: '未选中审核项!'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
that.totalGoods.forEach(item => {
|
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: '选中项中存在未编码的机具,无法审核!'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* 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) {
|
||||||
|
|
@ -208,7 +224,7 @@
|
||||||
} else {
|
} else {
|
||||||
that.openPopup()
|
that.openPopup()
|
||||||
}
|
}
|
||||||
})
|
}) */
|
||||||
/* uni.showModal({
|
/* uni.showModal({
|
||||||
title: '新购明细审核',
|
title: '新购明细审核',
|
||||||
content: '是否确定审核通过?',
|
content: '是否确定审核通过?',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue