| | |
| | | >打印</el-button |
| | | > |
| | | </el-col> |
| | | <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-row> |
| | | <div class="tableBox" v-loading="loading"> |
| | | <el-table |
| | |
| | | /> |
| | | <!-- <div>111</div> --> |
| | | </el-dialog> |
| | | <!-- 条码明细 --> |
| | | <BarCodeDetail :visible.sync="barCodeDetailShow" ref="barcodeDetail"/> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | import RowSettings from "@/views/component/rowSettings"; |
| | | import Edit from "@/views/sell/sellOut/sellOutBillEdit"; |
| | | import PrintList from "@/views/component/printList"; |
| | | import BarCodeDetail from '@/views/component/BarCodeDetail' //条码明细组件 |
| | | import moment from "moment"; |
| | | |
| | | export default { |
| | | name: "SellOutBill", |
| | | components: { RowSettings, Edit, PrintList }, |
| | | components: { RowSettings, Edit, PrintList,BarCodeDetail }, |
| | | data() { |
| | | return { |
| | | activeSeach: "", |
| | |
| | | tableShow: true, |
| | | openPrintList: false, |
| | | printListShow: false, |
| | | barCodeDetailShow: false, //条码明细组件容器显示标记 |
| | | openBtnHide: false, |
| | | btnHideShow: false, |
| | | rowHideShow: false, |
| | |
| | | } |
| | | // var content= ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + data[0].hmainid.toString() + '&MyMsg=' + data[0].hmainid.toString() + '&Type=Kf_SellOutBillList', 'yes'] |
| | | }, |
| | | //#region 条码明细 |
| | | get_BarCodeDetail() { |
| | | // if (this.selectedRow.length !== 1) { |
| | | // this.$message.warning('请选择一行数据查看条码明细!') |
| | | // return |
| | | // } |
| | | this.barCodeDetailShow = true |
| | | this.$nextTick(() => { |
| | | this.$refs.barcodeDetail.open(this.rowForm) |
| | | }) |
| | | }, |
| | | //#endregion |
| | | |
| | | |
| | | //#region 获取公司名,根据公司进行定制化开发 |
| | | defaintOperationByCompanyName() { |