From 6df4bf0098c2b822b9e82fe8f7d2ce84eafb9205 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期五, 24 十月 2025 10:42:52 +0800
Subject: [PATCH] 添加出入库策略

---
 新建文件夹/WMS/src/views/outbound/Incoming.vue |  147 ++++++++++++++++++++++++++++--------------------
 1 files changed, 86 insertions(+), 61 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/outbound/Incoming.vue" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/outbound/Incoming.vue"
index 0864287..cd293eb 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/outbound/Incoming.vue"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/outbound/Incoming.vue"
@@ -1,62 +1,87 @@
-<template>  
-<div class="container">
-  <el-radio-group v-model="radio"  size="large" style="margin-top:20px;color: white;">
-    <!-- <el-radio :value="3">鍏堝叆鍏堝嚭 </el-radio> -->
-    <el-radio :value="6">鍏堣繘鍚庡嚭</el-radio>
-    <el-radio :value="9">闆舵湡鍏堝嚭 </el-radio>
-    <el-radio :value="12">鏁翠欢鍏堝嚭 </el-radio>
-  </el-radio-group>
-</div>
-<div class="button" style="text-align: right; margin-top: 50px; margin-right: 300px;">
-    <el-button type="primary" size="large" @click="handleConfirm">纭畾</el-button>
-</div>
-
+<!--
+*Author锛歫xx
+ *Contact锛�283591387@qq.com
+ *浠g爜鐢辨鏋剁敓鎴�,浠讳綍鏇存敼閮藉彲鑳藉鑷磋浠g爜鐢熸垚鍣ㄨ鐩�
+ *涓氬姟璇峰湪@/extension/basic/tactics.js姝ゅ缂栧啓
+ -->
+<template>
+    <view-grid ref="grid"
+               :columns="columns"
+               :detail="detail"
+               :editFormFields="editFormFields"
+               :editFormOptions="editFormOptions"
+               :searchFormFields="searchFormFields"
+               :searchFormOptions="searchFormOptions"
+               :table="table"
+               :extend="extend">
+    </view-grid>
 </template>
-
-
-<script setup>
-import { ref } from 'vue'
-import { ElMessage } from 'element-plus'
-const radio = ref(4)
-const handleConfirm = () => {
-  ElMessage.success('鍒囨崲鎴愬姛')
-}
-</script>
-
-<style scoped>
-/* 澶栧眰瀹瑰櫒锛氬叏灞忓眳涓� */
-.container {
-    margin-top: 100px;
-  display: flex;
-  flex-direction: column;  /* 鍨傜洿鎺掑垪 */
-  justify-content: center; /* 鍨傜洿灞呬腑 */
-  align-items: center;     /* 姘村钩灞呬腑 */
-  /* background-color: #50a375; */
-  font-size: 24px;         /* 鏁翠綋鏀惧ぇ */
-}
-
-/* 鏍囬鏍峰紡 */
-.title {
-  font-size: 32px;
-  font-weight: bold;
-  margin-bottom: 40px; /* 鍜屾寜閽粍淇濇寔闂磋窛 */
-}
-
-
-
-/* 鎸夐挳缁勫唴閮細璁╂瘡涓�夐」绾靛悜鎺掑垪 */
-.el-radio-group {
-  display: flex;
-  flex-direction: column; /* 鍨傜洿鎺掑垪 */
-  gap: 20px;              /* 姣忎釜鍗曢�夋寜閽殑闂磋窛 */
-}
-
-::v-deep(.el-radio) {
-  transform: scale(1.5);   /* 鏁翠綋鏀惧ぇ */
-  margin: 10px 0;          /* 姣忎釜鍗曢�変箣闂村姞闂磋窛 */
-}
-
-::v-deep(.el-radio__label) {
-  font-size: 30px;         /* 鏀惧ぇ鏂囧瓧 */
-}
-</style>
\ No newline at end of file
+<script>
+    import extend from "@/extension/basic/tactics.js";
+    import { ref, defineComponent } from "vue";
+    export default defineComponent({
+        setup() {
+            const table = ref({
+                key: 'id',
+                footer: "Foots",
+                cnName: '鍑哄叆搴撶瓥鐣�',
+                name: 'Tactics',
+                url: "/Tactics/",
+                sortName: "id"
+            });
+            const editFormFields = ref({
+                SelectTactice: ""
+            });
+            const editFormOptions = ref([
+                [
+                    {
+                        field: "SelectTactice",
+                        title: "閫夋嫨绛栫暐",
+                        type: "select",
+                        required: true,
+                        bind: { key: "tacticsEnum", data: [] },
+                        span: 24
+                    }
+                ]
+            ]);
+            const searchFormFields = ref({
+                SelectTactice: ""
+            });
+            const searchFormOptions = ref([
+               [
+                    {
+                        title: "绛栫暐绫诲瀷", 
+                        field: "SelectTactice", 
+                        type: "eq", 
+                        bind: { key: "tacticsEnum", data: [] }
+                    }
+               ]
+            ]);
+            const columns = ref([
+                {field:'id',title:'涓婚敭',type:'int',width:90,hidden:true,readonly:true,require:true,align:'left'},
+                {field:'SelectTactice',title:'閫夋嫨绛栫暐',type:'select',width:120,align:'left',bind:{key:'tacticsEnum',data:[]}},
+                {field:'creater',title:'鍒涘缓鑰�',type:'string',width:100,require:true,align:'left'},
+                {field:'createDate',title:'鍒涘缓鏃堕棿',type:'datetime',width:160,require:true,align:'left',sort:true},
+                {field:'modifier',title:'淇敼浜�',type:'string',width:100,align:'left'},
+                {field:'modifyDate',title:'淇敼鏃ユ湡',type:'datetime',width:160,align:'left',sort:true}
+            ]);
+            const detail = ref({
+                cnName: "#detailCnName",
+                table: "#detailTable",
+                columns: [],
+                sortName: "",
+                key: ""
+            });
+            return {
+                table,
+                extend,
+                editFormFields,
+                editFormOptions,
+                searchFormFields,
+                searchFormOptions,
+                columns,
+                detail,
+            };
+        },
+    });
+</script>
\ No newline at end of file

--
Gitblit v1.9.3