This commit is contained in:
ChenQiuYu 2025-05-15 12:00:37 +08:00
parent e7c7a50392
commit 8277e8d784
4 changed files with 5 additions and 7 deletions

View File

@ -16,7 +16,7 @@
<th>批次</th> <th>批次</th>
<th>生产批号</th> <th>生产批号</th>
<th>有效期</th> <th>有效期</th>
<th>当前库存</th> <th>变化前</th>
<th>出库数量</th> <th>出库数量</th>
</tr> </tr>
</thead> </thead>

View File

@ -27,7 +27,7 @@
</div> </div>
</div> </div>
<div class="content"> <div class="content">
<el-table :data="dataList" style="width: 100%;height: 100%" @row-click="rowClick"> <el-table :data="dataList" style="width: 100%;height: 100%" @row-click="rowClick" :header-cell-style="{ backgroundColor: '#F1F5FB' }">
<el-table-column prop="useCode" label="单号" width="180"></el-table-column> <el-table-column prop="useCode" label="单号" width="180"></el-table-column>
<el-table-column prop="status" label="状态" width="180"></el-table-column> <el-table-column prop="status" label="状态" width="180"></el-table-column>
<el-table-column prop="useUserId" label="领用人" width="180"></el-table-column> <el-table-column prop="useUserId" label="领用人" width="180"></el-table-column>

View File

@ -29,7 +29,7 @@
</div> </div>
<div class="content_list"> <div class="content_list">
<el-scrollbar> <el-scrollbar>
<el-table :data="tableData" @cell-click="editCheck" style="height: 100%"> <el-table :data="tableData" @cell-click="editCheck" style="height: 100%" :header-cell-style="{ backgroundColor: '#F1F5FB' }">
<el-table-column label="订单号" prop="code" width="250"> <el-table-column label="订单号" prop="code" width="250">
</el-table-column> </el-table-column>
<el-table-column label="状态" prop="state" width="250"></el-table-column> <el-table-column label="状态" prop="state" width="250"></el-table-column>

View File

@ -28,7 +28,7 @@
</div> </div>
</div> </div>
<div class="content_list"> <div class="content_list">
<el-table :data="tableData" @row-click="editSupplier" style="height: 100%"> <el-table :data="tableData" @row-click="editSupplier" style="height: 100%" :header-cell-style="{ backgroundColor: '#F1F5FB' }">
<el-table-column label="供应商名称" prop="name" width="250"> <el-table-column label="供应商名称" prop="name" width="250">
</el-table-column> </el-table-column>
<el-table-column label="启用状态" prop="turn" width="80"> <el-table-column label="启用状态" prop="turn" width="80">
@ -61,9 +61,8 @@
<script setup lang="ts"> <script setup lang="ts">
import {nextTick, onMounted, ref, watch} from "vue"; import {nextTick, onMounted, ref, watch} from "vue";
import {post} from "@/utils/request.ts"; import {post} from "@/utils/request.ts";
import Mask from "@/components/common/Mask.vue";
import AddSupplier from "@/components/inventory/supplier/AddSupplier.vue"; import AddSupplier from "@/components/inventory/supplier/AddSupplier.vue";
import {Plus, Refresh, Search} from "@element-plus/icons-vue"; import {Search} from "@element-plus/icons-vue";
const tableData = ref([]) const tableData = ref([])
const getSupplier = () => { const getSupplier = () => {
@ -124,7 +123,6 @@ const resetSearch = () => {
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@use "@/assets/scss/base.scss"; @use "@/assets/scss/base.scss";
.container-wrapper { .container-wrapper {
box-sizing: border-box; box-sizing: border-box;
padding: 24px; padding: 24px;