|
@ -579,6 +579,9 @@ const searchFormClick = (searchData) => { |
|
|
const submitFormLabel = async (formType, data) => { |
|
|
const submitFormLabel = async (formType, data) => { |
|
|
try { |
|
|
try { |
|
|
detatableData.tableList.forEach(async (item) => { |
|
|
detatableData.tableList.forEach(async (item) => { |
|
|
|
|
|
// 创建标签 要物料库区配置表中 入库包装规格 |
|
|
|
|
|
item.packUnit = null |
|
|
|
|
|
item.inOfOut = 'in' |
|
|
await PackageApi.createPackageLabel(item).then(res => { |
|
|
await PackageApi.createPackageLabel(item).then(res => { |
|
|
isCreateLabel.value = true |
|
|
isCreateLabel.value = true |
|
|
message.success('创建标签成功') |
|
|
message.success('创建标签成功') |
|
@ -643,10 +646,10 @@ const handlePoint = async (row) => { |
|
|
// 判断是采购还是制造 |
|
|
// 判断是采购还是制造 |
|
|
if (isCreateLabel.value) { |
|
|
if (isCreateLabel.value) { |
|
|
if (labelType.value == 'cg') { |
|
|
if (labelType.value == 'cg') { |
|
|
const src = ref(BASE_URL + '/jmreport/view/922734157577715712?token=' + getAccessToken()) |
|
|
const src = ref(BASE_URL + '/jmreport/view/922729953438072832?token=' + getAccessToken()) |
|
|
window.open(src.value+'&request_number='+row.number) |
|
|
window.open(src.value+'&request_number='+row.number) |
|
|
} else { |
|
|
} else { |
|
|
const src = ref(BASE_URL + '/jmreport/view/922729953438072832?token=' + getAccessToken()) |
|
|
const src = ref(BASE_URL + '/jmreport/view/922734157577715712?token=' + getAccessToken()) |
|
|
window.open(src.value+'&request_number='+row.number) |
|
|
window.open(src.value+'&request_number='+row.number) |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|