Parcourir la source

* feat:油罐管理,货位管理,廒间管理,仓房管理 :接口增加字段, 增删改查通

WZQ il y a 1 an
Parent
commit
9ee07b0fe0

+ 20 - 0
src/page/basicData/granaryList.vue

@@ -18,6 +18,26 @@
18 18
               @click="add"
19 19
               >新增</el-button
20 20
             >
21
+            <el-button type="primary" size="small" icon="el-icon-download"
22
+              >导入</el-button
23
+            >
24
+            <el-button
25
+              type="primary"
26
+              size="small"
27
+              icon="el-icon-upload2"
28
+              @click="daoChu"
29
+            >
30
+              <template v-slot>
31
+                <a
32
+                  href="/static/file/廒间信息导入模板.xlsx"
33
+                  target="_blank"
34
+                  style="color: #fff"
35
+                >
36
+                  导出
37
+                </a>
38
+              </template>
39
+            </el-button>
40
+
21 41
             <el-divider direction="vertical"></el-divider>
22 42
           </el-form-item>
23 43
           <el-form-item label="仓房名称:" prop="storeName">

+ 7 - 2
src/page/basicData/storehouseList.vue

@@ -18,15 +18,19 @@
18 18
               @click="add"
19 19
               >新增</el-button
20 20
             >
21
+
22
+            <el-button type="primary" size="small" icon="el-icon-download"
23
+              >导入</el-button
24
+            >
21 25
             <el-button
22 26
               type="primary"
23 27
               size="small"
24
-              icon="el-icon-plus"
28
+              icon="el-icon-upload2"
25 29
               @click="daoChu"
26 30
             >
27 31
               <template v-slot>
28 32
                 <a
29
-                  href="/static/file/del.xlsx"
33
+                  href="/static/file/仓房信息导入模板.xlsx"
30 34
                   target="_blank"
31 35
                   style="color: #fff"
32 36
                 >
@@ -34,6 +38,7 @@
34 38
                 </a>
35 39
               </template>
36 40
             </el-button>
41
+
37 42
             <el-divider direction="vertical"></el-divider>
38 43
           </el-form-item>
39 44
           <el-form-item label="仓房名称:" prop="houseId">

+ 19 - 0
src/page/basicData/tankList.vue

@@ -17,6 +17,25 @@
17 17
               @click="add"
18 18
               >新增</el-button
19 19
             >
20
+            <el-button type="primary" size="small" icon="el-icon-download"
21
+              >导入</el-button
22
+            >
23
+            <el-button
24
+              type="primary"
25
+              size="small"
26
+              icon="el-icon-upload2"
27
+              @click="daoChu"
28
+            >
29
+              <template v-slot>
30
+                <a
31
+                  href="/static/file/油罐信息导入模板.xlsx"
32
+                  target="_blank"
33
+                  style="color: #fff"
34
+                >
35
+                  导出
36
+                </a>
37
+              </template>
38
+            </el-button>
20 39
             <el-divider direction="vertical"></el-divider>
21 40
           </el-form-item>
22 41
           <el-form-item label="油罐名称:" prop="storagetankName">

+ 24 - 3
src/page/basicData/warehouseList.vue

@@ -18,10 +18,30 @@
18 18
               @click="add"
19 19
               >新增</el-button
20 20
             >
21
+
22
+            <el-button type="primary" size="small" icon="el-icon-download"
23
+              >导入</el-button
24
+            >
25
+            <el-button
26
+              type="primary"
27
+              size="small"
28
+              icon="el-icon-upload2"
29
+              @click="daoChu"
30
+            >
31
+              <template v-slot>
32
+                <a
33
+                  href="/static/file/货位信息导入模板.xlsx"
34
+                  target="_blank"
35
+                  style="color: #fff"
36
+                >
37
+                  导出
38
+                </a>
39
+              </template>
40
+            </el-button>
21 41
           </el-form-item>
22
-          <el-form-item class="form-button">
42
+          <!-- <el-form-item class="form-button">
23 43
             <Upload :showLock="false" @el-on-upload="importClick" />
24
-          </el-form-item>
44
+          </el-form-item> -->
25 45
           <el-divider direction="vertical"></el-divider>
26 46
 
27 47
           <el-form-item label="仓房名称:" prop="storehouseId">
@@ -120,7 +140,8 @@
120 140
             @click="edit(scope.row)"
121 141
             size="small"
122 142
             icon="el-icon-edit"
123
-            >编辑</el-button>
143
+            >编辑</el-button
144
+          >
124 145
         </template>
125 146
       </el-table-column>
126 147
     </el-table>

static/file/del.xlsx → static/file/仓房信息导入模板.xlsx


BIN
static/file/廒间信息导入模板.xlsx


BIN
static/file/油罐信息导入模板.xlsx


BIN
static/file/货位信息导入模板.xlsx