lxp
2025-03-18 ee38779810cfbe512788f71679aaaaa7fedb1775
src/views/business/sample/index.vue
@@ -168,8 +168,8 @@
        <el-row class="title">
          <el-col :span="12" style="padding-left: 20px;text-align: left;">样品管理</el-col>
          <el-col :span="12" style="text-align: right;">
            <el-button size="small" type="primary" @click="storageVisible=true">入库</el-button>
            <el-button size="small" type="primary" @click="exportVisible=true">出库</el-button>
            <el-button size="small" type="primary" @click="storageVisible=true"  v-hasPermi="['business:sample:store']">入库</el-button>
            <el-button size="small" type="primary" @click="exportVisible=true"  v-hasPermi="['business:sample:outbound']">出库</el-button>
          </el-col>
        </el-row>
      </div>
@@ -200,15 +200,11 @@
            </el-input>
          </div>
        </div>
        <!-- <div class="search_thing" style="padding-left: 30px;">
               <el-button size="small" @click="refresh()">重 置</el-button>
               <el-button size="small" type="primary" @click="refreshTable()">查 询</el-button>
            </div> -->
        <div class="btns">
          <el-button size="small" style="color:#3A7BFA" @click="keepVisible=true">维护</el-button>
          <el-button size="small" style="color:#3A7BFA" @click="warehouseVisible=true,isEdit=false">添加仓库</el-button>
          <el-button size="small" style="color:#3A7BFA" @click="keepVisible=true"  v-hasPermi="['business:sample:maintenance']">维护</el-button>
          <el-button size="small" style="color:#3A7BFA" @click="warehouseVisible=true,isEdit=false"  v-hasPermi="['business:sample:addWarehouse']">添加仓库</el-button>
          <el-button size="small" style="color:#3A7BFA" @click="shelvesVisible=true,isEdit=false"
            :disabled="entity.warehouseId==null">添加货架</el-button>
            :disabled="entity.warehouseId==null"  v-hasPermi="['business:sample:addGoodsShelves']">添加货架</el-button>
        </div>
      </div>
      <div class="table" v-loading="tableLoading">