Browse Source

2022-06-01 查询卷信息添加补打标签的功能

master
rui_li 4 years ago
parent
commit
4a71c97e10
  1. 28
      src/views/modules/purchasingManagement/searchRollInformation.vue

28
src/views/modules/purchasingManagement/searchRollInformation.vue

@ -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() {

Loading…
Cancel
Save