|
@ -261,10 +261,11 @@ const handleCreateInspectRequest = async (number:string) => { |
|
|
const searchTableRef = ref() |
|
|
const searchTableRef = ref() |
|
|
const labelType = ref('') // 标签类别 采购还是制造等 |
|
|
const labelType = ref('') // 标签类别 采购还是制造等 |
|
|
const labelPrint = async (row) => { |
|
|
const labelPrint = async (row) => { |
|
|
|
|
|
|
|
|
tableObject.loading = true |
|
|
tableObject.loading = true |
|
|
//获取类型 |
|
|
//获取类型 |
|
|
let resType = await PackageApi.getPackagePage({ |
|
|
let resType = await PackageApi.getPackagePage({ |
|
|
requestNumber: row.requestNumber |
|
|
requestNumber: row.requestNumber==null?row.number:row.requestNumber |
|
|
}) |
|
|
}) |
|
|
if(resType.list.length > 0) { |
|
|
if(resType.list.length > 0) { |
|
|
if (resType.list[0].productionLineCode != null) { |
|
|
if (resType.list[0].productionLineCode != null) { |
|
@ -273,7 +274,7 @@ const labelPrint = async (row) => { |
|
|
labelType.value = 'cg' |
|
|
labelType.value = 'cg' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
const defaultParams = {'moduleName':'productreceipt_assemble','recordNumber':row.requestNumber} |
|
|
const defaultParams = {'moduleName':'productreceipt_assemble','recordNumber':row.requestNumber==null?row.number:row.requestNumber} |
|
|
const {tableObject:tableObjectPrint ,tableMethods} = useTable({ |
|
|
const {tableObject:tableObjectPrint ,tableMethods} = useTable({ |
|
|
defaultParams, |
|
|
defaultParams, |
|
|
getListApi: PackageApi.getLabelDetailPage // 分页接口 |
|
|
getListApi: PackageApi.getLabelDetailPage // 分页接口 |
|
|