This commit is contained in:
parent
9fab328b5c
commit
42448a64fe
|
|
@ -685,6 +685,13 @@ const saveNumAll = async () => {
|
||||||
uni.showToast({ title: '返厂维修请选择厂家!', icon: 'none' })
|
uni.showToast({ title: '返厂维修请选择厂家!', icon: 'none' })
|
||||||
}else if(formRight.value.scrapNum > 0 && !formRight.value.scrapReason && !formRight.value.scrapId) {
|
}else if(formRight.value.scrapNum > 0 && !formRight.value.scrapReason && !formRight.value.scrapId) {
|
||||||
uni.showToast({ title: '维修报废请填写报废原因!', icon: 'none' })
|
uni.showToast({ title: '维修报废请填写报废原因!', icon: 'none' })
|
||||||
|
}else if (
|
||||||
|
Number(formLeft.value.repairNum) +
|
||||||
|
Number(formMiddle.value.repairNum) +
|
||||||
|
Number(formRight.value.scrapNum) >
|
||||||
|
Number(queryParams.value.waitRepairNum)
|
||||||
|
) {
|
||||||
|
uni.showToast({ title: '总数量不可大于待修数量!', icon: 'none' })
|
||||||
}else {
|
}else {
|
||||||
if (loading.value) {
|
if (loading.value) {
|
||||||
uni.showToast({ title: '请勿重复提交!', icon: 'none' })
|
uni.showToast({ title: '请勿重复提交!', icon: 'none' })
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue