bug
jiangping
2023-12-06 1f4e7d0f73a73e7350cf5a1df279d5f30904c5d5
web_standard/src/views/ext/deviceExt.vue
@@ -55,6 +55,15 @@
    <template v-slot:table-wrap>
      <ul class="toolbar">
        <li><el-button type="primary" @click="$refs.operaDeviceExtWindow.open('新建设备')" v-permissions="['ext:deviceext:create']">新增</el-button></li>
        <li v-permissions="['ext:deviceExt:importExcel']">
          <ImportButton
            text="导入"
            template-name="device_import_template.xlsx"
            template-path="/template/device_import_template.xlsx"
            action="/ext/deviceExt/importBatch"
            @success="search"
          />
        </li>
        <li>
          <el-button
            type="primary"
@@ -86,12 +95,12 @@
        </el-table-column>
        <el-table-column prop="wpmodel.unionName" label="待生产货位" show-overflow-tooltip min-width="100px">
          <template slot-scope="{row}">
            <span class="long-title-style">{{ row.wpmodel.unionName }}</span>
            <span class="long-title-style">{{ row.wpmodel ? row.wpmodel.unionName : '-' }}</span>
          </template>
        </el-table-column>
        <el-table-column prop="wfmodel.unionName" label="已完工货位" show-overflow-tooltip min-width="100px">
          <template slot-scope="{row}">
            <span class="long-title-style">{{ row.wfmodel.unionName }}</span>
            <span class="long-title-style">{{ row.wfmodel ? row.wfmodel.unionName : '-' }}</span>
          </template>
        </el-table-column>
        <el-table-column prop="stationCode" label="工位编号" min-width="100px"></el-table-column>
@@ -143,6 +152,7 @@
<script>
import BaseTable from '@/components/base/BaseTable'
import TableLayout from '@/layouts/TableLayout'
import ImportButton from '@/components/common/ImportButton'
// import SearchFormCollapse from '@/components/common/SearchFormCollapse'
import Pagination from '@/components/common/Pagination'
import OperaDeviceExtWindow from '@/components/ext/OperaDeviceExtWindow'
@@ -153,7 +163,7 @@
export default {
  name: 'DeviceExt',
  extends: BaseTable,
  components: { TableLayout, Pagination, OperaDeviceExtWindow, QrCodeLabel },
  components: { TableLayout, Pagination, OperaDeviceExtWindow, ImportButton, QrCodeLabel },
  data () {
    return {
      // 搜索
@@ -256,4 +266,7 @@
    }
  }
}
/**
 *
 */
</script>