|
|
|
@ -137,6 +137,15 @@ |
|
|
|
highlight-current-row |
|
|
|
v-loading="dataListLoading" |
|
|
|
style="width: 100%;margin-top: 5px"> |
|
|
|
<el-table-column |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="80" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a type="text" size="small" @click="printRollLabel(scope.row)">补打卷标签</a> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
v-for="(item,index) in columnList" :key="index" |
|
|
|
:sortable="item.columnSortable" |
|
|
|
@ -167,7 +176,14 @@ |
|
|
|
sapSynchronization, |
|
|
|
freezing, |
|
|
|
notFreezing, |
|
|
|
getPrintCRollInfo,/*2022-04-26 LR 打印卷标签请求*/ |
|
|
|
} from "@/api/purchasingManagement/materialSplit.js" |
|
|
|
|
|
|
|
/*打印标签专用的js*/ |
|
|
|
import { |
|
|
|
printMaterialLabel, |
|
|
|
} from "@/views/modules/yieldReport/print_roll_label.js" |
|
|
|
|
|
|
|
import Chooselist from '@/views/modules/common/Chooselist' |
|
|
|
export default { |
|
|
|
//查询-卷信息 |
|
|
|
@ -915,6 +931,18 @@ |
|
|
|
} |
|
|
|
this.menuShow = true |
|
|
|
}, |
|
|
|
|
|
|
|
/*打印卷标签*/ |
|
|
|
printRollLabel(currentRow){ |
|
|
|
/*组装打印需要的数据*/ |
|
|
|
let requestData = {site: currentRow.site, rollNo: currentRow.rollNo}; |
|
|
|
getPrintCRollInfo(requestData).then(({data}) => { |
|
|
|
//打印材料卷标签 |
|
|
|
let printList = data.rows; |
|
|
|
printMaterialLabel(printList); |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
created() { |
|
|
|
|
|
|
|
|