|
|
@ -70,7 +70,7 @@ |
|
|
|
import { getManagementPrecisions } from '@/common/balance.js' |
|
|
|
|
|
|
|
import { getProductReceiptJobDetail, takeProductReceiptJob, cancleTakeProductReceiptJob, ccProductReceiptJobsubmit } from '@/api/request2.js' |
|
|
|
import { goHome, navigateBack, getPackingNumberAndBatch } from '@/common/basic.js' |
|
|
|
import { goHome, navigateBack, getPackingNumberAndBatch ,getSwitchInfoByCode} from '@/common/basic.js' |
|
|
|
|
|
|
|
import { getDirectoryItemArray, getInventoryStatusName } from '@/common/directory.js' |
|
|
|
|
|
|
@ -291,10 +291,13 @@ |
|
|
|
showErrorMessage('扫描数为0,请先扫描') |
|
|
|
return |
|
|
|
} |
|
|
|
// 校验库位、 |
|
|
|
if (!checkLocation()) { |
|
|
|
return |
|
|
|
} |
|
|
|
let valiDate = getSwitchInfoByCode("fgProductReceipCommitValidate") |
|
|
|
//校验库位 |
|
|
|
if(valiDate){ |
|
|
|
if (!this.checkLocation()) { |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 扫描数量和任务数量相等,直接提交 |
|
|
|
if (scanCount.value == subList.value.length) { |
|
|
|