duhe
2025-11-18 04e66e7d3ab78dd50eb0ebd6a6d4615a4f2f0ebc
采购入库:条码明细
1个文件已修改
22 ■■■■■ 已修改文件
src/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList.vue 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList.vue
@@ -147,6 +147,9 @@
      <el-col :span="1.5">
        <el-button type="primary" icon="el-icon-printer" size="mini" @click="get_PrintReport">打印</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 :data="tableData" ref="tableData" max-height="710" :summary-method="getSummaries"
@@ -190,6 +193,8 @@
          HModName='Kf_POStockInBillList' @rowEditClose="rowSetClose" v-if="printListShow" />
        <!-- <div>111</div> -->
      </el-dialog>
      <!-- 条码明细 -->
      <BarCodeDetail :visible.sync="barCodeDetailShow" ref="barcodeDetail"/>
    </div>
  </div>
</template>
@@ -199,11 +204,12 @@
import moment from 'moment';                                              //导出组件
import RowSettings from '@/views/component/rowSettings'                   //列设置组件
import PrintList from '@/views/component/printList'                       //打印组件
import BarCodeDetail from '@/views/component/BarCodeDetail'               //条码明细组件
import Edit from '@/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillEdit'   //编辑页面组件
export default {
  name: 'Kf_POStockInBillList',
  components: { RowSettings, Edit, PrintList },
  components: { RowSettings, Edit, PrintList,BarCodeDetail },
  data() {
    return {
      baseURL: process.env.VUE_APP_BASE_API,                //后端接口前缀(后端服务器ip地址)
@@ -258,6 +264,7 @@
      btnHideShow: false,                                   //按钮组件显示标记
      openRowHide: false,                                   //列设置组件显示标记
      rowHideShow: false,                                   //列设置组件容器显示标记
      barCodeDetailShow: false,                             //条码明细组件容器显示标记
      
      
      
@@ -843,6 +850,19 @@
    },
    //#endregion
    //#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 退出
    close() {
      // this.reset()