| | |
| | | </el-dialog> |
| | | <!-- 打印 --> |
| | | <el-dialog title="打印模板选择" :visible.sync="openPrintList" width="800px" append-to-body> |
| | | <PrintList :linterid="rowSel.toString()" :MyMsg="rowSel.toString()" Type="HGy_BarCodeBillList" |
| | | HModName="HGy_BarCodeBillList" @rowEditClose="rowSetClose" v-if="printListShow" /> |
| | | <PrintList :linterid="rowSel.toString()" :MyMsg="rowSel.toString()" Type="HGy_BarCodeBill" |
| | | HModName="HGy_BarCodeBill" @rowEditClose="rowSetClose" v-if="printListShow" /> |
| | | </el-dialog> |
| | | </div> |
| | | </div> |
| | |
| | | baseURL: process.env.VUE_APP_BASE_API, //后端接口前缀(后端服务器ip地址) |
| | | |
| | | HInterID: null, |
| | | checkDataList: [], //表格选中数据集合 |
| | | rowSel: [], //用于打印的数据集合 |
| | | |
| | | rqsgList: [ //日期间隔下拉列表数据 |
| | |
| | | lastSelectedRow: null, // 上一次选中的行 |
| | | selectedRow: null, // 当前选中的行 |
| | | rowForm: {}, // 当选中的只有一行时,更新数据为该选中的行。 |
| | | checkDataList: [], // 表格选中数据集合 |
| | | |
| | | tyResList: [], // 列表数据,用于导出 |
| | | titleData: [], // 不需要显示的字段 可扩展 |
| | |
| | | //#region 多选框选中数据 |
| | | handleSelectionChange(selection) { |
| | | // this.rowForm = {} |
| | | checkDataList = selection; |
| | | this.checkDataList = selection; |
| | | this.ids = selection.map(item => item.hmainid) |
| | | this.single = selection.length != 1 |
| | | this.multiple = !selection.length |
| | |
| | | option.data = data1.data; |
| | | var result = data1.data; |
| | | option.data = result; |
| | | this.checkDataList = []; |
| | | let HModName = "Gy_BarCodeBillList" |
| | | this.DisPlay_HideColumn(HModName, sessionStorage["HUserName"], option, this.dataList); |
| | | } |
| | |
| | | this.$modal.msgError("请选择数据"); |
| | | } else { |
| | | this.rowSel = []; |
| | | for (var i = 0; i < this.selection.length; i++) { |
| | | this.rowSel.push(this.selection[i].HItemID.toString()); |
| | | for (var i = 0; i < this.checkDataList.length; i++) { |
| | | this.rowSel.push(this.checkDataList[i].HItemID.toString()); |
| | | } |
| | | this.printListShow = true; |
| | | this.openPrintList = true; |