From 363208403f2076fef350a7feaf236e6153f982be Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 10 一月 2025 09:19:28 +0800
Subject: [PATCH] Merge branch '2.0.1' of http://139.186.142.91:10010/r/productDev/funingyunwei into 2.0.1
---
admin/src/views/stock/components/inventoryDetails.vue | 183 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 183 insertions(+), 0 deletions(-)
diff --git a/admin/src/views/stock/components/inventoryDetails.vue b/admin/src/views/stock/components/inventoryDetails.vue
new file mode 100644
index 0000000..b0c6d1c
--- /dev/null
+++ b/admin/src/views/stock/components/inventoryDetails.vue
@@ -0,0 +1,183 @@
+<template>
+ <GlobalWindow
+ :title="title"
+ :visible.sync="visible"
+ :withFooter="false"
+ :confirm-working="isWorking"
+ @confirm="confirm">
+ <div class="main">
+ <div class="title">鐩樼偣淇℃伅</div>
+ <div class="list">
+ <div class="item">
+ <div class="la">鐩樼偣鍗曞悕绉�</div>
+ <div class="val">搴撳瓨鐩樼偣20241212</div>
+ </div>
+ <div class="item">
+ <div class="la">鐩樼偣鏃ユ湡</div>
+ <div class="val">2024-11-17</div>
+ </div>
+ <div class="item">
+ <div class="la">鐩樼偣浠撳簱</div>
+ <div class="val">浠撳簱1</div>
+ </div>
+ <div class="item">
+ <div class="la">鐩樼偣鍛�</div>
+ <div class="val">寮犱笁</div>
+ </div>
+ <div class="item">
+ <div class="la">鐩樼偣鐘舵��</div>
+ <div class="val">宸插畬鎴�</div>
+ </div>
+ </div>
+ <div class="title">鐩樼偣缁撴灉</div>
+ <div class="list">
+ <div class="list_search">
+ <div class="list_search_left">
+ <el-input v-model="input" style="width: 200px; margin-right: 10px;" placeholder="璇疯緭鍏ュ唴瀹�"></el-input>
+ <el-select v-model="input" style="width: 200px; margin-right: 10px;" placeholder="璇烽�夋嫨">
+ <el-option
+ v-for="item in options"
+ :key="item.value"
+ :label="item.label"
+ :value="item.value">
+ </el-option>
+ </el-select>
+ <el-button type="primary">鏌ヨ</el-button>
+ <el-button>娓呯┖</el-button>
+ <el-button>瀵煎嚭</el-button>
+ </div>
+ <div class="list_search_right">
+ <span>宸茬洏:100</span>
+ <span>鏈洏:20</span>
+ <span>璐﹀疄鐩哥:88</span>
+ <span>鐩樼泩:2</span>
+ <span>鐩樹簭:20</span>
+ </div>
+ </div>
+ <div style="width: 100%; margin: 20px 0;">
+ <el-table :data="roomList" stripe>
+ <el-table-column prop="projectName" label="璧勪骇缂栫爜" show-overflow-tooltip />
+ <el-table-column prop="buildingName" label="璧勪骇鍚嶇О" show-overflow-tooltip />
+ <el-table-column prop="buildingName" label="鏉$爜" show-overflow-tooltip />
+ <el-table-column prop="buildingName" label="鍝佺墝" show-overflow-tooltip />
+ <el-table-column prop="buildingName" label="瑙勬牸鍨嬪彿" show-overflow-tooltip />
+ <el-table-column prop="buildingName" label="鍗曚綅" show-overflow-tooltip />
+ <el-table-column prop="buildingName" label="鎵�鍦ㄤ粨搴�" show-overflow-tooltip />
+ <el-table-column prop="buildingName" label="璐﹂潰鏁伴噺" show-overflow-tooltip />
+ <el-table-column prop="buildingName" label="鐩樼偣鏁伴噺" show-overflow-tooltip />
+ <el-table-column prop="buildingName" label="澶囨敞" show-overflow-tooltip />
+ </el-table>
+ </div>
+ <div class="list_pagination">
+ <el-pagination
+ @size-change="handleSizeChange"
+ @current-change="handleCurrentChange"
+ :current-page="page"
+ :page-sizes="[10, 20, 30, 40]"
+ :page-size="pageSize"
+ layout="total, sizes, prev, pager, next, jumper"
+ :total="total">
+ </el-pagination>
+ </div>
+ </div>
+ </div>
+ </GlobalWindow>
+</template>
+
+<script>
+ import GlobalWindow from '@/components/common/GlobalWindow'
+ import BaseOpera from '@/components/base/BaseOpera'
+ export default {
+ name: "inventoryDetails",
+ components: {
+ GlobalWindow
+ },
+ extends: BaseOpera,
+ data() {
+ return {
+ info: {},
+ input: '',
+ options: [],
+ roomList: [],
+
+ pageSize: 10,
+ total: 0,
+ page: 1
+ }
+ },
+ methods: {
+ handleSizeChange(size) {
+ this.pageSize = size
+ },
+ handleCurrentChange(page) {
+ this.page = page
+ },
+ open (title) {
+ this.title = title
+ this.visible = true
+ }
+ }
+ }
+</script>
+
+<style lang="scss" scoped>
+ @import '@/assets/style/variables.scss';
+
+ .main {
+ .title {
+ font-weight: 500;
+ font-size: 18px;
+ padding-top: 20px;
+ box-sizing: border-box;
+ color: $primary-color;
+ margin-bottom: 15px;
+ }
+
+ .list {
+ display: flex;
+ flex-wrap: wrap;
+ /*background: #F7F7F7;*/
+ border-radius: 2px;
+ /*padding: 15px 20px;*/
+ margin-bottom: 20px;
+
+ .list_pagination {
+ width: 100%;
+ text-align: right;
+ }
+
+ .list_search {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ .list_search_left {
+ display: flex;
+ align-items: center;
+ }
+ .list_search_right {
+ display: flex;
+ align-items: center;
+ span {
+ color: #7E7E7E;
+ font-size: 14px;
+ margin-right: 15px;
+ &:last-child {
+ margin: 0 !important;
+ }
+ }
+ }
+ }
+
+ .item {
+ width: 20%;
+ margin-bottom: 16px;
+
+ .la {
+ color: #7f7f7f;
+ margin-bottom: 10px;
+ }
+ }
+ }
+ }
+</style>
--
Gitblit v1.9.3