From a770206c91e495b802b3e9371e06834586ad7715 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期四, 30 十月 2025 20:17:30 +0800
Subject: [PATCH] 1

---
 新建文件夹/WMS/src/views/outbound/Incoming.vue |  218 +++++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 158 insertions(+), 60 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..423e0ff 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,160 @@
-<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>
+    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({
+                tacticeName: "",
+                selectTactice: ""
+            });
 
-
-<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
+            const editFormOptions = ref([
+                [
+                    {
+                        title: "绛栫暐鍚嶇О",
+                        field: "tacticeName",
+                        type: "string",
+                        required: true,
+                        width: 150
+                    },
+                    {
+                        title: "閫夋嫨绛栫暐",
+                        field: "selectTactice",
+                        type: "select",
+                        dataKey: "TacticsEnum",
+                        data: [],
+                        required: true,
+                        width: 120
+                    }
+                ]
+            ]);
+            
+            const searchFormFields = ref({
+                tacticeName: "",
+                selectTactice: ""
+            });
+            
+            const searchFormOptions = ref([
+                [
+                    { title: "绛栫暐鍚嶇О", field: "TacticeName", type: "like" },
+                    {
+                        title: "绛栫暐绫诲瀷",
+                        field: "selectTactice",
+                        type: "select",
+                        dataKey: "TacticsEnum",
+                        data: [],
+                    }
+                ]
+            ]);
+            
+            const columns = ref([
+                {
+                    field: 'id',
+                    title: '涓婚敭',
+                    type: 'int',
+                    width: 90,
+                    hidden: true,
+                    readonly: true,
+                    require: true,
+                    align: 'left'
+                },
+                {
+                    field: 'tacticeName',
+                    title: '绛栫暐鍚嶇О',
+                    type: 'string',
+                    width: 150,
+                    require: true,
+                    align: 'left',
+                    sort: true
+                },
+              
+                   {
+                    field: 'selectTactice',
+                    title: '閫夋嫨绛栫暐',
+                    type: 'string',
+                    width: 120,
+                    require: true,
+                    align: 'left',
+                    bind: { key: "TacticsEnum", data: [] }
+                },
+                
+                {
+                    field: 'creater',
+                    title: '鍒涘缓浜�',
+                    type: 'string',
+                    width: 90,
+                    align: 'left'
+                },
+                {
+                    field: 'createDate',
+                    title: '鍒涘缓鏃堕棿',
+                    type: 'datetime',
+                    width: 160,
+                    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