@ -768,7 +768,7 @@ export function mainListDocumentPrintBtn(option:any) {
// 主列表-生成到货检验申请
export function mainInspectRequestBtn(option:any) {
return __defaultBtnOption(option,{
label: '生成到货检验申请',
label: '发送到货检验申请',
name: 'inspectRequest',
hide: false,
type: 'primary',
@ -190,7 +190,7 @@ const handleCreateInspectRequest = async (number:string) => {
try{
await message.confirm(t('确认生成到货检验申请吗?'))
tableObject.loading = true
await PurchasereceiptRecordMainApi.createPutawayRequest(number)
await PurchasereceiptRecordMainApi.createInspectRequest(number)
message.success(t('到货检验申请生成成功'))
await getList()
}catch{}finally{