| | |
| | | <el-col :span="1.5"> |
| | | <el-button type="primary" icon="el-icon-printer" size="mini" :disabled="single" @click="get_BarCodeDetail">条码明细</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button type="primary" icon="el-icon-printer" size="mini" :disabled="single" @click="get_PackStockDetail">包装容器出入库明细</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | <div class="tableBox" v-loading="loading"> |
| | | <el-table :data="tableData" ref="tableData" max-height="710" :summary-method="getSummaries" |
| | |
| | | </el-dialog> |
| | | <!-- 条码明细 --> |
| | | <BarCodeDetail :visible.sync="barCodeDetailShow" ref="barcodeDetail"/> |
| | | <!-- 包装容器出入库明细 --> |
| | | <PackStockDetail :visible.sync="packStockDetailShow" ref="packStockDetail"/> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | import RowSettings from '@/views/component/rowSettings' //列设置组件 |
| | | import PrintList from '@/views/component/printList' //打印组件 |
| | | import BarCodeDetail from '@/views/component/BarCodeDetail' //条码明细组件 |
| | | import PackStockDetail from '@/views/component/PackStockDetail' //条码明细组件 |
| | | import Edit from '@/views/KCGL/MoveStockBill/Kf_MoveStockBillEdit.vue' //编辑页面组件 |
| | | |
| | | export default { |
| | | name: 'Kf_MoveStockBillList', |
| | | components: { RowSettings, Edit, PrintList,BarCodeDetail }, |
| | | components: { RowSettings, Edit, PrintList,BarCodeDetail,PackStockDetail }, |
| | | data() { |
| | | return { |
| | | baseURL: process.env.VUE_APP_BASE_API, //后端接口前缀(后端服务器ip地址) |
| | |
| | | openRowHide: false, //列设置组件显示标记 |
| | | rowHideShow: false, //列设置组件容器显示标记 |
| | | barCodeDetailShow: false, //条码明细组件容器显示标记 |
| | | packStockDetailShow:false, //包装容器出入库明细容器显示标记 |
| | | |
| | | |
| | | |
| | |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 包装容器出入库明细 |
| | | get_PackStockDetail() { |
| | | // if (this.selectedRow.length !== 1) { |
| | | // this.$message.warning('请选择一行数据查看条码明细!') |
| | | // return |
| | | // } |
| | | this.packStockDetailShow = true |
| | | this.$nextTick(() => { |
| | | this.$refs.packStockDetail.open(this.rowForm) |
| | | }) |
| | | }, |
| | | //#endregion |
| | | |
| | | //#region 退出 |
| | | close() { |
| | | // this.reset() |