|
@ -198,7 +198,6 @@ const butttondata = (row,$index) => { |
|
|
// defaultButtons.mainInspectRequestBtn({hasPermi:'wms:productreceipt-record-main:createInspectRequest',hide:row.inspectRequestFlag == "FALSE" }),// 生成到货检验申请 |
|
|
// defaultButtons.mainInspectRequestBtn({hasPermi:'wms:productreceipt-record-main:createInspectRequest',hide:row.inspectRequestFlag == "FALSE" }),// 生成到货检验申请 |
|
|
defaultButtons.mainInspectRequestBtn({hide:row.inspectRequestFlag == "FALSE" }),// 生成到货检验申请 |
|
|
defaultButtons.mainInspectRequestBtn({hide:row.inspectRequestFlag == "FALSE" }),// 生成到货检验申请 |
|
|
defaultButtons.mainListPointBtn(null), // 标签打印 |
|
|
defaultButtons.mainListPointBtn(null), // 标签打印 |
|
|
defaultButtons.mainListRecoveryBtn(null), // 制品回收 |
|
|
|
|
|
] |
|
|
] |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -208,11 +207,8 @@ const buttonTableClick = async (val, row) => { |
|
|
handleCreateInspectRequest(row.number) |
|
|
handleCreateInspectRequest(row.number) |
|
|
} else if (val == 'point') { // 标签打印 |
|
|
} else if (val == 'point') { // 标签打印 |
|
|
labelPrint(row) |
|
|
labelPrint(row) |
|
|
} else if (val == 'recovery') { //制品回收 |
|
|
|
|
|
labelRecovery(row) |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const BASE_URL = getJmreportBaseUrl() |
|
|
const BASE_URL = getJmreportBaseUrl() |
|
|
// 标签打印 |
|
|
// 标签打印 |
|
|
const searchTableRef = ref() |
|
|
const searchTableRef = ref() |
|
@ -245,18 +241,6 @@ const labelPrint = async (row) => { |
|
|
}) |
|
|
}) |
|
|
searchTableRef.value.openData("标签信息",tableObjectPrint,{tableColumns},true) |
|
|
searchTableRef.value.openData("标签信息",tableObjectPrint,{tableColumns},true) |
|
|
} |
|
|
} |
|
|
//制品回收按钮事件 |
|
|
|
|
|
const labelRecovery = async (row) => { |
|
|
|
|
|
try { |
|
|
|
|
|
await message.confirm(t('ts.确认撤销报工吗?')) |
|
|
|
|
|
tableObject.loading = true |
|
|
|
|
|
let resType = await ProductreceiptRecordMainApi.handleRecoveryProductreceiptRecord(row) |
|
|
|
|
|
message.success(t('ts.确认撤销报工成功')) |
|
|
|
|
|
} catch { |
|
|
|
|
|
} finally { |
|
|
|
|
|
tableObject.loading = false |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
// 批量打印--预生产收货 |
|
|
// 批量打印--预生产收货 |
|
|
const searchTableSuccessLabel = async (formField, searchField, val, formRef, type, row) => { |
|
|
const searchTableSuccessLabel = async (formField, searchField, val, formRef, type, row) => { |
|
|
console.log('批量打印',val) |
|
|
console.log('批量打印',val) |
|
|