gaoluyang
2024-07-23 843c1f9be804a96c0d7fb46f42faadc6c8b71d54
装备-原材料下单前端页面
已修改3个文件
20 ■■■■■ 文件已修改
src/components/do/b1-material-ins-order/customs-inspection.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/view/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/js/menu.js 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-material-ins-order/customs-inspection.vue
@@ -159,7 +159,7 @@
        </div>
      </div>
      <el-table class="el-table sampleTable" ref="sampleTable" :data="sampleList" height="250px" tooltip-effect="dark"
                border @selection-change="selectSample" highlight-current-row @row-click="rowClick" style="margin-top: 10px;">
                border @selection-change="selectSample" highlight-current-row @row-click="rowClick" style="margin-bottom: 10px;">
        <el-table-column type="selection" width="60" :selectable="selectable" v-if="active==1"></el-table-column>
        <el-table-column type="index" label="序号" width="65" align="center"></el-table-column>
        <el-table-column prop="sample" label="样品名称" align="center" min-width="100">
src/view/index.vue
@@ -435,6 +435,15 @@
        },
        created() {
            this.menu = menus.menu
      if (this.PROJECT !== '装备电缆') { // 检测中心暂无'原材料检验下单'功能
        const index = this.menu.findIndex(item => item.v === '业务管理')
        if (index > -1) {
          const index2 = this.menu[index].c.findIndex(obj => obj.v === '原材料检验下单')
          if (index2 > -1) {
            this.menu[index].c.splice(index2, 1)
          }
        }
      }
        },
        mounted() {
            this.userName = JSON.parse(localStorage.getItem("user")).name;
static/js/menu.js
@@ -14,7 +14,14 @@
        v: "业务管理",
        i: "font icon-kexueyanjiuheshiyankaifa",
        p: "selectInsOrderParameter selectInsOrderPlanList pageInsReport costStatistics selectWarehouse",
        c: [{
        c: [
      {
        v: "原材料检验下单",
        i: "font icon-erjidaohang",
        u: "b1-material-inspection-order",
        p: "selectInsOrderParameter"
      },
      {
            v: "检验下单",
            i: "font icon-erjidaohang",
            u: "b1-inspection-order",