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