From 67a2e68fbd740189de38827806b8daf6753b536e Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期一, 25 十二月 2023 14:01:31 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override

---
 north-glass-erp/northglass-erp/src/router/index.js                                               |   11 
 north-glass-erp/northglass-erp/src/views/mm/mainProductStock/OrderAllocation.vue                 |  322 ++-
 north-glass-erp/northglass-erp/src/views/mm/mainTrader/Trader.vue                                |    5 
 north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/MaterialOutbound.vue             |  244 ++
 north-glass-erp/northglass-erp/src/views/mm/mainProductStock/ProductStock.vue                    |    9 
 north-glass-erp/.idea/workspace.xml                                                              |    2 
 north-glass-erp/northglass-erp/src/views/mm/mainIngredient/Ingredients.vue                       |    3 
 north-glass-erp/northglass-erp/src/views/pp/BOM/OrderBOMDetails.vue                              |    1 
 north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/OriginalMonthlySettlement.vue    |  312 ++
 north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedGoodsIssue.vue              |  338 ++-
 north-glass-erp/northglass-erp/src/views/mm/mainIngredient/SelectIngredients.vue                 |  327 +-
 north-glass-erp/northglass-erp/src/views/mm/mainProductStock/CreateProductStock.vue              |  396 ++-
 north-glass-erp/northglass-erp/src/views/mm/mainTrader/CreateTrader.vue                          |    4 
 north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductRework.vue           |  330 ++-
 north-glass-erp/northglass-erp/src/views/mm/mainProductStock/ProductStockList.vue                |  563 +++---
 north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/SelectIngredientsStock.vue       |  471 ++--
 north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/AccessoriesMonthlySettlement.vue |  324 ++
 north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/CreateOutBound.vue               |  225 ++
 north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductReturn.vue           |  251 +
 north-glass-erp/northglass-erp/src/views/mm/mainIngredient/CreateIngredients.vue                 |  282 +-
 north-glass-erp/northglass-erp/src/views/mm/mainTrader/SelectTrader.vue                          |  371 ++-
 north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/IngredientsStock.vue             |    4 
 north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductOut.vue              |  456 +++--
 23 files changed, 3,328 insertions(+), 1,923 deletions(-)

diff --git a/north-glass-erp/.idea/workspace.xml b/north-glass-erp/.idea/workspace.xml
index 28febcd..7b9d204 100644
--- a/north-glass-erp/.idea/workspace.xml
+++ b/north-glass-erp/.idea/workspace.xml
@@ -212,7 +212,7 @@
       <workItem from="1702631535326" duration="205000" />
       <workItem from="1702858329054" duration="9016000" />
       <workItem from="1703031064839" duration="55055000" />
-      <workItem from="1703463546867" duration="5864000" />
+      <workItem from="1703463546867" duration="8535000" />
     </task>
     <task id="LOCAL-00001" summary="绗竴娆℃帹閫�">
       <option name="closed" value="true" />
diff --git a/north-glass-erp/northglass-erp/src/router/index.js b/north-glass-erp/northglass-erp/src/router/index.js
index 64d0c13..818aa6e 100644
--- a/north-glass-erp/northglass-erp/src/router/index.js
+++ b/north-glass-erp/northglass-erp/src/router/index.js
@@ -631,6 +631,17 @@
               name: 'originalMonthlySettlement',
               component:()=>import('../views/mm/mainIngredientStock/OriginalMonthlySettlement.vue')
             },
+            //   鐗╂枡鍑哄簱
+            {
+              path: 'materialOutbound',
+              name: 'materialOutbound',
+              component:()=>import('../views/mm/mainIngredientStock/MaterialOutbound.vue')
+            },
+            {
+              path:'createOutBound',
+              name:'createOutBound',
+              component:()=>import('../views/mm/mainIngredientStock/CreateOutBound.vue')
+            },
             {
               path: '',
               redirect:'/main/ingredientsStock/SelectIngredientsStock'
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainIngredient/CreateIngredients.vue b/north-glass-erp/northglass-erp/src/views/mm/mainIngredient/CreateIngredients.vue
index 643687f..265fd86 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainIngredient/CreateIngredients.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainIngredient/CreateIngredients.vue
@@ -1,171 +1,183 @@
-<!-- 鐗╂枡璧勬枡鏂板 -->
+<!-- 鐗╂枡璧勬枡鏂板鍘熺墖 -->
 
 <script lang="ts" setup>
 import {ref} from "vue";
+const value = ref('')
+const options = [
+  {
+    value: '鍘熺墖',
+    label: '鍘熺墖'
+  },
+  {
+    value: '杈呮枡',
+    label: '杈呮枡',
+  }
+]
 </script>
 <template>
 
  <div class="center-box">
    <el-card class="form-card">
    <el-form  size="medium" >
+<div>
+  <el-row>
+  <el-col :span="4">
+    <el-select v-model="value" placeholder="璇烽�夋嫨绫诲埆">
+      <el-option
+          v-for="item in options"
+          :key="item.value"
+          :label="item.label"
+          :value="item.value"
+      />
+    </el-select>
+  </el-col>
+  </el-row>
+</div>
 
+     <el-divider ></el-divider> <!-- 娣诲姞鍒嗛殧绾� -->
 
-
-     <el-row gutter="5">
+     <el-row gutter="5" v-show="value=='鍘熺墖'" >
        <el-col :span="4.5">
-         <el-input v-model="name" placeholder="璇疯緭鍏ョ墿鏂欑紪鐮�" style="width: 150px; height: 30px;" />
+        闀垮害 <el-input v-show="value=='鍘熺墖'" v-model="name" placeholder="璇疯緭鍏ラ暱搴�" style="width: 150px; height: 30px;" />
        </el-col>
        <el-col :span="4.5">
-         <el-input v-model="productName" placeholder="璇疯緭鍏ョ墿鏂欏悕绉�" style="width: 150px; height: 30px;" />
+         鍘氬害 <el-input v-show="value=='鍘熺墖'"  v-model="name" placeholder="璇疯緭鍏ュ帤搴�" style="width: 150px; height: 30px;" />
        </el-col>
        <el-col :span="4.5">
-         <el-input v-model="salId" placeholder="璇疯緭鍏ラ噸閲�" style="width: 150px; height: 30px;" />
+         瀹藉害 <el-input v-show="value=='鍘熺墖'" v-model="name" placeholder="璇疯緭鍏ュ搴�" style="width: 150px; height: 30px;" />
        </el-col>
-       <el-col :span="4">
-         <el-dropdown>
-           <el-button type="primary">
-             绛夌骇<el-icon class="el-icon--right" style="width: 66px;"><arrow-down /></el-icon>
-           </el-button>
-           <template #dropdown>
-             <el-dropdown-menu>
-               <el-dropdown-item>鍒堕暅绾�</el-dropdown-item>
-               <el-dropdown-item>鍚堟牸鍝�</el-dropdown-item>
-               <el-dropdown-item>涓�绛夊搧</el-dropdown-item>
-               <el-dropdown-item>鍗忚鍝�</el-dropdown-item>
-               <el-dropdown-item>浼樼瓑鍝�</el-dropdown-item>
-             </el-dropdown-menu>
-           </template>
-         </el-dropdown>
-       </el-col>
+<!--       <el-col :span="4">-->
+<!--         <el-dropdown>-->
+<!--           <el-button type="primary">-->
+<!--             鑶滅郴<el-icon class="el-icon&#45;&#45;right" style="width: 66px;"><arrow-down /></el-icon>-->
+<!--           </el-button>-->
+<!--           <template #dropdown>-->
+<!--             <el-dropdown-menu>-->
+<!--               <el-dropdown-item>闈為晙鑶�</el-dropdown-item>-->
+<!--               <el-dropdown-item>鍦ㄧ嚎LOW-E</el-dropdown-item>-->
+<!--               <el-dropdown-item>SUPPER-I</el-dropdown-item>-->
+<!--               <el-dropdown-item>SUPPER-I+</el-dropdown-item>-->
+<!--               <el-dropdown-item>SUPPER-II</el-dropdown-item>-->
+<!--               <el-dropdown-item>SUPPER-III</el-dropdown-item>-->
+<!--               <el-dropdown-item>SUPPER-V</el-dropdown-item>-->
+<!--               <el-dropdown-item>SUPPER-IA</el-dropdown-item>-->
+<!--               <el-dropdown-item>SUNLITE LOWE</el-dropdown-item>-->
+<!--               <el-dropdown-item>LOW-E40</el-dropdown-item>-->
+<!--               <el-dropdown-item>LOW-E40A</el-dropdown-item>-->
+<!--               <el-dropdown-item>LOW-E50</el-dropdown-item>-->
+<!--               <el-dropdown-item>LOW-E55N</el-dropdown-item>-->
+<!--             </el-dropdown-menu>-->
+<!--           </template>-->
+<!--         </el-dropdown>-->
+<!--       </el-col>-->
      </el-row>
+     <el-divider ></el-divider> <!-- 娣诲姞鍒嗛殧绾� -->
+       <el-row gutter="5" v-show="value=='鍘熺墖'|| value=='杈呮枡'">
+       <el-col :span="4.5">
+         鍚嶇О <el-input  v-show="value=='鍘熺墖' || value=='杈呮枡'" v-model="productName" placeholder="璇疯緭鍏ュ悕绉�" style="width: 150px; height: 30px;" />
+       </el-col>
+         <el-col :span="4.5">
+           鏁伴噺 <el-input v-show="value=='鍘熺墖' || value=='杈呮枡'"  v-model="salId" placeholder="璇疯緭鍏ユ暟閲�" style="width: 150px; height: 30px;" />
+         </el-col>
+         <el-col :span="4.5">
+           鍗曚綅 <el-input v-model="name" placeholder="璇疯緭鍏ュ崟浣�" style="width: 150px; height: 30px;" />
+         </el-col>
+         <el-col :span="4.5">
+           鍨嬪彿<el-input v-model="name" placeholder="璇疯緭鍏ュ瀷鍙�" style="width: 150px; height: 30px;" />
+         </el-col>
+       </el-row>
+     <el-divider v-show="false" ></el-divider> <!-- 娣诲姞鍒嗛殧绾� -->
+<!--         <el-row gutter="5">-->
+<!--           <el-col span="4.5">-->
+<!--           <el-input v-model="name" placeholder="璇疯緭鍏ユ崲绠楀崟浣�" style="width: 150px; height: 30px;" />-->
+<!--           </el-col>-->
+<!--           <el-col :span="4.5">-->
+<!--             <el-input v-model="name" placeholder="璇疯緭鍏ユ崲绠楃巼" style="width: 150px; height: 30px;" />-->
+<!--           </el-col>-->
+<!--     </el-row>-->
 
      <el-divider ></el-divider> <!-- 娣诲姞鍒嗛殧绾� -->
 
      <el-row gutter="5">
-       <el-col :span="4.5">
-         <el-input v-model="name" placeholder="璇疯緭鍏ュ搴�" style="width: 150px; height: 30px;" />
-       </el-col>
-       <el-col :span="4.5">
-         <el-input v-model="name" placeholder="璇疯緭鍏ラ珮搴�" style="width: 150px; height: 30px;" />
-       </el-col>
-       <el-col :span="4.5">
-         <el-input v-model="name" placeholder="璇疯緭鍏ュ帤搴�" style="width: 150px; height: 30px;" />
-       </el-col>
-       <el-col :span="4">
-         <el-dropdown>
-           <el-button type="primary">
-             澶х被<el-icon class="el-icon--right" style="width: 66px;"><arrow-down /></el-icon>
-           </el-button>
-           <template #dropdown>
-             <el-dropdown-menu>
-               <el-dropdown-item>杈呯墖</el-dropdown-item>
-               <el-dropdown-item>鍘熺墖</el-dropdown-item>
-             </el-dropdown-menu>
-           </template>
-         </el-dropdown>
-       </el-col>
+
+
+
+
      </el-row>
 
-     <el-divider ></el-divider> <!-- 娣诲姞鍒嗛殧绾� -->
+<!--     <el-divider ></el-divider> &lt;!&ndash; 娣诲姞鍒嗛殧绾� &ndash;&gt;-->
 
-     <el-row gutter="5">
-       <el-col :span="4.5">
-         <el-input v-model="name" placeholder="璇疯緭鍏ュ瀷鍙�" style="width: 150px; height: 30px;" />
-       </el-col>
+<!--     <el-row gutter="5">-->
+<!--       <el-col :span="4.5">-->
+<!--         <el-input v-model="name" placeholder="璇疯緭鍏ュ瀷鍙�" style="width: 150px; height: 30px;" />-->
+<!--       </el-col>-->
 
-       <el-col :span="4.5">
-         <el-input v-model="name" placeholder="璇疯緭鍏ュ崟浣�" style="width: 150px; height: 30px;" />
-       </el-col>
-       <el-col :span="4">
-         <el-dropdown>
-           <el-button type="primary">
-             浜у湴<el-icon class="el-icon--right" style="width: 66px;"><arrow-down /></el-icon>
-           </el-button>
-           <template #dropdown>
-             <el-dropdown-menu>
-               <el-dropdown-item>鏆傛棤</el-dropdown-item>
-             </el-dropdown-menu>
-           </template>
-         </el-dropdown>
-       </el-col>
-       <el-col :span="4">
-         <el-dropdown>
-           <el-button type="primary">
-             涓被<el-icon class="el-icon--right" style="width: 66px;"><arrow-down /></el-icon>
-           </el-button>
-           <template #dropdown>
-             <el-dropdown-menu>
-               <el-dropdown-item>0</el-dropdown-item>
-             </el-dropdown-menu>
-           </template>
-         </el-dropdown>
-       </el-col>
-     </el-row>
+<!--       <el-col :span="4.5">-->
+<!--         <el-input v-model="name" placeholder="璇疯緭鍏ュ崟浣�" style="width: 150px; height: 30px;" />-->
+<!--       </el-col>-->
+<!--       <el-col :span="4">-->
+<!--         <el-dropdown>-->
+<!--           <el-button type="primary">-->
+<!--             浜у湴<el-icon class="el-icon&#45;&#45;right" style="width: 66px;"><arrow-down /></el-icon>-->
+<!--           </el-button>-->
+<!--           <template #dropdown>-->
+<!--             <el-dropdown-menu>-->
+<!--               <el-dropdown-item>鏆傛棤</el-dropdown-item>-->
+<!--             </el-dropdown-menu>-->
+<!--           </template>-->
+<!--         </el-dropdown>-->
+<!--       </el-col>-->
+<!--       <el-col :span="4">-->
+<!--         <el-dropdown>-->
+<!--           <el-button type="primary">-->
+<!--             涓被<el-icon class="el-icon&#45;&#45;right" style="width: 66px;"><arrow-down /></el-icon>-->
+<!--           </el-button>-->
+<!--           <template #dropdown>-->
+<!--             <el-dropdown-menu>-->
+<!--               <el-dropdown-item>0</el-dropdown-item>-->
+<!--             </el-dropdown-menu>-->
+<!--           </template>-->
+<!--         </el-dropdown>-->
+<!--       </el-col>-->
+<!--     </el-row>-->
 
 
-     <el-divider ></el-divider> <!-- 娣诲姞鍒嗛殧绾� -->
+<!--     <el-divider ></el-divider> &lt;!&ndash; 娣诲姞鍒嗛殧绾� &ndash;&gt;-->
 
-     <el-row gutter="5">
-       <el-col :span="4.5">
-         <el-input v-model="name" placeholder="璇疯緭鍏ユ崲绠楀崟浣�" style="width: 150px; height: 30px;" />
-       </el-col>
-       <el-col :span="4.5">
-         <el-input v-model="name" placeholder="璇疯緭鍏ユ崲绠楃巼" style="width: 150px; height: 30px;" />
-       </el-col>
-       <el-col :span="4.5">
-         <el-input v-model="name" placeholder="璇疯緭鍏ュ娉�" style="width: 150px; height: 30px;" />
-       </el-col>
-       <el-col :span="4">
-         <el-dropdown>
-           <el-button type="primary">
-             灏忕被<el-icon class="el-icon--right" style="width: 66px;"><arrow-down /></el-icon>
-           </el-button>
-           <template #dropdown>
-             <el-dropdown-menu>
-               <el-dropdown-item>0</el-dropdown-item>
-             </el-dropdown-menu>
-           </template>
-         </el-dropdown>
-       </el-col>
-     </el-row>
+<!--     <el-row gutter="5">-->
 
-     <el-divider ></el-divider> <!-- 娣诲姞鍒嗛殧绾� -->
+
+<!--       <el-col :span="4.5">-->
+<!--         <el-input v-model="name" placeholder="璇疯緭鍏ュ娉�" style="width: 150px; height: 30px;" />-->
+<!--       </el-col>-->
+<!--       <el-col :span="4">-->
+<!--         <el-dropdown>-->
+<!--           <el-button type="primary">-->
+<!--             灏忕被<el-icon class="el-icon&#45;&#45;right" style="width: 66px;"><arrow-down /></el-icon>-->
+<!--           </el-button>-->
+<!--           <template #dropdown>-->
+<!--             <el-dropdown-menu>-->
+<!--               <el-dropdown-item>0</el-dropdown-item>-->
+<!--             </el-dropdown-menu>-->
+<!--           </template>-->
+<!--         </el-dropdown>-->
+<!--       </el-col>-->
+<!--     </el-row>-->
+
+<!--     <el-divider ></el-divider> &lt;!&ndash; 娣诲姞鍒嗛殧绾� &ndash;&gt;-->
 
 
      <el-row gutter="5">
-       <el-col :span="4.5">
-         <el-input v-model="name" placeholder="璇疯緭鍏ヤ繚璐ㄦ湡" style="width: 150px; height: 30px;" />
-       </el-col>
-       <el-col :span="4.5">
-         <el-input v-model="name" placeholder="璇疯緭鍏ユ渶楂橀璀�" style="width: 150px; height: 30px;" />
-       </el-col>
-       <el-col :span="4.5">
-         <el-input v-model="name" placeholder="璇疯緭鍏ユ媶鍖呴璀�" style="width: 150px; height: 30px;" />
-       </el-col>
-       <el-col :span="4">
-         <el-dropdown>
-           <el-button type="primary">
-             鑶滅郴<el-icon class="el-icon--right" style="width: 66px;"><arrow-down /></el-icon>
-           </el-button>
-           <template #dropdown>
-             <el-dropdown-menu>
-               <el-dropdown-item>闈為晙鑶�</el-dropdown-item>
-               <el-dropdown-item>鍦ㄧ嚎LOW-E</el-dropdown-item>
-               <el-dropdown-item>SUPPER-I</el-dropdown-item>
-               <el-dropdown-item>SUPPER-I+</el-dropdown-item>
-               <el-dropdown-item>SUPPER-II</el-dropdown-item>
-               <el-dropdown-item>SUPPER-III</el-dropdown-item>
-               <el-dropdown-item>SUPPER-V</el-dropdown-item>
-               <el-dropdown-item>SUPPER-IA</el-dropdown-item>
-               <el-dropdown-item>SUNLITE LOWE</el-dropdown-item>
-               <el-dropdown-item>LOW-E40</el-dropdown-item>
-               <el-dropdown-item>LOW-E40A</el-dropdown-item>
-               <el-dropdown-item>LOW-E50</el-dropdown-item>
-               <el-dropdown-item>LOW-E55N</el-dropdown-item>
-             </el-dropdown-menu>
-           </template>
-         </el-dropdown>
-       </el-col>
+<!--       <el-col :span="4.5">-->
+<!--         <el-input v-model="name" placeholder="璇疯緭鍏ヤ繚璐ㄦ湡" style="width: 150px; height: 30px;" />-->
+<!--       </el-col>-->
+<!--       <el-col :span="4.5">-->
+<!--         <el-input v-model="name" placeholder="璇疯緭鍏ユ渶楂橀璀�" style="width: 150px; height: 30px;" />-->
+<!--       </el-col>-->
+<!--       <el-col :span="4.5">-->
+<!--         <el-input v-model="name" placeholder="璇疯緭鍏ユ媶鍖呴璀�" style="width: 150px; height: 30px;" />-->
+<!--       </el-col>-->
+
      </el-row>
      <el-divider ></el-divider> <!-- 娣诲姞鍒嗛殧绾� -->
      <el-row  gutter="10" justify="center" >
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainIngredient/Ingredients.vue b/north-glass-erp/northglass-erp/src/views/mm/mainIngredient/Ingredients.vue
index 91428a8..e8fbf67 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainIngredient/Ingredients.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainIngredient/Ingredients.vue
@@ -19,8 +19,9 @@
   <div id="main">
     <div id="div-title">
       <el-breadcrumb :separator-icon="ArrowRight">
-        <el-breadcrumb-item :to="{ path: '/main/ingredients/SelectIngredients' }">浜у搧鏌ヨ</el-breadcrumb-item>
+        <el-breadcrumb-item :to="{ path: '/main/ingredients/SelectIngredients' }">鐗╂枡璧勬枡</el-breadcrumb-item>
         <el-breadcrumb-item :to="{ path: '/main/ingredients/CreateIngredients' }">鐗╂枡鏂板</el-breadcrumb-item>
+        <el-breadcrumb-item v-show="false" :to="{ path: '/main/order/orderReport' }">鎶ヨ〃</el-breadcrumb-item>
       </el-breadcrumb>
 
     </div>
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainIngredient/SelectIngredients.vue b/north-glass-erp/northglass-erp/src/views/mm/mainIngredient/SelectIngredients.vue
index 17b05a6..777c902 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainIngredient/SelectIngredients.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainIngredient/SelectIngredients.vue
@@ -1,174 +1,183 @@
-<!-- 鐗╂枡璧勬枡 -->
-<script lang="ts" setup>
-import { ref } from 'vue';
-const name = ref('')
-const productName = ref('')
-const salId = ref('')
-let tableData = ref([
-  {
-    "鑷簭":'1',
-    "鐗╂枡缂栫爜":'700900000000941',
-    "鐗╂枡鍚嶇О":'涓濊闃叉檼鎵嬪濂楄',
-    "浜у湴":'00',
-    "瀹藉害":'0.00',
-    "楂樺害":'0.00',
-    "鍘氬害":'0.00',
-    "鍨嬪彿":'',
-    "鎹㈢畻鐜�":'1000',
-    "鍗曚綅":'鍙�',
-    "鎹㈢畻鍗曚綅":'1',
-    "淇濊川鏈�":'12',
-    "閲嶉噺":'0.0000',
-    "鏁伴噺":'2016-10-17',
-    "搴撳瓨缁勭粐":'浜哄伐搴�',
-    "澶囨敞":'',
+<script setup>
+
+import {reactive} from "vue";
+import {useRouter} from  'vue-router'
+let router=useRouter()
+const getTableRow = (row,type) =>{
+  switch (type) {
+    case 'edit' :{
+      //alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+      router.push({path: '/main/ingredients/CreateIngredients', query: { id: row.id }})
+      break
+    }
+    case 'delete':{
+      alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑鍒犻櫎淇℃伅')
+      break
+    }
+  }
+}
+
+
+
+//瀛愮粍浠舵帴鏀跺弬鏁�
+
+const gridOptions = reactive({
+  border:  "full",//琛ㄦ牸鍔犺竟妗�
+  keepSource: true,//淇濇寔婧愭暟鎹�
+  align: 'center',//鏂囧瓧灞呬腑
+  stripe:true,//鏂戦┈绾�
+  rowConfig: {isCurrent: true, isHover: true,height: 50},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
+  id: 'CustomerList',
+  showFooter: true,//鏄剧ず鑴�
+  printConfig: {},
+  importConfig: {},
+  exportConfig: {},
+  scrollY:{ enabled: true },//寮�鍚櫄鎷熸粴鍔�
+  showOverflow:true,
+  columnConfig: {
+    resizable: true,
+    useKey: true
   },
-  {
-    "鑷簭":'2',
-    "鐗╂枡缂栫爜":'700900000000940',
-    "鐗╂枡鍚嶇О":'鑷浣嶆寜閽紑鍏�',
-    "浜у湴":'00',
-    "瀹藉害":'0.00',
-    "楂樺害":'0.00',
-    "鍘氬害":'0.00',
-    "鍨嬪彿":'',
-    "鎹㈢畻鐜�":'1000',
-    "鍗曚綅":'浠�',
-    "鎹㈢畻鍗曚綅":'1',
-    "淇濊川鏈�":'12',
-    "閲嶉噺":'0.0000',
-    "鏁伴噺":'2016-10-17',
-    "搴撳瓨缁勭粐":'浜哄伐搴�',
-    "澶囨敞":'',
+  filterConfig: {   //绛涢�夐厤缃」
+    remote: true
   },
-  {
-    "鑷簭":'3',
-    "鐗╂枡缂栫爜":'700900000001189',
-    "鐗╂枡鍚嶇О":'鎴峰鏄庤闃叉按鎻掑骇',
-    "浜у湴":'00',
-    "瀹藉害":'0.00',
-    "楂樺害":'0.00',
-    "鍘氬害":'0.00',
-    "鍨嬪彿":'',
-    "鎹㈢畻鐜�":'1000',
-    "鍗曚綅":'涓�',
-    "鎹㈢畻鍗曚綅":'1',
-    "淇濊川鏈�":'12',
-    "閲嶉噺":'0.0000',
-    "鏁伴噺":'2016-10-17',
-    "搴撳瓨缁勭粐":'浜哄伐搴�',
-    "澶囨敞":'',
+  customConfig: {
+    storage: true
   },
-  {
-    "鑷簭":'4',
-    "鐗╂枡缂栫爜":'700900000001188',
-    "鐗╂枡鍚嶇О":'骞虫澘鍦版嫋',
-    "浜у湴":'00',
-    "瀹藉害":'0.00',
-    "楂樺害":'0.00',
-    "鍘氬害":'0.00',
-    "鍨嬪彿":'',
-    "鎹㈢畻鐜�":'1000',
-    "鍗曚綅":'鎶�',
-    "鎹㈢畻鍗曚綅":'1',
-    "淇濊川鏈�":'12',
-    "閲嶉噺":'0.0000',
-    "鏁伴噺":'2016-10-17',
-    "搴撳瓨缁勭粐":'浜哄伐搴�',
-    "澶囨敞":'',
+  editConfig: {
+    trigger: 'click',
+    mode: 'row',
+    showStatus: true
+  },//琛ㄥご鍙傛暟
+  columns:[
+    {type:'expand',fixed:"left",slots: { content:'content' },width: '50'},
+    // { type: 'checkbox',fixed:"left", title: '閫夋嫨', width: '80' },
+    { type: 'seq',fixed:"left", title: '鑷簭', width: '80' },
+    {title: '鎿嶄綔', width: '110', slots: { default: 'button_slot' },fixed:"left"},
+    {field: 'materialCode', width:'150', title: '鐗╂枡缂栫爜', sortable: true,editRender: { name: 'input', attrs: { placeholder: '' } } },
+    {field: 'materialName', width: '150',title: '鐗╂枡鍚嶇О', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'origin', width: '120',title: '浜у湴', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'width', width: '100',title: '瀹藉害', sortable: true},
+    {field: 'height',width: '100', title: '楂樺害', sortable: true,showOverflow:"ellipsis"},
+    {field: 'thickness', width: '80',title: '鍘氬害', sortable: true},
+    {field: 'model',width: '100', title: '鍨嬪彿', sortable: true},
+    {field: 'conversionRate', width: '100',title: '鎹㈢畻鐜�', sortable: true},
+    {field: 'unit',width: '100', title: '鍗曚綅', sortable: true},
+    {field: 'conversionUnit', width: '80',title: '鎹㈢畻鍗曚綅', sortable: true},
+    {field: 'shelfLife',width: '100', title: '淇濊川鏈�', sortable: true},
+    {field: 'weight', width: '100',title: ' 閲嶉噺', sortable: true},
+    {field: 'quantity',width: '110', title: '鏁伴噺', sortable: true},
+    {field: 'inventoryOrganization',width: '100', title: '搴撳瓨缁勭粐', sortable: true},
+    {field: 'remark',width: '80', title: '澶囨敞', sortable: true},
+
+  ],//琛ㄥご鎸夐挳
+  toolbarConfig: {
+
+    import: false,
+    export: true,
+    print: true,
+    zoom: true,
+    custom: true
   },
-])
+  data:  [
+    {
+      "materialCode": 700900000000941,
+      "materialName": "涓濊闃叉檼鎵嬪濂楄",
+      "origin": "00",
+      "width": "00",
+      "height": "00",
+      "thickness":'00',
+      "model": "鏈嶉グ",
+      "conversionRate": "1000",
+      "unit": "鍙�",
+      "conversionUnit": "1",
+      "shelfLife": "12涓湀",
+      "weight": "0.0000",
+      "quantity": "10000",
+      "inventoryOrganization": "浜哄伐搴�",
+      "remark": "娴嬭瘯",
+    },
+    {
+      "materialCode": 700900000000941,
+      "materialName": "涓濊闃叉檼鎵嬪濂楄",
+      "origin": "00",
+      "width": "00",
+      "height": "00",
+      "thickness":'00',
+      "model": "鏈嶉グ",
+      "conversionRate": "1000",
+      "unit": "鍙�",
+      "conversionUnit": "1",
+      "shelfLife": "12涓湀",
+      "weight": "0.0000",
+      "quantity": "10000",
+      "inventoryOrganization": "浜哄伐搴�",
+      "remark": "娴嬭瘯",
+    },
+  ],//table body瀹為檯鏁版嵁
+  footerMethod ({ columns, data }) {//椤佃剼鍑芥暟
+    return[
+      columns.map((column, columnIndex) => {
+        if (columnIndex === 0) {
+          return '鍚堣:'
+        }
+        // if (props.tableProp.footList.includes(column.field)) {
+        //   return sumNum(data, column.field)
+        // }
+        return ''
+      })
+    ]
+  }
+
+})
+
+
+
 </script>
+
 <template>
-  <div>
-    <!-- 琛ㄥ崟寮�濮� -->
-    <div>
-      <el-form  size="medium" >
+  <div class="main-div-customer">
+    <vxe-grid
+        max-height="100%"
+        @filter-change="filterChanged"
+        class="mytable-scrollbar"
+        ref="xGrid"
+        v-bind="gridOptions"
 
-<!--        <el-row gutter="5">-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="name" placeholder="璇疯緭鍏ョ墿鏂欑紪鐮�" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="productName" placeholder="璇疯緭鍏ョ墿鏂欏悕绉�" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="salId" placeholder="璇疯緭鍏ュ搴�" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="salId" placeholder="璇疯緭鍏ラ珮搴�" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
+    >
+      <!--      @toolbar-button-click="toolbarButtonClickEvent"-->
+      <!--      涓嬫媺鏄剧ず鎵�鏈変俊鎭彃妲�-->
+      <template #content="{ row}">
+        <ul class="expand-wrapper">
+          <li  v-for="(item,key,index) in row">
+            <span style="font-weight: bold">{{key+':  '}}</span>
+            <span>{{ item }}</span>
+          </li>
+        </ul>
+      </template>
 
-<!--        </el-row>-->
+      <!--宸﹁竟鍥哄畾鏄剧ず鐨勬彃妲�-->
+      <template #button_slot="{ row }">
+        <el-button @click="getTableRow(row,'edit')" link type="primary" size="small">缂栬緫</el-button>
+        <el-button @click="getTableRow(row,'delete')" link type="primary" size="small">鍒犻櫎</el-button>
+      </template>
 
-<!--        &lt;!&ndash; <el-form-item size="large">-->
-<!--          <el-button type="primary" @click="submitForm">鏌ヨ</el-button>-->
-<!--          <el-button @click="resetForm">閲嶇疆</el-button>-->
-<!--        </el-form-item>&ndash;&gt;-->
-<!--        <el-row gutter="5">-->
-<!--          <el-col :span="4">-->
-<!--            <el-dropdown>-->
-<!--              <el-button type="primary">-->
-<!--                璇烽�夋嫨搴撳瓨缁勭粐<el-icon class="el-icon&#45;&#45;right" style="width: 66px;"><arrow-down /></el-icon>-->
-<!--              </el-button>-->
-<!--              <template #dropdown>-->
-<!--                <el-dropdown-menu>-->
-<!--                  <el-dropdown-item>Action 1</el-dropdown-item>-->
-<!--                  <el-dropdown-item>Action 2</el-dropdown-item>-->
-<!--                  <el-dropdown-item>Action 3</el-dropdown-item>-->
-<!--                  <el-dropdown-item>Action 4</el-dropdown-item>-->
-<!--                  <el-dropdown-item>Action 5</el-dropdown-item>-->
-<!--                </el-dropdown-menu>-->
-<!--              </template>-->
-<!--            </el-dropdown>-->
-<!--          </el-col>-->
+      <template #num1_filter="{ column, $panel }">
+        <div>
+          <div v-for="(option, index) in column.filters" :key="index">
+            <input type="type" v-model="option.data" @input="changeFilterEvent($event, option, $panel)"/>
+          </div>
+        </div>
+      </template>
 
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="name" placeholder="璇疯緭瀹藉害" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="name" placeholder="璇疯緭鍨嬪彿" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
 
-<!--          <el-col :span="4">-->
-<!--            <el-button id="searchButton" type="primary" :icon="Search">鏌ヨ</el-button>-->
-<!--          </el-col>-->
-
-<!--        </el-row>-->
-      </el-form>
-    </div>
-    <!-- 琛ㄥ崟缁撴潫 -->
-    <!-- 琛ㄦ牸寮�濮� -->
-    <div>
-      <el-table :data="tableData" border style="width: 100%">
-        <el-table-column prop="鑷簭" label="鑷簭" width="180" />
-        <el-table-column prop="鐗╂枡缂栫爜" label="鐗╂枡缂栫爜" width="180" />
-        <el-table-column prop="鐗╂枡鍚嶇О" label="鐗╂枡鍚嶇О" width="180"/>
-        <el-table-column prop="浜у湴" label="浜у湴" width="180"/>
-        <el-table-column prop="瀹藉害" label="瀹藉害" width="180"/>
-        <el-table-column prop="楂樺害" label="楂樺害" width="180"/>
-        <el-table-column prop="鍘氬害" label="鍘氬害" width="180"/>
-        <el-table-column prop="鍨嬪彿" label="鍨嬪彿" width="180"/>
-        <el-table-column prop="鎹㈢畻鐜�" label="鎹㈢畻鐜�" width="180"/>
-        <el-table-column prop="鍗曚綅" label="鍗曚綅" width="180"/>
-        <el-table-column prop="鎹㈢畻鍗曚綅" label="鎹㈢畻鍗曚綅" width="180"/>
-        <el-table-column prop="淇濊川鏈�" label="淇濊川鏈�" width="180"/>
-        <el-table-column prop="閲嶉噺" label="閲嶉噺" width="180"/>
-        <el-table-column prop="鏁伴噺" label="鏁伴噺" width="180"/>
-        <el-table-column prop="搴撳瓨缁勭粐" label="搴撳瓨缁勭粐" width="180"/>
-        <el-table-column prop="澶囨敞" label="澶囨敞" width="180"/>
-        <el-table-column fixed="left" label="鎿嶄綔" width="120">
-          <template #default>
-            <el-button link type="primary" size="small" @click="handleClick"
-            >缂栬緫</el-button
-            >
-            <el-button link type="primary" size="small">鍒犻櫎</el-button>
-          </template>
-        </el-table-column>
-      </el-table>
-    </div>
+    </vxe-grid>
   </div>
 </template>
 
-<style>
+<style scoped>
+.main-div-customer{
+  width: 99%;
+  height: 100%;
+}
 </style>
\ No newline at end of file
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/AccessoriesMonthlySettlement.vue b/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/AccessoriesMonthlySettlement.vue
index 95794bc..f34ff81 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/AccessoriesMonthlySettlement.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/AccessoriesMonthlySettlement.vue
@@ -1,94 +1,252 @@
-<!--杈呮枡鏈堢粨-->
+<script setup>
 
+import {reactive, ref} from "vue";
+import {useRouter} from  'vue-router'
+import {VXETable} from "vxe-table";
+let router=useRouter()
+const getTableRow = (row,type) =>{
+  switch (type) {
+    case 'edit' :{
+      //alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+      router.push({path: '/main/trader/CreateTrader', query: { id: row.id }})
+      break
+    }
+    case 'delete':{
+      alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑鍒犻櫎淇℃伅')
+      break
+    }
 
-<script lang="ts" setup>
+  }
+}
 
-</script>
-<template>
-  <div>
-    <div>
-      <el-form>
-        <el-row gutter="10" >
-          <el-col :span="2.5">
-            <div class="label-text">鏌ヨ杈呮枡鎶ヨ〃鏃ユ湡</div>
-          </el-col>
-          <el-col :span="4">
-            <el-date-picker
-                type="daterange"
-                start-placeholder="寮�濮嬫椂闂�"
-                end-placeholder="缁撴潫鏃堕棿"
-                style="width: 200px;"
-            />
-          </el-col>
-          <el-col :span="4">
-            <el-dropdown>
-              <el-button type="primary">
-                杈呮枡绫诲瀷<el-icon class="el-icon--right" style="width: 66px;"><arrow-down /></el-icon>
-              </el-button>
-              <template #dropdown>
-                <el-dropdown-menu>
-                  <el-dropdown-item>鍖栧鍝�</el-dropdown-item>
-                  <el-dropdown-item>纾ㄨ疆</el-dropdown-item>
-                  <el-dropdown-item>鏃犲皹绾�</el-dropdown-item>
-                  <el-dropdown-item>鑶�</el-dropdown-item>
-                  <el-dropdown-item>鏈ㄧ</el-dropdown-item>
-                  <el-dropdown-item>鐢靛伐鐢垫皵</el-dropdown-item>
-                  <el-dropdown-item>鏈哄櫒閰嶄欢</el-dropdown-item>
-                  <el-dropdown-item>宸ュ叿</el-dropdown-item>
-                  <el-dropdown-item>鍔炲叕鐢ㄥ搧</el-dropdown-item>
-                  <el-dropdown-item>杈呮枡浣欐枡</el-dropdown-item>
-                  <el-dropdown-item>鏉ユ枡鍔犲伐</el-dropdown-item>
-                  <el-dropdown-item>涓濆嵃</el-dropdown-item>
-                  <el-dropdown-item>鏈ㄦ澘</el-dropdown-item>
-                  <el-dropdown-item>姘斾綋</el-dropdown-item>
-                  <el-dropdown-item>鍖栧伐绠′欢</el-dropdown-item>
-                  <el-dropdown-item>鍙戝鍔犲伐</el-dropdown-item>
-                  <el-dropdown-item>鏈哄櫒璁惧缁翠慨</el-dropdown-item>
-                  <el-dropdown-item>鏈烘璁惧</el-dropdown-item>
-                  <el-dropdown-item>鍙版澘</el-dropdown-item>
-                </el-dropdown-menu>
-              </template>
-            </el-dropdown>
-          </el-col>
-          <el-col :span="4">
-            <el-button id="searchButton" type="primary" :icon="Search">鏌ヨ鎶ヨ〃</el-button>
-          </el-col>
-        </el-row>
-      </el-form>
-    </div>
-    <div>
-      <div>
-        <el-table :data="tableData" border style="width: 100%">
-          <el-table-column prop="鑷簭" label="鑷簭" width="100" />
-          <el-table-column prop="鏈堜唤" label="鏈堜唤" width="100" />
-          <el-table-column prop="鍗曚綅" label="鍗曚綅" width="60"/>
-          <el-table-column prop="鐗╂枡缂栫爜" label="鐗╂枡缂栫爜" width="100"/>
-          <el-table-column prop="鐗╂枡鍚嶇О" label="鐗╂枡鍚嶇О" width="100"/>
-          <el-table-column prop="楂樺害" label="楂樺害" width="100"/>
-          <el-table-column prop="鍘氬害" label="鍘氬害" width="100"/>
-          <el-table-column prop="瀹藉害" label="瀹藉害" width="100"/>
-          <el-table-column prop="涓婃湀鏁伴噺" label="涓婃湀鏁伴噺" width="100"/>
-          <el-table-column prop="鏈湀鍏ュ簱鏁伴噺" label="鏈湀鍏ュ簱鏁伴噺" width="110"/>
-          <el-table-column prop="鏈湀鍑哄簱鏁伴噺" label="鏈湀鍑哄簱鏁伴噺" width="110"/>
-          <el-table-column prop="鏈湀搴撳瓨鏁伴噺" label="鏈湀搴撳瓨鏁伴噺" width="110"/>
-        </el-table>
-      </div>
-    </div>
-  </div>
-</template>
-<style>
-.centered-box {
-  display: flex;
-  justify-content: center;
-  align-items: center;
-  height: 100vh;
+//瀛愮粍浠舵帴鏀跺弬鏁�
+
+const gridOptions = reactive({
+  border:  "full",//琛ㄦ牸鍔犺竟妗�
+  keepSource: true,//淇濇寔婧愭暟鎹�
+  align: 'center',//鏂囧瓧灞呬腑
+  stripe:true,//鏂戦┈绾�
+  rowConfig: {isCurrent: true, isHover: true,height: 50},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
+  id: 'CustomerList',
+  showFooter: true,//鏄剧ず鑴�
+  printConfig: {},
+  importConfig: {},
+  exportConfig: {},
+  scrollY:{ enabled: true },//寮�鍚櫄鎷熸粴鍔�
+  showOverflow:true,
+  columnConfig: {
+    resizable: true,
+    useKey: true
+  },
+  filterConfig: {   //绛涢�夐厤缃」
+    remote: true
+  },
+  customConfig: {
+    storage: true
+  },
+  editConfig: {
+    trigger: 'click',
+    mode: 'row',
+    showStatus: true
+  },//琛ㄥご鍙傛暟
+  columns:  [
+    {type:'expand',fixed:"left",slots: { content:'content' },width: '50'},
+    // { type: 'checkbox',fixed:"left", title: '閫夋嫨', width: '80' },
+    { type: 'seq',fixed:"left", title: '鑷簭', width: '80' },
+    // {title: '鎿嶄綔', width: '110', slots: { default: 'button_slot' },fixed:"left"},
+    {field: 'month', width:'150', title: '鏈堜唤', sortable: true,editRender: { name: 'input' },filters:[{ data: '' }],slots: { filter: 'num1_filter' } },
+    {field: 'unit', width: '150',title: '鍗曚綅', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'materialCode', width: '120',title: '鐗╂枡缂栫爜', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'materialName', width: '100',title: '鐗╂枡鍚嶇О', sortable: true},
+    {field: 'height',width: '100', title: '楂樺害', sortable: true,showOverflow:"ellipsis"},
+    {field: 'thickness', width: '80',title: '鍘氬害', sortable: true},
+    {field: 'width',width: '100', title: '瀹藉害', sortable: true},
+    {field: 'lastMonthQuantity', width: '100',title: '涓婃湀鏁伴噺', sortable: true},
+    {field: 'lastMonthArea',width: '100', title: '涓婃湀闈㈢Н', sortable: true},
+    {field: 'thisMonthReceivedQuantity', width: '140',title: '鏈湀鍏ュ簱鏁伴噺', sortable: true},
+    {field: 'thisMonthReceivedArea',width: '140', title: '鏈湀鍏ュ簱闈㈢Н', sortable: true},
+    {field: 'thisMonthIssuedQuantity', width: '140',title: '鏈湀鍑哄簱鏁伴噺', sortable: true},
+    {field: 'thisMonthIssuedArea',width: '140', title: '鏈湀鍑哄簱闈㈢Н', sortable: true},
+    {field: 'thisMonthInventoryQuantity',width: '140', title: '鏈湀搴撳瓨鏁伴噺', sortable: true},
+    {field: 'thisMonthInventoryArea',width: '140', title: '鏈湀搴撳瓨闈㈢Н', sortable: true},
+  ],//琛ㄥご鎸夐挳
+  toolbarConfig: {
+    // buttons: [{
+    //   'name': '鏌ヨ',
+    //   'code':'add'
+    // },],
+    import: false,
+    export: true,
+    print: true,
+    zoom: true,
+    custom: true
+  },
+  data:  [
+    {
+      'month':'3',
+      'unit':'浠�',
+      'materialCode':'KF2023122101',
+      'materialName':'鍏墰鎻掑骇',
+      'height':'0',
+      'thickness':'0',
+      'width':'0',
+      'lastMonthQuantity':'100',
+      'lastMonthArea':'0',
+      'thisMonthReceivedQuantity':'100',
+      'thisMonthReceivedArea':'0',
+      'thisMonthIssuedQuantity':'23',
+      'thisMonthIssuedArea':'0',
+      'thisMonthInventoryQuantity':'77',
+      'thisMonthInventoryArea':'0',
+    },
+    {
+      'month':'3',
+      'unit':'浠�',
+      'materialCode':'KF2023122101',
+      'materialName':'鍏墰鎻掑骇',
+      'height':'0',
+      'thickness':'0',
+      'width':'0',
+      'lastMonthQuantity':'100',
+      'lastMonthArea':'0',
+      'thisMonthReceivedQuantity':'100',
+      'thisMonthReceivedArea':'0',
+      'thisMonthIssuedQuantity':'23',
+      'thisMonthIssuedArea':'0',
+      'thisMonthInventoryQuantity':'77',
+      'thisMonthInventoryArea':'0',
+    },
+    {
+      'month':'3',
+      'unit':'浠�',
+      'materialCode':'KF2023122101',
+      'materialName':'鍏墰鎻掑骇',
+      'height':'0',
+      'thickness':'0',
+      'width':'0',
+      'lastMonthQuantity':'100',
+      'lastMonthArea':'0',
+      'thisMonthReceivedQuantity':'100',
+      'thisMonthReceivedArea':'0',
+      'thisMonthIssuedQuantity':'23',
+      'thisMonthIssuedArea':'0',
+      'thisMonthInventoryQuantity':'77',
+      'thisMonthInventoryArea':'0',
+    },
+  ],//table body瀹為檯鏁版嵁
+  footerMethod ({ columns, data }) {//椤佃剼鍑芥暟
+    return[
+      columns.map((column, columnIndex) => {
+        if (columnIndex === 0) {
+          return '鍚堣:'
+        }
+        // if (props.tableProp.footList.includes(column.field)) {
+        //   return sumNum(data, column.field)
+        // }
+        return ''
+      })
+    ]
+  }
+
+})
+
+const  xGrid = ref();
+
+const gridEvents = {
+  toolbarButtonClick ({ code }) {
+    const $grid = xGrid.value
+    if ($grid) {
+      switch (code) {
+        case 'add': {
+
+          router.push({path: '/main/trader/CreateTrader'})
+          /*if($grid.getCheckboxRecords().length==0){
+            VXETable.modal.message( '璇烽�夋嫨涓�鏉℃暟鎹紒')
+            return
+          }*/
+          return;
+        }
+
+      }
+    }
+  },
+  toolbarToolClick ({ code }) {
+    const $grid = xGrid.value
+    if ($grid) {
+      switch (code) {
+        case 'myPrint': {
+          $grid.print()
+          break
+        }
+      }
+    }
+  },
 }
 
 
 
+</script>
+
+<template>
+  <div class="main-div-customer">
+    <el-row gutter="10" >
+      <el-col :span="2.5">
+        <div class="label-text">鏌ヨ杈呮枡鎶ヨ〃鏃ユ湡</div>
+      </el-col>
+      <el-col :span="4">
+        <el-date-picker
+            type="daterange"
+            start-placeholder="寮�濮嬫椂闂�"
+            end-placeholder="缁撴潫鏃堕棿"
+            style="width: 200px;"
+        />
+      </el-col>
+      <el-col span="4">
+        <el-button id="searchButton" type="primary" :icon="Search">鏌ヨ鎶ヨ〃</el-button>
+      </el-col>
+    </el-row>
+    <vxe-grid
+        max-height="100%"
+        @filter-change="filterChanged"
+        class="mytable-scrollbar"
+        ref="xGrid"
+        v-bind="gridOptions"
+        v-on="gridEvents"
+
+    >
+      <!--      @toolbar-button-click="toolbarButtonClickEvent"-->
+      <!--      涓嬫媺鏄剧ず鎵�鏈変俊鎭彃妲�-->
+      <template #content="{ row}">
+        <ul class="expand-wrapper">
+          <li  v-for="(item,key,index) in row">
+            <span style="font-weight: bold">{{key+':  '}}</span>
+            <span>{{ item }}</span>
+          </li>
+        </ul>
+      </template>
+
+      <!--宸﹁竟鍥哄畾鏄剧ず鐨勬彃妲�-->
+      <template #button_slot="{ row }">
+        <el-button @click="getTableRow(row,'edit')" link type="primary" size="small">缂栬緫</el-button>
+        <el-button @click="getTableRow(row,'delete')" link type="primary" size="small">鍒犻櫎</el-button>
+      </template>
+
+      <template #num1_filter="{ column, $panel }">
+        <div>
+          <div v-for="(option, index) in column.filters" :key="index">
+            <input type="type" v-model="option.data" @input="changeFilterEvent($event, option, $panel)"/>
+          </div>
+        </div>
+      </template>
 
 
-.label-text {
-  font-weight: bold;
+    </vxe-grid>
+  </div>
+</template>
+
+<style scoped>
+.main-div-customer{
+  width: 99%;
+  height: 100%;
 }
 </style>
\ No newline at end of file
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/CreateOutBound.vue b/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/CreateOutBound.vue
new file mode 100644
index 0000000..f34a0a3
--- /dev/null
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/CreateOutBound.vue
@@ -0,0 +1,225 @@
+<!--鐗╂枡鍑哄簱-->
+
+
+<script setup>
+
+import {reactive} from "vue";
+import {useRouter} from  'vue-router'
+let router=useRouter()
+const getTableRow = (row,type) =>{
+  switch (type) {
+    case 'edit' :{
+      alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+      // router.push({path: '/main/trader/CreateTrader', query: { id: row.id }})
+      break
+    }
+    case 'delete':{
+      alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑鍒犻櫎淇℃伅')
+      break
+    }
+  }
+}
+
+
+
+//瀛愮粍浠舵帴鏀跺弬鏁�
+
+const gridOptions = reactive({
+  border:  "full",//琛ㄦ牸鍔犺竟妗�
+  keepSource: true,//淇濇寔婧愭暟鎹�
+  align: 'center',//鏂囧瓧灞呬腑
+  stripe:true,//鏂戦┈绾�
+  rowConfig: {isCurrent: true, isHover: true,height: 50},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
+  id: 'CustomerList',
+  showFooter: true,//鏄剧ず鑴�
+  printConfig: {},
+  importConfig: {},
+  exportConfig: {},
+  scrollY:{ enabled: true },//寮�鍚櫄鎷熸粴鍔�
+  showOverflow:true,
+  columnConfig: {
+    resizable: true,
+    useKey: true
+  },
+  filterConfig: {   //绛涢�夐厤缃」
+    remote: true
+  },
+  customConfig: {
+    storage: true
+  },
+  editConfig: {
+    trigger: 'click',
+    mode: 'row',
+    showStatus: true
+  },//琛ㄥご鍙傛暟
+  columns:[
+    {type:'expand',fixed:"left",slots: { content:'content' },width: '50'},
+    { type: 'checkbox',fixed:"left", title: '閫夋嫨', width: '80' },
+    // { type: 'seq',fixed:"left", title: '鑷簭', width: '80' },
+    {title: '鎿嶄綔', width: '110', slots: { default: 'button_slot' },fixed:"left"},
+    {field: 'MaterialCode', width: '150',title: '鐗╂枡缂栫爜', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'MaterialName', width: '120',title: '鐗╂枡鍚嶇О', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'InventoryCount',width: '100', title: '搴撳瓨鏁伴噺', sortable: true},
+    {field: 'OutNum', width:'150', title: '鍑哄簱鏁伴噺', sortable: true,editRender: { name: 'input', attrs: { placeholder: '' } } },
+    {field: 'Origin', width: '100',title: '浜у湴', sortable: true},
+    {field: 'Width', width: '80',title: '瀹藉害', sortable: true},
+    {field: 'Height',width: '100', title: '楂樺害', sortable: true},
+    {field: 'Thickness', width: '100',title: '鍘氬害', sortable: true},
+    {field: 'MainUnit',width: '100', title: '鍗曚綅', sortable: true},
+    {field: 'SafetyStock', width: '100',title: '鍗曠墖闈㈢Н', sortable: true},
+    {field: 'AvailableInventory', width: '100',title: '鎹㈢畻鐜�', sortable: true},
+    {field: 'UnclaimedQuantity',width: '140', title: '鏈鍙栨暟閲�', sortable: true},
+    {field: 'TotalArea',width: '100', title: '搴撳尯', sortable: true,editRender: { name: 'input', attrs: { placeholder: '' } }},
+    {field: 'ProductionDate',width: '100', title: '搴撲綅', sortable: true,editRender: { name: 'input', attrs: { placeholder: '' } }},
+    {field: 'ShelfLife',width: '100', title: '宸ョ▼鍗曞彿', sortable: true},
+    {field: 'LocationNumber',width: '100', title: '鐢熶骇鏃ユ湡', sortable: true},
+    {field: 'remark',width: '80', title: '澶囨敞', sortable: true,editRender: { name: 'input', attrs: { placeholder: '' } }},
+  ],//琛ㄥご鎸夐挳
+  toolbarConfig: {
+    buttons: [{
+      'name': '鎻愪氦',status:'primary'
+    }],
+    import: false,
+    export: true,
+    print: true,
+    zoom: true,
+    custom: true
+  },
+  data:  [
+
+  ],//table body瀹為檯鏁版嵁
+  footerMethod ({ columns, data }) {//椤佃剼鍑芥暟
+    return[
+      columns.map((column, columnIndex) => {
+        if (columnIndex === 0) {
+          return '鍚堣:'
+        }
+        // if (props.tableProp.footList.includes(column.field)) {
+        //   return sumNum(data, column.field)
+        // }
+        return ''
+      })
+    ]
+  }
+
+})
+
+
+
+</script>
+
+<template>
+  <el-row gutter="10" >
+    <el-col :span="2.5">
+      <div class="label-text">棰嗘枡鏃ユ湡</div>
+    </el-col>
+    <el-col :span="4">
+      <el-date-picker
+          type="daterange"
+          start-placeholder="寮�濮嬫椂闂�"
+          end-placeholder="缁撴潫鏃堕棿"
+          style="width: 200px;height: 30px"
+      />
+    </el-col>
+    <el-col :span="4">
+    <el-input v-model="productName" placeholder="璇疯緭鍏ラ鏂欏憳鍚嶇О" style="width: 200px; height: 30px;" />
+    </el-col>
+    <el-col :span="4">
+    <el-input v-model="banzu" placeholder="璇疯緭鍏ラ鏂欑彮缁�" style="width: 200px; height: 30px;" />
+    </el-col>
+    <el-col :span="7">
+    浠撶鍛�<el-input v-model="banzu" placeholder="鐜嬬繝鍏�" style="width: 200px; height: 30px;" />
+    </el-col>
+<!--    <el-col span="4">-->
+<!--      <el-button id="searchButton" type="primary" :icon="Search">鏌ヨ鎶ヨ〃</el-button>-->
+<!--    </el-col>-->
+  </el-row>
+
+  <el-row gutter="10" >
+    <el-col :span="2.5">
+      <div class="label-text">搴撳瓨缁勭粐</div>
+    </el-col>
+    <el-col :span="4">
+                  <el-dropdown>
+                    <el-button type="primary">
+                      璇烽�夋嫨搴撳瓨缁勭粐<el-icon class="el-icon--right" style="width: 66px;height: 30px"><arrow-down /></el-icon>
+                    </el-button>
+                    <template #dropdown>
+                      <el-dropdown-menu>
+                        <el-dropdown-item>浜哄伐搴�</el-dropdown-item>
+                        <el-dropdown-item>璁″垝搴�</el-dropdown-item>
+                        <el-dropdown-item>鑷姩鍖栧簱</el-dropdown-item>
+                      </el-dropdown-menu>
+                    </template>
+                  </el-dropdown>
+                </el-col>
+
+    <el-col :span="4">
+      <el-dropdown>
+        <el-button type="primary">
+          璇烽�夋嫨鍑哄簱绫诲瀷<el-icon class="el-icon--right" style="width:66px;"><arrow-down /></el-icon>
+        </el-button>
+        <template #dropdown>
+          <el-dropdown-menu>
+            <el-dropdown-item>鏍囧噯鍑哄簱</el-dropdown-item>
+            <el-dropdown-item>琛ュ崟棰嗘枡</el-dropdown-item>
+            <el-dropdown-item>杩斿伐棰嗘枡</el-dropdown-item>
+          </el-dropdown-menu>
+        </template>
+      </el-dropdown>
+    </el-col>
+    <el-col :span="12">
+      <el-input v-model="banzu" placeholder="璇疯緭鍏ラ攢鍞崟鍙�" style="width: 200px; height: 30px;" />
+    </el-col>
+<!--    <el-col span="4">-->
+<!--      <el-button id="searchButton" type="primary" :icon="Search">鎻愪氦</el-button>-->
+<!--    </el-col>-->
+    <!--    <el-col span="4">-->
+    <!--      <el-button id="searchButton" type="primary" :icon="Search">鏌ヨ鎶ヨ〃</el-button>-->
+    <!--    </el-col>-->
+  </el-row>
+  <div class="main-div-customer">
+    <vxe-grid
+        max-height="100%"
+        @filter-change="filterChanged"
+        class="mytable-scrollbar"
+        ref="xGrid"
+        v-bind="gridOptions"
+
+    >
+      <!--      @toolbar-button-click="toolbarButtonClickEvent"-->
+      <!--      涓嬫媺鏄剧ず鎵�鏈変俊鎭彃妲�-->
+      <template #content="{ row}">
+        <ul class="expand-wrapper">
+          <li  v-for="(item,key,index) in row">
+            <span style="font-weight: bold">{{key+':  '}}</span>
+            <span>{{ item }}</span>
+          </li>
+        </ul>
+      </template>
+
+      <!--宸﹁竟鍥哄畾鏄剧ず鐨勬彃妲�-->
+      <template #button_slot="{ row }">
+        <el-button @click="getTableRow(row,'edit')" link type="primary" size="small">缂栬緫</el-button>
+        <el-button @click="getTableRow(row,'delete')" link type="primary" size="small">鍒犻櫎</el-button>
+      </template>
+
+      <template #num1_filter="{ column, $panel }">
+        <div>
+          <div v-for="(option, index) in column.filters" :key="index">
+            <input type="type" v-model="option.data" @input="changeFilterEvent($event, option, $panel)"/>
+          </div>
+        </div>
+      </template>
+
+
+    </vxe-grid>
+  </div>
+</template>
+
+<style scoped>
+.main-div-customer{
+  width: 99%;
+  height: 100%;
+}
+</style>
\ No newline at end of file
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/IngredientsStock.vue b/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/IngredientsStock.vue
index 476517e..4904079 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/IngredientsStock.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/IngredientsStock.vue
@@ -19,9 +19,11 @@
   <div id="main">
     <div id="div-title">
       <el-breadcrumb :separator-icon="ArrowRight">
-        <el-breadcrumb-item :to="{ path: '/main/ingredientsStock/SelectIngredientsStock' }">浜у搧鏌ヨ</el-breadcrumb-item>
+        <el-breadcrumb-item :to="{ path: '/main/ingredientsStock/SelectIngredientsStock' }">鐗╂枡搴撳瓨</el-breadcrumb-item>
+        <el-breadcrumb-item :to="{ path: '/main/ingredientsStock/MaterialOutbound' }">鐗╂枡鍑哄簱</el-breadcrumb-item>
         <el-breadcrumb-item :to="{ path: '/main/ingredientsStock/OriginalMonthlySettlement' }">鍘熺墖鏈堢粨</el-breadcrumb-item>
         <el-breadcrumb-item :to="{ path: '/main/ingredientsStock/AccessoriesMonthlySettlement' }">杈呮枡鏈堢粨</el-breadcrumb-item>
+        <el-breadcrumb-item v-show="false" :to="{ path: '/main/order/orderReport' }">鎶ヨ〃</el-breadcrumb-item>
       </el-breadcrumb>
 
     </div>
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/MaterialOutbound.vue b/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/MaterialOutbound.vue
new file mode 100644
index 0000000..5c370a7
--- /dev/null
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/MaterialOutbound.vue
@@ -0,0 +1,244 @@
+<!--鐗╂枡鍑哄簱-->
+
+
+<script setup>
+
+import {reactive, ref} from "vue";
+import {useRouter} from  'vue-router'
+let router=useRouter()
+const getTableRow = (row,type) =>{
+  switch (type) {
+    case 'edit' :{
+      alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+      // router.push({path: '/main/trader/CreateTrader', query: { id: row.id }})
+      break
+    }
+    case 'delete':{
+      alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑鍒犻櫎淇℃伅')
+      break
+    }
+  }
+}
+
+
+
+//瀛愮粍浠舵帴鏀跺弬鏁�
+
+const gridOptions = reactive({
+  border:  "full",//琛ㄦ牸鍔犺竟妗�
+  keepSource: true,//淇濇寔婧愭暟鎹�
+  align: 'center',//鏂囧瓧灞呬腑
+  stripe:true,//鏂戦┈绾�
+  rowConfig: {isCurrent: true, isHover: true,height: 50},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
+  id: 'CustomerList',
+  showFooter: true,//鏄剧ず鑴�
+  printConfig: {},
+  importConfig: {},
+  exportConfig: {},
+  scrollY:{ enabled: true },//寮�鍚櫄鎷熸粴鍔�
+  showOverflow:true,
+  columnConfig: {
+    resizable: true,
+    useKey: true
+  },
+  filterConfig: {   //绛涢�夐厤缃」
+    remote: true
+  },
+  customConfig: {
+    storage: true
+  },
+  editConfig: {
+    trigger: 'click',
+    mode: 'row',
+    showStatus: true
+  },//琛ㄥご鍙傛暟
+  columns:[
+    {type:'expand',fixed:"left",slots: { content:'content' },width: '50'},
+    { type: 'checkbox',fixed:"left", title: '閫夋嫨', width: '80' },
+    { type: 'seq',fixed:"left", title: '鑷簭', width: '80' },
+    {title: '鎿嶄綔', width: '110', slots: { default: 'button_slot' },fixed:"left"},
+    {field: 'InventoryOrganization', width:'150', title: '搴撳瓨缁勭粐', sortable: true,editRender: { name: 'input', attrs: { placeholder: '' } } },
+    {field: 'MaterialCode', width: '150',title: '鐗╂枡缂栫爜', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'MaterialName', width: '120',title: '鐗╂枡鍚嶇О', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'InventoryCount',width: '100', title: '搴撳瓨鏁伴噺', sortable: true},
+    {field: 'OutNum', width:'150', title: '鍑哄簱鏁伴噺', sortable: true,editRender: { name: 'input', attrs: { placeholder: '' } } },
+    {field: 'Origin', width: '100',title: '浜у湴', sortable: true},
+    {field: 'InventoryNumber',width: '100', title: '搴撳瓨缂栧彿', sortable: true,showOverflow:"ellipsis"},
+    {field: 'Width', width: '80',title: '瀹藉害', sortable: true},
+    {field: 'Height',width: '100', title: '楂樺害', sortable: true},
+    {field: 'Thickness', width: '100',title: '鍘氬害', sortable: true},
+    {field: 'MainUnit',width: '100', title: '涓诲崟浣�', sortable: true},
+    {field: 'SafetyStock', width: '100',title: '瀹夊叏搴撳瓨', sortable: true},
+    {field: 'AvailableInventory', width: '100',title: '鍙敤搴撳瓨', sortable: true},
+    {field: 'UnclaimedQuantity',width: '140', title: '鏈鍙栨暟閲�', sortable: true},
+    {field: 'TotalArea',width: '100', title: '鎬婚潰绉�', sortable: true},
+    {field: 'ProductionDate',width: '100', title: '鐢熶骇鏃ユ湡', sortable: true},
+    {field: 'ShelfLife',width: '100', title: '淇濊川鏈�', sortable: true},
+    {field: 'LocationNumber',width: '100', title: '搴撲綅缂栧彿', sortable: true},
+    {field: 'StorageArea',width: '100', title: '瀛樺偍鍖哄煙', sortable: true},
+    {field: 'Location',width: '100', title: '搴撲綅', sortable: true},
+    {field: 'BacklogInventory',width: '100', title: '绉帇搴撳瓨', sortable: true},
+    {field: 'remark',width: '80', title: '澶囨敞', sortable: true},
+  ],//琛ㄥご鎸夐挳
+  toolbarConfig: {
+    buttons: [{
+      code:'add','name': '鍑哄簱鏂板',status:'primary'
+    }],
+    import: false,
+    export: true,
+    print: true,
+    zoom: true,
+    custom: true
+  },
+  data:  [
+    {
+      "InventoryOrganization": "浜哄伐搴�",
+      "MaterialCode": "700900000000115",
+      "MaterialName": "鍐170",
+      "Origin": "China",
+      "InventoryNumber": "KC2006891",
+      "Width": '',
+      "Height": "",
+      "Thickness": "",
+      "MainUnit": "浠�",
+      "SafetyStock": "5",
+      "InventoryCount": "20",
+      "AvailableInventory": "9",
+      "UnclaimedQuantity": "2",
+      "TotalArea": "0",
+      "ProductionDate": "2016-10-17",
+      "ShelfLife": "0",
+      "LocationNumber": "0",
+      "StorageArea": "0",
+      "Location": "0",
+      "BacklogInventory": "40",
+      "remark": "娴嬭瘯",
+    },
+    {
+      "InventoryOrganization": "浜哄伐搴�",
+      "MaterialCode": "700900000000115",
+      "MaterialName": "鍐175",
+      "Origin": "China",
+      "InventoryNumber": "KC2006891",
+      "Width": '',
+      "Height": "",
+      "Thickness": "",
+      "MainUnit": "浠�",
+      "SafetyStock": "5",
+      "InventoryCount": "20",
+      "AvailableInventory": "9",
+      "UnclaimedQuantity": "2",
+      "TotalArea": "0",
+      "ProductionDate": "2016-10-17",
+      "ShelfLife": "0",
+      "LocationNumber": "0",
+      "StorageArea": "0",
+      "Location": "0",
+      "BacklogInventory": "40",
+      "remark": "娴嬭瘯",
+    },{
+      "InventoryOrganization": "浜哄伐搴�",
+      "MaterialCode": "700900000000115",
+      "MaterialName": "鍐180",
+      "Origin": "China",
+      "InventoryNumber": "KC2006891",
+      "Width": '',
+      "Height": "",
+      "Thickness": "",
+      "MainUnit": "浠�",
+      "SafetyStock": "2",
+      "InventoryCount": "23",
+      "AvailableInventory": "4",
+      "UnclaimedQuantity": "3",
+      "TotalArea": "0",
+      "ProductionDate": "2016-10-17",
+      "ShelfLife": "0",
+      "LocationNumber": "0",
+      "StorageArea": "0",
+      "Location": "0",
+      "BacklogInventory": "40",
+      "remark": "娴嬭瘯",
+    },
+  ],//table body瀹為檯鏁版嵁
+  footerMethod ({ columns, data }) {//椤佃剼鍑芥暟
+    return[
+      columns.map((column, columnIndex) => {
+        if (columnIndex === 0) {
+          return '鍚堣:'
+        }
+        // if (props.tableProp.footList.includes(column.field)) {
+        //   return sumNum(data, column.field)
+        // }
+        return ''
+      })
+    ]
+  }
+
+})
+
+const  xGrid = ref();
+const gridEvents = {
+  toolbarButtonClick({ code }) {
+    const $grid = xGrid.value
+    if($grid){
+      switch (code){
+        case 'add':{
+          /*VXETable.modal.confirm('鐐瑰嚮浜嗗簱瀛樿皟鎷�');*/
+          router.push({path: '/main/ingredientsStock/CreateOutbound'});
+          return;
+          break
+        }
+      }
+    }
+  }
+}
+
+
+</script>
+
+<template>
+  <div class="main-div-customer">
+    <vxe-grid
+        max-height="100%"
+        @filter-change="filterChanged"
+        class="mytable-scrollbar"
+        ref="xGrid"
+        v-bind="gridOptions"
+        v-on="gridEvents"
+    >
+      <!--      @toolbar-button-click="toolbarButtonClickEvent"-->
+      <!--      涓嬫媺鏄剧ず鎵�鏈変俊鎭彃妲�-->
+      <template #content="{ row}">
+        <ul class="expand-wrapper">
+          <li  v-for="(item,key,index) in row">
+            <span style="font-weight: bold">{{key+':  '}}</span>
+            <span>{{ item }}</span>
+          </li>
+        </ul>
+      </template>
+
+      <!--宸﹁竟鍥哄畾鏄剧ず鐨勬彃妲�-->
+      <template #button_slot="{ row }">
+        <el-button @click="getTableRow(row,'edit')" link type="primary" size="small">缂栬緫</el-button>
+        <el-button @click="getTableRow(row,'delete')" link type="primary" size="small">鍒犻櫎</el-button>
+      </template>
+
+      <template #num1_filter="{ column, $panel }">
+        <div>
+          <div v-for="(option, index) in column.filters" :key="index">
+            <input type="type" v-model="option.data" @input="changeFilterEvent($event, option, $panel)"/>
+          </div>
+        </div>
+      </template>
+
+
+    </vxe-grid>
+  </div>
+</template>
+
+<style scoped>
+.main-div-customer{
+  width: 99%;
+  height: 100%;
+}
+</style>
\ No newline at end of file
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/OriginalMonthlySettlement.vue b/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/OriginalMonthlySettlement.vue
index 866a79b..a5f6bf3 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/OriginalMonthlySettlement.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/OriginalMonthlySettlement.vue
@@ -1,81 +1,253 @@
-<!-- 鍘熺墖鏈堢粨  -->
+<script setup>
+
+import {reactive, ref} from "vue";
+import {useRouter} from  'vue-router'
+import {VXETable} from "vxe-table";
+let router=useRouter()
+const getTableRow = (row,type) =>{
+  switch (type) {
+    case 'edit' :{
+      //alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+      router.push({path: '/main/trader/CreateTrader', query: { id: row.id }})
+      break
+    }
+    case 'delete':{
+      alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑鍒犻櫎淇℃伅')
+      break
+    }
 
 
-<script lang="ts" setup>
+  }
+}
 
-</script>
-<template>
-  <div>
-    <div>
-      <el-form>
-        <el-row gutter="10" >
-        <el-col :span="2.5">
-          <div class="label-text">鏌ヨ鍘熺墖鎶ヨ〃鏃ユ湡</div>
-        </el-col>
-        <el-col :span="4">
-          <el-date-picker
-              type="daterange"
-              start-placeholder="寮�濮嬫椂闂�"
-              end-placeholder="缁撴潫鏃堕棿"
-              style="width: 200px;"
-          />
-        </el-col>
-          <el-col :span="4">
-            <el-dropdown>
-              <el-button type="primary">
-                鍘熺墖<el-icon class="el-icon--right" style="width: 66px;"><arrow-down /></el-icon>
-              </el-button>
-              <template #dropdown>
-                <el-dropdown-menu>
-                  <el-dropdown-item>鍘熺墖</el-dropdown-item>
-                  <el-dropdown-item>浣欐枡</el-dropdown-item>
-                </el-dropdown-menu>
-              </template>
-            </el-dropdown>
-          </el-col>
-          <el-col :span="4">
-            <el-button id="searchButton" type="primary" :icon="Search">鏌ヨ鎶ヨ〃</el-button>
-          </el-col>
-        </el-row>
-      </el-form>
-    </div>
-    <div>
-      <div>
-        <el-table :data="tableData" border style="width: 100%">
-          <el-table-column prop="鑷簭" label="鑷簭" width="100" />
-          <el-table-column prop="鏈堜唤" label="鏈堜唤" width="100" />
-          <el-table-column prop="鍗曚綅" label="鍗曚綅" width="60"/>
-          <el-table-column prop="鐗╂枡缂栫爜" label="鐗╂枡缂栫爜" width="100"/>
-          <el-table-column prop="鐗╂枡鍚嶇О" label="鐗╂枡鍚嶇О" width="100"/>
-          <el-table-column prop="楂樺害" label="楂樺害" width="100"/>
-          <el-table-column prop="鍘氬害" label="鍘氬害" width="100"/>
-          <el-table-column prop="瀹藉害" label="瀹藉害" width="100"/>
-          <el-table-column prop="涓婃湀鏁伴噺" label="涓婃湀鏁伴噺" width="100"/>
-          <el-table-column prop="涓婃湀闈㈢Н" label="涓婃湀闈㈢Н" width="100"/>
-          <el-table-column prop="鏈湀鍏ュ簱鏁伴噺" label="鏈湀鍏ュ簱鏁伴噺" width="110"/>
-          <el-table-column prop="鏈湀鍏ュ簱闈㈢Н" label="鏈湀鍏ュ簱闈㈢Н" width="110"/>
-          <el-table-column prop="鏈湀鍑哄簱鏁伴噺" label="鏈湀鍑哄簱鏁伴噺" width="110"/>
-          <el-table-column prop="鏈湀鍑哄簱闈㈢Н" label="鏈湀鍑哄簱闈㈢Н" width="110"/>
-          <el-table-column prop="鏈湀搴撳瓨鏁伴噺" label="鏈湀搴撳瓨鏁伴噺" width="110"/>
-          <el-table-column prop="鏈湀搴撳瓨闈㈢Н" label="鏈湀搴撳瓨闈㈢Н" width="110"/>
-        </el-table>
-    </div>
-  </div>
-  </div>
-</template>
-<style>
-.centered-box {
-  display: flex;
-  justify-content: center;
-  align-items: center;
-  height: 100vh;
+//瀛愮粍浠舵帴鏀跺弬鏁�
+
+const gridOptions = reactive({
+  border:  "full",//琛ㄦ牸鍔犺竟妗�
+  keepSource: true,//淇濇寔婧愭暟鎹�
+  align: 'center',//鏂囧瓧灞呬腑
+  stripe:true,//鏂戦┈绾�
+  rowConfig: {isCurrent: true, isHover: true,height: 50},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
+  id: 'CustomerList',
+  showFooter: true,//鏄剧ず鑴�
+  printConfig: {},
+  importConfig: {},
+  exportConfig: {},
+  scrollY:{ enabled: true },//寮�鍚櫄鎷熸粴鍔�
+  showOverflow:true,
+  columnConfig: {
+    resizable: true,
+    useKey: true
+  },
+  filterConfig: {   //绛涢�夐厤缃」
+    remote: true
+  },
+  customConfig: {
+    storage: true
+  },
+  editConfig: {
+    trigger: 'click',
+    mode: 'row',
+    showStatus: true
+  },//琛ㄥご鍙傛暟
+  columns:  [
+    {type:'expand',fixed:"left",slots: { content:'content' },width: '50'},
+    // { type: 'checkbox',fixed:"left", title: '閫夋嫨', width: '80' },
+    { type: 'seq',fixed:"left", title: '鑷簭', width: '80' },
+    // {title: '鎿嶄綔', width: '110', slots: { default: 'button_slot' },fixed:"left"},
+    {field: 'month', width:'150', title: '鏈堜唤', sortable: true,editRender: { name: 'input' },filters:[{ data: '' }],slots: { filter: 'num1_filter' } },
+    {field: 'unit', width: '150',title: '鍗曚綅', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'materialCode', width: '120',title: '鐗╂枡缂栫爜', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'materialName', width: '100',title: '鐗╂枡鍚嶇О', sortable: true},
+    {field: 'height',width: '100', title: '楂樺害', sortable: true,showOverflow:"ellipsis"},
+    {field: 'thickness', width: '80',title: '鍘氬害', sortable: true},
+    {field: 'width',width: '100', title: '瀹藉害', sortable: true},
+    {field: 'lastMonthQuantity', width: '100',title: '涓婃湀鏁伴噺', sortable: true},
+    {field: 'lastMonthArea',width: '100', title: '涓婃湀闈㈢Н', sortable: true},
+    {field: 'thisMonthReceivedQuantity', width: '140',title: '鏈湀鍏ュ簱鏁伴噺', sortable: true},
+    {field: 'thisMonthReceivedArea',width: '140', title: '鏈湀鍏ュ簱闈㈢Н', sortable: true},
+    {field: 'thisMonthIssuedQuantity', width: '140',title: '鏈湀鍑哄簱鏁伴噺', sortable: true},
+    {field: 'thisMonthIssuedArea',width: '140', title: '鏈湀鍑哄簱闈㈢Н', sortable: true},
+    {field: 'thisMonthInventoryQuantity',width: '140', title: '鏈湀搴撳瓨鏁伴噺', sortable: true},
+    {field: 'thisMonthInventoryArea',width: '140', title: '鏈湀搴撳瓨闈㈢Н', sortable: true},
+  ],//琛ㄥご鎸夐挳
+  toolbarConfig: {
+    // buttons: [{
+    //   'name': '鏌ヨ',
+    //   'code':'add'
+    // },],
+    import: false,
+    export: true,
+    print: true,
+    zoom: true,
+    custom: true
+  },
+  data:  [
+    {
+    'month':'3',
+    'unit':'mm',
+    'materialCode':'KF2023122101',
+    'materialName':'鏅�氶挗鍖栫幓鐠�',
+    'height':'110.20',
+    'thickness':'3.00',
+    'width':'90.40',
+    'lastMonthQuantity':'100',
+    'lastMonthArea':'0',
+    'thisMonthReceivedQuantity':'100',
+    'thisMonthReceivedArea':'0',
+    'thisMonthIssuedQuantity':'23',
+    'thisMonthIssuedArea':'0',
+    'thisMonthInventoryQuantity':'77',
+    'thisMonthInventoryArea':'0',
+    },
+    {
+      'month':'3',
+      'unit':'mm',
+      'materialCode':'KF2023122101',
+      'materialName':'鏅�氶挗鍖栫幓鐠�',
+      'height':'224.50',
+      'thickness':'5.00',
+      'width':'120.80',
+      'lastMonthQuantity':'100',
+      'lastMonthArea':'0',
+      'thisMonthReceivedQuantity':'100',
+      'thisMonthReceivedArea':'0',
+      'thisMonthIssuedQuantity':'23',
+      'thisMonthIssuedArea':'0',
+      'thisMonthInventoryQuantity':'77',
+      'thisMonthInventoryArea':'0',
+    },
+    {
+      'month':'3',
+      'unit':'mm',
+      'materialCode':'KF2023122101',
+      'materialName':'鏅�氶挗鍖栫幓鐠�',
+      'height':'190.00',
+      'thickness':'4.00',
+      'width':'90.00',
+      'lastMonthQuantity':'100',
+      'lastMonthArea':'0',
+      'thisMonthReceivedQuantity':'100',
+      'thisMonthReceivedArea':'0',
+      'thisMonthIssuedQuantity':'23',
+      'thisMonthIssuedArea':'0',
+      'thisMonthInventoryQuantity':'77',
+      'thisMonthInventoryArea':'0',
+    },
+  ],//table body瀹為檯鏁版嵁
+  footerMethod ({ columns, data }) {//椤佃剼鍑芥暟
+    return[
+      columns.map((column, columnIndex) => {
+        if (columnIndex === 0) {
+          return '鍚堣:'
+        }
+        // if (props.tableProp.footList.includes(column.field)) {
+        //   return sumNum(data, column.field)
+        // }
+        return ''
+      })
+    ]
+  }
+
+})
+
+const  xGrid = ref();
+
+const gridEvents = {
+  toolbarButtonClick ({ code }) {
+    const $grid = xGrid.value
+    if ($grid) {
+      switch (code) {
+        case 'add': {
+
+          router.push({path: '/main/trader/CreateTrader'})
+          /*if($grid.getCheckboxRecords().length==0){
+            VXETable.modal.message( '璇烽�夋嫨涓�鏉℃暟鎹紒')
+            return
+          }*/
+          return;
+        }
+
+      }
+    }
+  },
+  toolbarToolClick ({ code }) {
+    const $grid = xGrid.value
+    if ($grid) {
+      switch (code) {
+        case 'myPrint': {
+          $grid.print()
+          break
+        }
+      }
+    }
+  },
 }
 
 
 
+</script>
+
+<template>
+  <div class="main-div-customer">
+    <el-row gutter="10" >
+      <el-col :span="2.5">
+        <div class="label-text">鏌ヨ鍘熺墖鎶ヨ〃鏃ユ湡</div>
+      </el-col>
+      <el-col :span="4">
+        <el-date-picker
+            type="daterange"
+            start-placeholder="寮�濮嬫椂闂�"
+            end-placeholder="缁撴潫鏃堕棿"
+            style="width: 200px;"
+        />
+      </el-col>
+    <el-col span="4">
+      <el-button id="searchButton" type="primary" :icon="Search">鏌ヨ鎶ヨ〃</el-button>
+    </el-col>
+    </el-row>
+    <vxe-grid
+        max-height="100%"
+        @filter-change="filterChanged"
+        class="mytable-scrollbar"
+        ref="xGrid"
+        v-bind="gridOptions"
+        v-on="gridEvents"
+
+    >
+      <!--      @toolbar-button-click="toolbarButtonClickEvent"-->
+      <!--      涓嬫媺鏄剧ず鎵�鏈変俊鎭彃妲�-->
+      <template #content="{ row}">
+        <ul class="expand-wrapper">
+          <li  v-for="(item,key,index) in row">
+            <span style="font-weight: bold">{{key+':  '}}</span>
+            <span>{{ item }}</span>
+          </li>
+        </ul>
+      </template>
+
+      <!--宸﹁竟鍥哄畾鏄剧ず鐨勬彃妲�-->
+      <template #button_slot="{ row }">
+        <el-button @click="getTableRow(row,'edit')" link type="primary" size="small">缂栬緫</el-button>
+        <el-button @click="getTableRow(row,'delete')" link type="primary" size="small">鍒犻櫎</el-button>
+      </template>
+
+      <template #num1_filter="{ column, $panel }">
+        <div>
+          <div v-for="(option, index) in column.filters" :key="index">
+            <input type="type" v-model="option.data" @input="changeFilterEvent($event, option, $panel)"/>
+          </div>
+        </div>
+      </template>
 
 
-.label-text {
-  font-weight: bold;
+    </vxe-grid>
+  </div>
+</template>
+
+<style scoped>
+.main-div-customer{
+  width: 99%;
+  height: 100%;
 }
 </style>
\ No newline at end of file
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/SelectIngredientsStock.vue b/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/SelectIngredientsStock.vue
index 203d782..c56a4e2 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/SelectIngredientsStock.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainIngredientStock/SelectIngredientsStock.vue
@@ -1,277 +1,224 @@
-<!-- 鐗╂枡搴撳瓨 -->
-<script lang="ts" setup>
-import { ref } from 'vue';
-const name = ref('')
-const productName = ref('')
-const salId = ref('')
-let tableData = ref([
-  {
-    "搴撳瓨缁勭粐":'浜哄伐搴�',
-    "鐗╂枡缂栫爜":'700900000000122',
-    "鐗╂枡鍚嶇О":'澶忚 鍝佺',
-    "浜у湴":'',
-    "搴撳瓨缂栧彿":'KC2006891',
-    "瀹藉害":'0.00',
-    "楂樺害":'0.00',
-    "鍘氬害":'0.00',
-    "涓诲崟浣�":'浠�',
-    "瀹夊叏搴撳瓨":'0.00',
-    "搴撳瓨鏁�":'20.00',
-    "鍙敤搴撳瓨":'',
-    "鏈鍙栨暟閲�":'',
-    "鎬婚潰绉�":'0.0000',
-    "鐢熶骇鏃ユ湡":'2016-10-17',
-    "淇濊川鏈�":'',
-    "搴撲綅缂栧彿":'',
-    "搴撳尯":'',
-    "搴撲綅":'',
-    "绉帇搴撳瓨":'40',
-    "澶囨敞":'',
+<script setup>
 
+import {reactive} from "vue";
+import {useRouter} from  'vue-router'
+let router=useRouter()
+const getTableRow = (row,type) =>{
+  switch (type) {
+    case 'edit' :{
+      //alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+      router.push({path: '/main/trader/CreateTrader', query: { id: row.id }})
+      break
+    }
+    case 'delete':{
+      alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑鍒犻櫎淇℃伅')
+      break
+    }
+  }
+}
+
+
+
+//瀛愮粍浠舵帴鏀跺弬鏁�
+
+const gridOptions = reactive({
+  border:  "full",//琛ㄦ牸鍔犺竟妗�
+  keepSource: true,//淇濇寔婧愭暟鎹�
+  align: 'center',//鏂囧瓧灞呬腑
+  stripe:true,//鏂戦┈绾�
+  rowConfig: {isCurrent: true, isHover: true,height: 50},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
+  id: 'CustomerList',
+  showFooter: true,//鏄剧ず鑴�
+  printConfig: {},
+  importConfig: {},
+  exportConfig: {},
+  scrollY:{ enabled: true },//寮�鍚櫄鎷熸粴鍔�
+  showOverflow:true,
+  columnConfig: {
+    resizable: true,
+    useKey: true
   },
-  {
-    "搴撳瓨缁勭粐":'浜哄伐搴�',
-    "鐗╂枡缂栫爜":'700900000000121',
-    "鐗╂枡鍚嶇О":'澶忚 娴呰摑',
-    "浜у湴":'',
-    "搴撳瓨缂栧彿":'KC2006891',
-    "瀹藉害":'0.00',
-    "楂樺害":'0.00',
-    "鍘氬害":'0.00',
-    "涓诲崟浣�":'浠�',
-    "瀹夊叏搴撳瓨":'0.00',
-    "搴撳瓨鏁�":'20.00',
-    "鍙敤搴撳瓨":'',
-    "鏈鍙栨暟閲�":'',
-    "鎬婚潰绉�":'0.0000',
-    "鐢熶骇鏃ユ湡":'2016-10-17',
-    "淇濊川鏈�":'',
-    "搴撲綅缂栧彿":'',
-    "搴撳尯":'',
-    "搴撲綅":'',
-    "绉帇搴撳瓨":'40',
-    "澶囨敞":'',
-
+  filterConfig: {   //绛涢�夐厤缃」
+    remote: true
   },
-  {
-    "搴撳瓨缁勭粐":'浜哄伐搴�',
-    "鐗╂枡缂栫爜":'700900000000120',
-    "鐗╂枡鍚嶇О":'澶忚 娣辫摑',
-    "浜у湴":'',
-    "搴撳瓨缂栧彿":'KC2006891',
-    "瀹藉害":'0.00',
-    "楂樺害":'0.00',
-    "鍘氬害":'0.00',
-    "涓诲崟浣�":'浠�',
-    "瀹夊叏搴撳瓨":'0.00',
-    "搴撳瓨鏁�":'20.00',
-    "鍙敤搴撳瓨":'',
-    "鏈鍙栨暟閲�":'',
-    "鎬婚潰绉�":'0.0000',
-    "鐢熶骇鏃ユ湡":'2016-10-17',
-    "淇濊川鏈�":'',
-    "搴撲綅缂栧彿":'',
-    "搴撳尯":'',
-    "搴撲綅":'',
-    "绉帇搴撳瓨":'40',
-    "澶囨敞":'',
-
-  },{
-    "搴撳瓨缁勭粐":'浜哄伐搴�',
-    "鐗╂枡缂栫爜":'700900000000119',
-    "鐗╂枡鍚嶇О":'鍐 鍝佺',
-    "浜у湴":'',
-    "搴撳瓨缂栧彿":'KC2006891',
-    "瀹藉害":'0.00',
-    "楂樺害":'0.00',
-    "鍘氬害":'0.00',
-    "涓诲崟浣�":'浠�',
-    "瀹夊叏搴撳瓨":'0.00',
-    "搴撳瓨鏁�":'20.00',
-    "鍙敤搴撳瓨":'',
-    "鏈鍙栨暟閲�":'',
-    "鎬婚潰绉�":'0.0000',
-    "鐢熶骇鏃ユ湡":'2016-10-17',
-    "淇濊川鏈�":'',
-    "搴撲綅缂栧彿":'',
-    "搴撳尯":'',
-    "搴撲綅":'',
-    "绉帇搴撳瓨":'40',
-    "澶囨敞":'',
-
-  },{
-    "搴撳瓨缁勭粐":'浜哄伐搴�',
-    "鐗╂枡缂栫爜":'700900000000118',
-    "鐗╂枡鍚嶇О":'鍐 娣辫摑',
-    "浜у湴":'',
-    "搴撳瓨缂栧彿":'KC2006891',
-    "瀹藉害":'0.00',
-    "楂樺害":'0.00',
-    "鍘氬害":'0.00',
-    "涓诲崟浣�":'浠�',
-    "瀹夊叏搴撳瓨":'0.00',
-    "搴撳瓨鏁�":'20.00',
-    "鍙敤搴撳瓨":'',
-    "鏈鍙栨暟閲�":'',
-    "鎬婚潰绉�":'0.0000',
-    "鐢熶骇鏃ユ湡":'2016-10-17',
-    "淇濊川鏈�":'',
-    "搴撲綅缂栧彿":'',
-    "搴撳尯":'',
-    "搴撲綅":'',
-    "绉帇搴撳瓨":'40',
-    "澶囨敞":'',
-
-  },{
-    "搴撳瓨缁勭粐":'浜哄伐搴�',
-    "鐗╂枡缂栫爜":'700900000000117',
-    "鐗╂枡鍚嶇О":'鑸悐瀹氭湡淇濆吇鍗�',
-    "浜у湴":'',
-    "搴撳瓨缂栧彿":'KC2006891',
-    "瀹藉害":'0.00',
-    "楂樺害":'0.00',
-    "鍘氬害":'0.00',
-    "涓诲崟浣�":'浠�',
-    "瀹夊叏搴撳瓨":'0.00',
-    "搴撳瓨鏁�":'20.00',
-    "鍙敤搴撳瓨":'',
-    "鏈鍙栨暟閲�":'',
-    "鎬婚潰绉�":'0.0000',
-    "鐢熶骇鏃ユ湡":'2016-10-17',
-    "淇濊川鏈�":'',
-    "搴撲綅缂栧彿":'',
-    "搴撳尯":'',
-    "搴撲綅":'',
-    "绉帇搴撳瓨":'40',
-    "澶囨敞":'',
-
-  },{
-    "搴撳瓨缁勭粐":'浜哄伐搴�',
-    "鐗╂枡缂栫爜":'700900000000116',
-    "鐗╂枡鍚嶇О":'鍐165',
-    "浜у湴":'',
-    "搴撳瓨缂栧彿":'KC2006891',
-    "瀹藉害":'0.00',
-    "楂樺害":'0.00',
-    "鍘氬害":'0.00',
-    "涓诲崟浣�":'浠�',
-    "瀹夊叏搴撳瓨":'0.00',
-    "搴撳瓨鏁�":'20.00',
-    "鍙敤搴撳瓨":'',
-    "鏈鍙栨暟閲�":'',
-    "鎬婚潰绉�":'0.0000',
-    "鐢熶骇鏃ユ湡":'2016-10-17',
-    "淇濊川鏈�":'',
-    "搴撲綅缂栧彿":'',
-    "搴撳尯":'',
-    "搴撲綅":'',
-    "绉帇搴撳瓨":'40',
-    "澶囨敞":'',
-
-  },{
-    "搴撳瓨缁勭粐":'浜哄伐搴�',
-    "鐗╂枡缂栫爜":'700900000000115',
-    "鐗╂枡鍚嶇О":'鍐170',
-    "浜у湴":'',
-    "搴撳瓨缂栧彿":'KC2006891',
-    "瀹藉害":'0.00',
-    "楂樺害":'0.00',
-    "鍘氬害":'0.00',
-    "涓诲崟浣�":'浠�',
-    "瀹夊叏搴撳瓨":'0.00',
-    "搴撳瓨鏁�":'20.00',
-    "鍙敤搴撳瓨":'',
-    "鏈鍙栨暟閲�":'',
-    "鎬婚潰绉�":'0.0000',
-    "鐢熶骇鏃ユ湡":'2016-10-17',
-    "淇濊川鏈�":'',
-    "搴撲綅缂栧彿":'',
-    "搴撳尯":'',
-    "搴撲綅":'',
-    "绉帇搴撳瓨":'40',
-    "澶囨敞":'',
-
+  customConfig: {
+    storage: true
   },
-])
+  editConfig: {
+    trigger: 'click',
+    mode: 'row',
+    showStatus: true
+  },//琛ㄥご鍙傛暟
+  columns:[
+    {type:'expand',fixed:"left",slots: { content:'content' },width: '50'},
+    // { type: 'checkbox',fixed:"left", title: '閫夋嫨', width: '80' },
+    { type: 'seq',fixed:"left", title: '鑷簭', width: '80' },
+    // {title: '鎿嶄綔', width: '110', slots: { default: 'button_slot' },fixed:"left"},
+    {field: 'InventoryOrganization', width:'150', title: '搴撳瓨缁勭粐', sortable: true,editRender: { name: 'input', attrs: { placeholder: '' } } },
+    {field: 'MaterialCode', width: '150',title: '鐗╂枡缂栫爜', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'MaterialName', width: '120',title: '鐗╂枡鍚嶇О', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'Origin', width: '100',title: '浜у湴', sortable: true},
+    {field: 'InventoryNumber',width: '100', title: '搴撳瓨缂栧彿', sortable: true,showOverflow:"ellipsis"},
+    {field: 'Width', width: '80',title: '瀹藉害', sortable: true},
+    {field: 'Height',width: '100', title: '楂樺害', sortable: true},
+    {field: 'Thickness', width: '100',title: '鍘氬害', sortable: true},
+    {field: 'MainUnit',width: '100', title: '涓诲崟浣�', sortable: true},
+    {field: 'SafetyStock', width: '100',title: '瀹夊叏搴撳瓨', sortable: true},
+    {field: 'InventoryCount',width: '100', title: '搴撳瓨鏁伴噺', sortable: true},
+    {field: 'AvailableInventory', width: '100',title: '鍙敤搴撳瓨', sortable: true},
+    {field: 'UnclaimedQuantity',width: '140', title: '鏈鍙栨暟閲�', sortable: true},
+    {field: 'TotalArea',width: '100', title: '鎬婚潰绉�', sortable: true},
+    {field: 'ProductionDate',width: '100', title: '鐢熶骇鏃ユ湡', sortable: true},
+    {field: 'ShelfLife',width: '100', title: '淇濊川鏈�', sortable: true},
+    {field: 'LocationNumber',width: '100', title: '搴撲綅缂栧彿', sortable: true},
+    {field: 'StorageArea',width: '100', title: '瀛樺偍鍖哄煙', sortable: true},
+    {field: 'Location',width: '100', title: '搴撲綅', sortable: true},
+    {field: 'BacklogInventory',width: '100', title: '绉帇搴撳瓨', sortable: true},
+    {field: 'remark',width: '80', title: '澶囨敞', sortable: true},
+  ],//琛ㄥご鎸夐挳
+  toolbarConfig: {
+    // buttons: [{
+    //   'name': '鏂板'
+    // }],
+    import: false,
+    export: true,
+    print: true,
+    zoom: true,
+    custom: true
+  },
+  data:  [
+    {
+      "InventoryOrganization": "浜哄伐搴�",
+      "MaterialCode": "700900000000115",
+      "MaterialName": "鍐170",
+      "Origin": "China",
+      "InventoryNumber": "KC2006891",
+      "Width": '',
+      "Height": "",
+      "Thickness": "",
+      "MainUnit": "浠�",
+      "SafetyStock": "5",
+      "InventoryCount": "20",
+      "AvailableInventory": "9",
+      "UnclaimedQuantity": "2",
+      "TotalArea": "0",
+      "ProductionDate": "2016-10-17",
+      "ShelfLife": "0",
+      "LocationNumber": "0",
+      "StorageArea": "0",
+      "Location": "0",
+      "BacklogInventory": "40",
+      "remark": "娴嬭瘯",
+    },
+    {
+      "InventoryOrganization": "浜哄伐搴�",
+      "MaterialCode": "700900000000115",
+      "MaterialName": "鍐175",
+      "Origin": "China",
+      "InventoryNumber": "KC2006891",
+      "Width": '',
+      "Height": "",
+      "Thickness": "",
+      "MainUnit": "浠�",
+      "SafetyStock": "5",
+      "InventoryCount": "20",
+      "AvailableInventory": "9",
+      "UnclaimedQuantity": "2",
+      "TotalArea": "0",
+      "ProductionDate": "2016-10-17",
+      "ShelfLife": "0",
+      "LocationNumber": "0",
+      "StorageArea": "0",
+      "Location": "0",
+      "BacklogInventory": "40",
+      "remark": "娴嬭瘯",
+    },{
+      "InventoryOrganization": "浜哄伐搴�",
+      "MaterialCode": "700900000000115",
+      "MaterialName": "鍐180",
+      "Origin": "China",
+      "InventoryNumber": "KC2006891",
+      "Width": '',
+      "Height": "",
+      "Thickness": "",
+      "MainUnit": "浠�",
+      "SafetyStock": "2",
+      "InventoryCount": "23",
+      "AvailableInventory": "4",
+      "UnclaimedQuantity": "3",
+      "TotalArea": "0",
+      "ProductionDate": "2016-10-17",
+      "ShelfLife": "0",
+      "LocationNumber": "0",
+      "StorageArea": "0",
+      "Location": "0",
+      "BacklogInventory": "40",
+      "remark": "娴嬭瘯",
+    },
+  ],//table body瀹為檯鏁版嵁
+  footerMethod ({ columns, data }) {//椤佃剼鍑芥暟
+    return[
+      columns.map((column, columnIndex) => {
+        if (columnIndex === 0) {
+          return '鍚堣:'
+        }
+        // if (props.tableProp.footList.includes(column.field)) {
+        //   return sumNum(data, column.field)
+        // }
+        return ''
+      })
+    ]
+  }
+
+})
+
+
+
 </script>
+
 <template>
-  <div>
-    <div>
-      <el-form  size="medium" >
+  <div class="main-div-customer">
+    <vxe-grid
+        max-height="100%"
+        @filter-change="filterChanged"
+        class="mytable-scrollbar"
+        ref="xGrid"
+        v-bind="gridOptions"
 
-<!--        <el-row gutter="5">-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="name" placeholder="璇疯緭鍏ョ墿鏂欑紪鐮�" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="productName" placeholder="璇疯緭鍏ュ" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="salId" placeholder="璇疯緭鍏ラ珮" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="name" placeholder="璇疯緭鍏ョ墿鏂欏悕绉�" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col span="4">-->
-<!--            <el-button id="searchWarehousing" type="primary" :icon="Search1">绾胯竟浠撳偍鏌ヨ</el-button>-->
-<!--          </el-col>-->
-<!--          <el-col span="4">-->
-<!--            <el-button id="searchButton" type="primary" :icon="Search">鏌ヨ</el-button>-->
-<!--          </el-col>-->
+    >
+      <!--      @toolbar-button-click="toolbarButtonClickEvent"-->
+      <!--      涓嬫媺鏄剧ず鎵�鏈変俊鎭彃妲�-->
+      <template #content="{ row}">
+        <ul class="expand-wrapper">
+          <li  v-for="(item,key,index) in row">
+            <span style="font-weight: bold">{{key+':  '}}</span>
+            <span>{{ item }}</span>
+          </li>
+        </ul>
+      </template>
 
-<!--        </el-row>-->
+      <!--宸﹁竟鍥哄畾鏄剧ず鐨勬彃妲�-->
+      <template #button_slot="{ row }">
+        <el-button @click="getTableRow(row,'edit')" link type="primary" size="small">缂栬緫</el-button>
+        <el-button @click="getTableRow(row,'delete')" link type="primary" size="small">鍒犻櫎</el-button>
+      </template>
 
-        <!-- <el-form-item size="large">
-          <el-button type="primary" @click="submitForm">鏌ヨ</el-button>
-          <el-button @click="resetForm">閲嶇疆</el-button>
-        </el-form-item>-->
-        <el-row gutter="5">
+      <template #num1_filter="{ column, $panel }">
+        <div>
+          <div v-for="(option, index) in column.filters" :key="index">
+            <input type="type" v-model="option.data" @input="changeFilterEvent($event, option, $panel)"/>
+          </div>
+        </div>
+      </template>
 
-          <el-col :span="4">
 
-          </el-col>
-
-        </el-row>
-      </el-form>
-    </div>
-
-    <!-- 琛ㄦ牸寮�濮� -->
-    <div>
-      <el-table :data="tableData" border style="width: 100%">
-        <el-table-column prop="搴撳瓨缁勭粐" label="搴撳瓨缁勭粐" width="180" />
-        <el-table-column prop="鐗╂枡缂栫爜" label="鐗╂枡缂栫爜" width="180" />
-        <el-table-column prop="鐗╂枡鍚嶇О" label="鐗╂枡鍚嶇О" width="180"/>
-        <el-table-column prop="浜у湴" label="浜у湴" width="180"/>
-        <el-table-column prop="瀹藉害" label="瀹藉害" width="180"/>
-        <el-table-column prop="楂樺害" label="楂樺害" width="180"/>
-        <el-table-column prop="鍘氬害" label="鍘氬害" width="180"/>
-        <el-table-column prop="涓诲崟浣�" label="涓诲崟浣�" width="180"/>
-        <el-table-column prop="瀹夊叏搴撳瓨" label="瀹夊叏搴撳瓨" width="180"/>
-        <el-table-column prop="搴撳瓨鏁�" label="搴撳瓨鏁�" width="180"/>
-        <el-table-column prop="鍙敤搴撳瓨" label="鍙敤搴撳瓨" width="180"/>
-        <el-table-column prop="鏈鍙栨暟閲�" label="鏈鍙栨暟閲�" width="180"/>
-        <el-table-column prop="鎬婚潰绉�" label="鎬婚潰绉�" width="180"/>
-        <el-table-column prop="鐢熶骇鏃ユ湡" label="鐢熶骇鏃ユ湡" width="180"/>
-        <el-table-column prop="淇濊川鏈�" label="淇濊川鏈�" width="180"/>
-        <el-table-column prop="搴撲綅缂栧彿" label="搴撲綅缂栧彿" width="180"/>
-        <el-table-column prop="搴撳尯" label="搴撳尯" width="180"/>
-        <el-table-column prop="搴撲綅" label="搴撲綅" width="180"/>
-        <el-table-column prop="绉帇搴撳瓨" label="绉帇搴撳瓨" width="180"/>
-        <el-table-column prop="澶囨敞" label="澶囨敞" width="180"/>
-        <el-table-column fixed="left" label="鎿嶄綔" width="120">
-          <template #default>
-            <el-button link type="primary" size="small" @click="handleClick"
-            >淇敼</el-button
-            >
-            <el-button link type="primary" size="small">瀹℃牳</el-button>
-          </template>
-        </el-table-column>
-
-      </el-table>
-    </div>
-    <!-- 琛ㄦ牸缁撴潫 -->
+    </vxe-grid>
   </div>
 </template>
 
-<style>
+<style scoped>
+.main-div-customer{
+  width: 99%;
+  height: 100%;
+}
 </style>
\ No newline at end of file
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/CreateProductStock.vue b/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/CreateProductStock.vue
index 2acc341..f473470 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/CreateProductStock.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/CreateProductStock.vue
@@ -1,156 +1,266 @@
-<!--浜у搧鍏ュ簱-->
+<script setup>
+
+import {reactive} from "vue";
+import {useRouter} from  'vue-router'
+let router=useRouter()
+const getTableRow = (row,type) =>{
+  switch (type) {
+    case 'edit' :{
+      //alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+      router.push({path: '/main/productStock/OrderAllocation', query: { id: row.id }})
+      break
+    }
+    case 'back':{
+      router.push({path: '/main/productStock/FinishedProductRework', query: { id: row.id }})
+      break
+    }
+    case 'out' :{
+      //alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+      router.push({path: '/main/productStock/FinishedGoodsIssue', query: { id: row.id }})
+      break
+    }
+  }
+}
 
 
-<script lang="ts" setup>
-import {ref} from "vue";
-let tableData = ref([
-  {
-    "閿�鍞崟鍙�":'NG23072003',
-    "妤煎眰缂栧彿":'10059419',
-    "鎴愬搧缂栧彿":'0604000027',
-    "鎴愬搧鍚嶇О":'NG23072003A01',
-    "浜у搧鍚嶇О":'',
-    "闀�":'1075.00',
-    "瀹�":'440.00',
-    "涓氬姟鍛�":'闄堝畻鍑�',
-    "瀹㈡埛鍚嶇О":'71',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "璁㈠簭":'1',
-    "璁㈠崟鎬绘暟":'3800',
-    "鏁伴噺":'1140',
-    "瀹屽伐":'1140',
-    "闈㈢Н":'505.270000',
-    "娴佺▼鍗″彿":'NG23112311A01',
-    "宸插叆鏁伴噺":'0',
-    "涓嬪伐搴�":'鎴愬搧',
-    "鎵规":'',
-  },{
-    "閿�鍞崟鍙�":'NG23072003',
-    "妤煎眰缂栧彿":'10059419',
-    "鎴愬搧缂栧彿":'0604000027',
-    "鎴愬搧鍚嶇О":'NG23072003A01',
-    "浜у搧鍚嶇О":'',
-    "闀�":'1075.00',
-    "瀹�":'440.00',
-    "涓氬姟鍛�":'闄堝畻鍑�',
-    "瀹㈡埛鍚嶇О":'71',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "璁㈠簭":'1',
-    "璁㈠崟鎬绘暟":'3800',
-    "鏁伴噺":'1140',
-    "瀹屽伐":'1140',
-    "闈㈢Н":'505.270000',
-    "娴佺▼鍗″彿":'NG23112311A01',
-    "宸插叆鏁伴噺":'0',
-    "涓嬪伐搴�":'鎴愬搧',
-    "鎵规":'',
-  },{
-    "閿�鍞崟鍙�":'NG23072003',
-    "妤煎眰缂栧彿":'10059419',
-    "鎴愬搧缂栧彿":'0604000027',
-    "鎴愬搧鍚嶇О":'NG23072003A01',
-    "浜у搧鍚嶇О":'',
-    "闀�":'1075.00',
-    "瀹�":'440.00',
-    "涓氬姟鍛�":'闄堝畻鍑�',
-    "瀹㈡埛鍚嶇О":'71',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "璁㈠簭":'1',
-    "璁㈠崟鎬绘暟":'3800',
-    "鏁伴噺":'1140',
-    "瀹屽伐":'1140',
-    "闈㈢Н":'505.270000',
-    "娴佺▼鍗″彿":'NG23112311A01',
-    "宸插叆鏁伴噺":'0',
-    "涓嬪伐搴�":'鎴愬搧',
-    "鎵规":'',
-  },{
-    "閿�鍞崟鍙�":'NG23072003',
-    "妤煎眰缂栧彿":'10059419',
-    "鎴愬搧缂栧彿":'0604000027',
-    "鎴愬搧鍚嶇О":'NG23072003A01',
-    "浜у搧鍚嶇О":'',
-    "闀�":'1075.00',
-    "瀹�":'440.00',
-    "涓氬姟鍛�":'闄堝畻鍑�',
-    "瀹㈡埛鍚嶇О":'71',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "璁㈠簭":'1',
-    "璁㈠崟鎬绘暟":'3800',
-    "鏁伴噺":'1140',
-    "瀹屽伐":'1140',
-    "闈㈢Н":'505.270000',
-    "娴佺▼鍗″彿":'NG23112311A01',
-    "宸插叆鏁伴噺":'0',
-    "涓嬪伐搴�":'鎴愬搧',
-    "鎵规":'',
+
+//瀛愮粍浠舵帴鏀跺弬鏁�
+
+const gridOptions = reactive({
+  border:  "full",//琛ㄦ牸鍔犺竟妗�
+  keepSource: true,//淇濇寔婧愭暟鎹�
+  align: 'center',//鏂囧瓧灞呬腑
+  stripe:true,//鏂戦┈绾�
+  rowConfig: {isCurrent: true, isHover: true,height: 50},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
+  id: 'CustomerList',
+  showFooter: true,//鏄剧ず鑴�
+  printConfig: {},
+  importConfig: {},
+  exportConfig: {},
+  scrollY:{ enabled: true },//寮�鍚櫄鎷熸粴鍔�
+  showOverflow:true,
+  columnConfig: {
+    resizable: true,
+    useKey: true
   },
-])
-const checked1 = ref(true)
+  filterConfig: {   //绛涢�夐厤缃」
+    remote: true
+  },
+  customConfig: {
+    storage: true
+  },
+  editConfig: {
+    trigger: 'click',
+    mode: 'row',
+    showStatus: true
+  },//琛ㄥご鍙傛暟
+  columns:[
+    {type:'expand',fixed:"left",slots: { content:'content' },width: '50'},
+    { type: 'checkbox',fixed:"left", title: '閫夋嫨', width: '80' },
+    { type: 'seq',fixed:"left", title: '鑷簭', width: '80' },
+    // {title: '鎿嶄綔', width: '220', slots: { default: 'button_slot' },fixed:"left"},
+    {field: 'SalesOrderNumber', width: '150',title: '閿�鍞崟鍙�', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'floorNumber', width: '120',title: '妤煎眰缂栧彿', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'finishedProductNumber',width: '100', title: '鎴愬搧缂栧彿', sortable: true,showOverflow:"ellipsis"},
+    {field: 'finishedProductName', width: '100',title: ' 鎴愬搧鍚嶇О', sortable: true},
+    {field: 'productName',width: '100', title: '浜у搧鍚嶇О', sortable: true},
+    {field: 'length', width: '100',title: '闀垮害', sortable: true},
+    {field: 'width',width: '100', title: '瀹藉害', sortable: true},
+    {field: 'salesperson', width: '100',title: '涓氬姟鍛�', sortable: true},
+    {field: 'customerName',width: '100', title: '瀹㈡埛鍚嶇О', sortable: true},
+    {field: 'projectName', width: '100',title: '椤圭洰鍚嶇О', sortable: true},
+    {field: 'orderNumber',width: '140', title: '璁㈠簭', sortable: true},
+    {field: 'totalOrders',width: '140', title: '璁㈠崟鎬绘暟', sortable: true},
+    {field: 'quantity',width: '100', title: '鏁伴噺', sortable: true},
+    {field: 'completion',width: '140', title: '瀹屽伐', sortable: true},
+    {field: 'area',width: '140', title: '闈㈢Н', sortable: true},
+    {field: 'processCardNumber',width: '100', title: '娴佺▼鍗″彿', sortable: true},
+    {field: 'quantityEntered',width: '100', title: '宸插叆鏁伴噺', sortable: true},
+    {field: 'nextProcess',width: '100', title: ' 涓嬪伐搴�', sortable: true},
+    {field: 'Batch',width: '100', title: '鎵规', sortable: true},
+  ],//琛ㄥご鎸夐挳
+  toolbarConfig: {
+    buttons: [{
+      'name': '纭鍏ュ簱',
+      'code':'add',
+      status: 'primary'
+    }],
+    import: false,
+    export: true,
+    print: true,
+    zoom: true,
+    custom: true
+  },
+  data:  [
+    {
+      "SalesOrderNumber": "NG23072003",
+      "floorNumber": "10059419",
+      "finishedProductNumber": "0604000027",
+      "finishedProductName": "NG23072003A01",
+      "productName": '閽㈠寲鐜荤拑',
+      "length": "1075.00",
+      "width": "440.00",
+      "salesperson": "灏忓渤",
+      "customerName": "澶уご",
+      "projectName": "Tempered Glass",
+      "orderNumber": "1",
+      "totalOrders": "3800",
+      "quantity": "1140",
+      "completion":'1140',
+      "area": "505.270000",
+      "processCardNumber": "NG23112311A01",
+      "quantityEntered": "0",
+      "nextProcess": "Finished Product",
+      "Batch": "涓�",
+    },
+    {
+      "SalesOrderNumber": "NG23072003",
+      "floorNumber": "10059419",
+      "finishedProductNumber": "0604000027",
+      "finishedProductName": "NG23072003A01",
+      "productName": '閽㈠寲鐜荤拑',
+      "length": "1075.00",
+      "width": "440.00",
+      "salesperson": "灏忓渤",
+      "customerName": "澶уご",
+      "projectName": "Tempered Glass",
+      "orderNumber": "1",
+      "totalOrders": "3800",
+      "quantity": "1140",
+      "completion":'1140',
+      "area": "505.270000",
+      "processCardNumber": "NG23112311A01",
+      "quantityEntered": "0",
+      "nextProcess": "Finished Product",
+      "Batch": "涓�",
+    },
+    {
+      "SalesOrderNumber": "NG23072003",
+      "floorNumber": "10059419",
+      "finishedProductNumber": "0604000027",
+      "finishedProductName": "NG23072003A01",
+      "productName": '閽㈠寲鐜荤拑',
+      "length": "1075.00",
+      "width": "440.00",
+      "salesperson": "灏忓渤",
+      "customerName": "澶уご",
+      "projectName": "Tempered Glass",
+      "orderNumber": "1",
+      "totalOrders": "3800",
+      "quantity": "1140",
+      "completion":'1140',
+      "area": "505.270000",
+      "processCardNumber": "NG23112311A01",
+      "quantityEntered": "0",
+      "nextProcess": "Finished Product",
+      "Batch": "涓�",
+    },
+    {
+      "SalesOrderNumber": "NG23072003",
+      "floorNumber": "10059419",
+      "finishedProductNumber": "0604000027",
+      "finishedProductName": "NG23072003A01",
+      "productName": '閽㈠寲鐜荤拑',
+      "length": "1075.00",
+      "width": "440.00",
+      "salesperson": "灏忓渤",
+      "customerName": "澶уご",
+      "projectName": "Tempered Glass",
+      "orderNumber": "1",
+      "totalOrders": "3800",
+      "quantity": "1140",
+      "completion":'1140',
+      "area": "505.270000",
+      "processCardNumber": "NG23112311A01",
+      "quantityEntered": "0",
+      "nextProcess": "Finished Product",
+      "Batch": "涓�",
+    },
+
+  ],//table body瀹為檯鏁版嵁
+  footerMethod ({ columns, data }) {//椤佃剼鍑芥暟
+    return[
+      columns.map((column, columnIndex) => {
+        if (columnIndex === 0) {
+          return '鍚堣:'
+        }
+        // if (props.tableProp.footList.includes(column.field)) {
+        //   return sumNum(data, column.field)
+        // }
+        return ''
+      })
+    ]
+  }
+
+})
+
+const gridEvents = {
+  toolbarButtonClick ({ code }) {
+    const $grid = xGrid.value
+    if ($grid) {
+      switch (code) {
+        case 'add': {
+
+          router.push({path: '/main/trader/CreateTrader'})
+          /*if($grid.getCheckboxRecords().length==0){
+            VXETable.modal.message( '璇烽�夋嫨涓�鏉℃暟鎹紒')
+            return
+          }*/
+          return;
+        }
+
+      }
+    }
+  },
+
+}
+
 </script>
+
 <template>
-<div>
-  <div>
-    <el-form  size="medium" >
+  <div class="main-div-customer">
+    <vxe-grid
+        max-height="100%"
+        @filter-change="filterChanged"
+        class="mytable-scrollbar"
+        ref="xGrid"
+        v-bind="gridOptions"
+        v-on="gridEvents"
+    >
+      <!--      @toolbar-button-click="toolbarButtonClickEvent"-->
+      <!--      涓嬫媺鏄剧ず鎵�鏈変俊鎭彃妲�-->
+      <template #content="{ row}">
+        <ul class="expand-wrapper">
+          <li  v-for="(item,key,index) in row">
+            <span style="font-weight: bold">{{key+':  '}}</span>
+            <span>{{ item }}</span>
+          </li>
+        </ul>
+      </template>
 
-<!--      <el-row gutter="7">-->
-<!--        <el-col :span="4">-->
-<!--          <el-input v-model="name" placeholder="閿�鍞崟鍙�" style="width: 200px; height: 30px;" />-->
-<!--        </el-col>-->
-<!--        <el-col :span="4">-->
-<!--          <el-input v-model="productName" placeholder="娴佺▼鍗″彿" style="width: 200px; height: 30px;" />-->
-<!--        </el-col>-->
-<!--        <el-col :span="4">-->
-<!--          <el-input v-model="salId" placeholder="璁㈠簭" style="width: 200px; height: 30px;" />-->
-<!--        </el-col>-->
+      <!--宸﹁竟鍥哄畾鏄剧ず鐨勬彃妲�-->
+      <template #button_slot="{ row }">
+<!--        <el-button @click="getTableRow(row,'edit')" link type="primary" size="small">璁㈠崟璋冩嫧</el-button>-->
+<!--        <el-button @click="getTableRow(row,'out')" link type="primary" size="small">鎴愬搧棰嗗嚭</el-button>-->
+<!--        <el-button @click="getTableRow(row,'back')" link type="primary" size="small">鎴愬搧杩斿伐</el-button>-->
+      </template>
 
-<!--        <el-col :span="4">-->
-<!--          <el-button id="searchButton" type="primary" :icon="Search" style="width: 100px; height: 25px">鏌ヨ</el-button>-->
-<!--        </el-col>-->
-<!--      </el-row>-->
-      <el-row gutter="7">
-        <el-col :span="4">
-          <el-input v-model="name" placeholder="鍒跺崟鍛�" style="width: 200px; height: 30px;" />
-        </el-col>
-        <el-col :span="4">
-          <el-input v-model="productName" placeholder="宸ュ彿" style="width: 200px; height: 30px;" />
-        </el-col>
-        <el-col :span="4">
-          <el-input v-model="salId" placeholder="搴撲綅" style="width: 200px; height: 30px;" />
-        </el-col>
+      <template #num1_filter="{ column, $panel }">
+        <div>
+          <div v-for="(option, index) in column.filters" :key="index">
+            <input type="type" v-model="option.data" @input="changeFilterEvent($event, option, $panel)"/>
+          </div>
+        </div>
+      </template>
 
-        <el-col :span="4">
-          <el-button id="searchButton" type="primary" :icon="Search" style="width: 100px; height: 25px">纭畾</el-button>
-        </el-col>
-      </el-row>
-    </el-form>
-    <div>
-      <el-table :data="tableData" border style="width: 100%">
-        <el-table-column prop="閿�鍞崟鍙�" label="閿�鍞崟鍙�" width="100" />
-        <el-table-column prop="妤煎眰缂栧彿" label="妤煎眰缂栧彿" width="100" />
-        <el-table-column prop="鎴愬搧缂栧彿" label="鎴愬搧缂栧彿" width="100"/>
-        <el-table-column prop="鎴愬搧鍚嶇О" label="鎴愬搧鍚嶇О" width="180"/>
-        <el-table-column prop="闀�" label="闀�" width="80"/>
-        <el-table-column prop="瀹�" label="瀹�" width="80"/>
-        <el-table-column prop="涓氬姟鍛�" label="涓氬姟鍛�" width="100"/>
-        <el-table-column prop="瀹㈡埛鍚嶇О" label="瀹㈡埛鍚嶇О" width="100"/>
-        <el-table-column prop="椤圭洰鍚嶇О" label="椤圭洰鍚嶇О" width="180"/>
-        <el-table-column prop="璁㈠簭" label="璁㈠簭" width="80"/>
-        <el-table-column prop="璁㈠崟鎬绘暟" label="璁㈠崟鎬绘暟" width="100"/>
-        <el-table-column prop="鏁伴噺" label="鏁伴噺" width="80"/>
-        <el-table-column prop="瀹屽伐" label="瀹屽伐" width="80"/>
-        <el-table-column prop="闈㈢Н" label="闈㈢Н" width="80"/>
-        <el-table-column prop="娴佺▼鍗″彿" label="娴佺▼鍗″彿" width="100"/>
-        <el-table-column prop="宸插叆鏁伴噺" label="宸插叆鏁伴噺" width="100"/>
-        <el-table-column prop="涓嬪伐搴�" label="涓嬪伐搴�" width="80"/>
-        <el-table-column prop="鎵规" label="鎵规" width="80"/>
-        <el-table-column prop="閫夋嫨" label="閫夋嫨"  type="selection" width="80"/>
 
-      </el-table>
-    </div>
+    </vxe-grid>
   </div>
-</div>
 </template>
-<style>
 
+<style scoped>
+.main-div-customer{
+  width: 99%;
+  height: 100%;
+}
 </style>
\ No newline at end of file
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedGoodsIssue.vue b/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedGoodsIssue.vue
index 93b82a8..42f7a37 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedGoodsIssue.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedGoodsIssue.vue
@@ -1,119 +1,247 @@
-<!-- 鎴愬搧棰嗗嚭 -->
+<!--鎴愬搧棰嗗嚭-->
 
 
-<script lang="ts" setup>
-import {ref} from "vue";
+<script setup>
 
-let tableData = ref([
-  {
-    "閿�鍞崟鍙�":'NG23121309',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "瀹㈡埛缂栧彿":'89',
-    "瀹㈡埛鍚嶇О":'',
-    "娴佺▼鍗″彿":'NG23121309A01',
-    "鎴愬搧缂栧彿":'0604000299',
-    "绠辨灦鍙�":'0',
-    "鎴愬搧鍚嶇О":'3.2mm鎷卞舰閽㈠寲鐜荤拑',
-    "闀�":'1610.00',
-    "瀹�":'520.00',
-    "鍘�":'3.20',
-    "鏁伴噺":'122.00',
-    "鍗曠墖闈㈢Н":'0.8372',
-    "鎬婚潰绉�":'102.1384',
-    "搴撳尯":'搴撳尯',
-    "搴撲綅":'0',
-  },  {
-    "閿�鍞崟鍙�":'NG23121309',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "瀹㈡埛缂栧彿":'89',
-    "瀹㈡埛鍚嶇О":'',
-    "娴佺▼鍗″彿":'NG23121309A01',
-    "鎴愬搧缂栧彿":'0604000299',
-    "绠辨灦鍙�":'0',
-    "鎴愬搧鍚嶇О":'3.2mm鎷卞舰閽㈠寲鐜荤拑',
-    "闀�":'1610.00',
-    "瀹�":'520.00',
-    "鍘�":'3.20',
-    "鏁伴噺":'122.00',
-    "鍗曠墖闈㈢Н":'0.8372',
-    "鎬婚潰绉�":'102.1384',
-    "搴撳尯":'搴撳尯',
-    "搴撲綅":'0',
+import {reactive} from "vue";
+import {useRouter} from  'vue-router'
+let router=useRouter()
+const getTableRow = (row,type) =>{
+  switch (type) {
+    // case 'edit' :{
+    //   //alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+    //   router.push({path: '/main/productStock/OrderAllocation', query: { id: row.id }})
+    //   break
+    // }
+    // case 'back':{
+    //   router.push({path: '/main/productStock/FinishedProductRework', query: { id: row.id }})
+    //   break
+    // }
+    // case 'out' :{
+    //   //alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+    //   router.push({path: '/main/productStock/FinishedGoodsIssue', query: { id: row.id }})
+    //   break
+    // }
+  }
+}
+const gridEvents = {
+  toolbarButtonClick ({ code }) {
+    const $grid = xGrid.value
+    if ($grid) {
+      switch (code) {
+        case 'add': {
+
+          router.push({path: '/main/trader/CreateTrader'})
+          /*if($grid.getCheckboxRecords().length==0){
+            VXETable.modal.message( '璇烽�夋嫨涓�鏉℃暟鎹紒')
+            return
+          }*/
+          return;
+        }
+
+      }
+    }
   },
-  {
-    "閿�鍞崟鍙�":'NG23121309',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "瀹㈡埛缂栧彿":'89',
-    "瀹㈡埛鍚嶇О":'',
-    "娴佺▼鍗″彿":'NG23121309A01',
-    "鎴愬搧缂栧彿":'0604000299',
-    "绠辨灦鍙�":'0',
-    "鎴愬搧鍚嶇О":'3.2mm鎷卞舰閽㈠寲鐜荤拑',
-    "闀�":'1610.00',
-    "瀹�":'520.00',
-    "鍘�":'3.20',
-    "鏁伴噺":'122.00',
-    "鍗曠墖闈㈢Н":'0.8372',
-    "鎬婚潰绉�":'102.1384',
-    "搴撳尯":'搴撳尯',
-    "搴撲綅":'0',
+  toolbarToolClick ({ code }) {
+    const $grid = xGrid.value
+    if ($grid) {
+      switch (code) {
+        case 'myPrint': {
+          $grid.print()
+          break
+        }
+      }
+    }
   },
-])
+}
+
+
+
+
+//瀛愮粍浠舵帴鏀跺弬鏁�
+
+const gridOptions = reactive({
+  border:  "full",//琛ㄦ牸鍔犺竟妗�
+  keepSource: true,//淇濇寔婧愭暟鎹�
+  align: 'center',//鏂囧瓧灞呬腑
+  stripe:true,//鏂戦┈绾�
+  rowConfig: {isCurrent: true, isHover: true,height: 50},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
+  id: 'CustomerList',
+  showFooter: true,//鏄剧ず鑴�
+  printConfig: {},
+  importConfig: {},
+  exportConfig: {},
+  scrollY:{ enabled: true },//寮�鍚櫄鎷熸粴鍔�
+  showOverflow:true,
+  columnConfig: {
+    resizable: true,
+    useKey: true
+  },
+  filterConfig: {   //绛涢�夐厤缃」
+    remote: true
+  },
+  customConfig: {
+    storage: true
+  },
+  editConfig: {
+    trigger: 'click',
+    mode: 'row',
+    showStatus: true
+  },//琛ㄥご鍙傛暟
+  columns:[
+    {type:'expand',fixed:"left",slots: { content:'content' },width: '50'},
+    { type: 'checkbox',fixed:"left", title: '閫夋嫨', width: '80' },
+    // { type: 'seq',fixed:"left", title: '鑷簭', width: '80' },
+    // {title: '鎿嶄綔', width: '220', slots: { default: 'button_slot' },fixed:"left"},
+    {field: 'SalesOrderNumber', width: '150',title: '閿�鍞崟鍙�', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'ProjectName', width: '120',title: '椤圭洰鍚嶇О', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'ProcessCardNumber',width: '100', title: '娴佺▼鍗″彿', sortable: true,showOverflow:"ellipsis"},
+    {field: 'FinishedProductNumber', width: '100',title: '鎴愬搧缂栧彿', sortable: true},
+    {field: 'Quantity',width: '140', title: '鏁伴噺', sortable: true},
+    {field: 'DiaoQuantity',width: '140', title: '棰嗗嚭鏁伴噺',editRender: { name: 'input', attrs: { placeholder: '' } }, sortable: true},
+    {field: 'ProductNumber',width: '100', title: '浜у搧缂栧彿', sortable: true},
+    {field: 'CustomerNumber', width: '100',title: '瀹㈡埛缂栧彿', sortable: true},
+    {field: 'CustomerName',width: '100', title: '瀹㈡埛鍚嶇О', sortable: true},
+    {field: 'Length', width: '100',title: '闀垮害', sortable: true},
+    {field: 'Width',width: '100', title: '瀹藉害', sortable: true},
+    {field: 'Thickness', width: '100',title: '鍘氬害', sortable: true},
+    {field: 'SingleArea',width: '140', title: '鍗曠墖闈㈢Н', sortable: true},
+    {field: 'TotalArea',width: '100', title: '鎬婚潰绉�', sortable: true},
+    {field: 'StorageArea',width: '100', title: '搴撳尯', sortable: true},
+    {field: 'Location',width: '100', title: '搴撲綅', sortable: true},
+  ],//琛ㄥご鎸夐挳
+  toolbarConfig: {
+    buttons: [{
+      'name': '纭棰嗗嚭',
+      status: 'primary'
+    },{
+      'name': '棰嗗嚭璁板綍',
+    }],
+    import: false,
+    export: true,
+    print: true,
+    zoom: true,
+    custom: true
+  },
+  data:  [
+    {
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "ProcessCardNumber": "NG23072003A01",
+      'FinishedProductNumber':'',
+      'FinishedProductName':'',
+      'BoxNumber':'',
+      "CustomerNumber": "KD0071",
+      "CustomerName": "浠�",
+      "Length": "1075.00",
+      "Width": "440.00",
+      "Thickness": "3.00",
+      "Quantity": "360",
+      "SingleArea": "0.473000",
+      "TotalArea": "170.28",
+      "StorageArea": "0.47",
+      "Location": "170.28",
+    },{
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "ProcessCardNumber": "NG23072003A01",
+      'FinishedProductNumber':'',
+      'FinishedProductName':'',
+      'BoxNumber':'',
+      "CustomerNumber": "KD0071",
+      "CustomerName": "浠�",
+      "Length": "1075.00",
+      "Width": "440.00",
+      "Thickness": "3.00",
+      "Quantity": "360",
+      "SingleArea": "0.473000",
+      "TotalArea": "170.28",
+      "StorageArea": "0.47",
+      "Location": "170.28",
+    },{
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "ProcessCardNumber": "NG23072003A01",
+      'FinishedProductNumber':'',
+      'FinishedProductName':'',
+      'BoxNumber':'',
+      "CustomerNumber": "KD0071",
+      "CustomerName": "浠�",
+      "Length": "1075.00",
+      "Width": "440.00",
+      "Thickness": "3.00",
+      "Quantity": "360",
+      "SingleArea": "0.473000",
+      "TotalArea": "170.28",
+      "StorageArea": "0.47",
+      "Location": "170.28",
+    },
+
+  ],//table body瀹為檯鏁版嵁
+  footerMethod ({ columns, data }) {//椤佃剼鍑芥暟
+    return[
+      columns.map((column, columnIndex) => {
+        if (columnIndex === 0) {
+          return '鍚堣:'
+        }
+        // if (props.tableProp.footList.includes(column.field)) {
+        //   return sumNum(data, column.field)
+        // }
+        return ''
+      })
+    ]
+  }
+
+})
+
+
+
 </script>
+
 <template>
-  <div>
-    <div>
-      <el-form  size="medium" >
+  <div class="main-div-customer">
+    <vxe-grid
+        max-height="100%"
+        @filter-change="filterChanged"
+        class="mytable-scrollbar"
+        ref="xGrid"
+        v-bind="gridOptions"
 
-        <el-row gutter="5">
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="name" placeholder="璇疯緭瀹㈡埛鍚嶇О" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="name" placeholder="璇疯緭椤圭洰鍚嶇О" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="name" placeholder="璇疯緭閿�鍞崟鍙�" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-          <el-col :span="2.5">
-            <el-button id="searchButton" type="primary" :icon="Search">棰嗗嚭璁板綍</el-button>
-          </el-col>
-          <el-col :span="4">
-            <el-button id="searchButton" type="primary" :icon="Search">鏌ヨ</el-button>
-          </el-col>
+    >
+      <!--      @toolbar-button-click="toolbarButtonClickEvent"-->
+      <!--      涓嬫媺鏄剧ず鎵�鏈変俊鎭彃妲�-->
+      <template #content="{ row}">
+        <ul class="expand-wrapper">
+          <li  v-for="(item,key,index) in row">
+            <span style="font-weight: bold">{{key+':  '}}</span>
+            <span>{{ item }}</span>
+          </li>
+        </ul>
+      </template>
 
-        </el-row>
-      </el-form>
-    </div>
-    <div>
-      <el-table :data="tableData" border style="width: 100%;">
-        <el-table-column prop="閿�鍞崟鍙�" label="閿�鍞崟鍙�" width="180" style="text-align: center"/>
-        <el-table-column prop="椤圭洰鍚嶇О" label="椤圭洰鍚嶇О" width="180" />
-        <el-table-column prop="瀹㈡埛缂栧彿" label="瀹㈡埛缂栧彿" width="180"/>
-        <el-table-column prop="瀹㈡埛鍚嶇О" label="瀹㈡埛鍚嶇О" width="180"/>
-        <el-table-column prop="娴佺▼鍗″彿" label="娴佺▼鍗″彿" width="180"/>
-        <el-table-column prop="鎴愬搧缂栧彿" label="鎴愬搧缂栧彿" width="180"/>
-        <el-table-column prop="绠辨灦鍙�" label="绠辨灦鍙�" width="180"/>
-        <el-table-column prop="鎴愬搧鍚嶇О" label="鎴愬搧鍚嶇О" width="180"/>
-        <el-table-column prop="闀�" label="闀�" width="180"/>
-        <el-table-column prop="瀹�" label="瀹�" width="180"/>
-        <el-table-column prop="鍘�" label="鍘�" width="180"/>
-        <el-table-column prop="鏁伴噺" label="鏁伴噺" width="180"/>
-        <el-table-column prop="鍗曠墖闈㈢Н" label="鍗曠墖闈㈢Н" width="180"/>
-        <el-table-column prop="鎬婚潰绉�" label="鎬婚潰绉�" width="180"/>
-        <el-table-column prop="搴撳尯" label="搴撳尯" width="180"/>
-        <el-table-column prop="搴撲綅" label="搴撲綅" width="180"/>
-        <el-table-column fixed="left" label="鎿嶄綔" width="80">
-          <template #default>
-            <el-button link type="primary" size="small" @click="handleClick(row)"
-            >缂栬緫</el-button>
+      <!--宸﹁竟鍥哄畾鏄剧ず鐨勬彃妲�-->
+      <template #button_slot="{ row }">
+        <el-button @click="getTableRow(row,'edit')" link type="primary" size="small">璁㈠崟璋冩嫧</el-button>
+        <el-button @click="getTableRow(row,'out')" link type="primary" size="small">鎴愬搧棰嗗嚭</el-button>
+        <el-button @click="getTableRow(row,'back')" link type="primary" size="small">鎴愬搧杩斿伐</el-button>
+      </template>
 
-          </template>
-        </el-table-column>
-      </el-table>
-    </div>
+      <template #num1_filter="{ column, $panel }">
+        <div>
+          <div v-for="(option, index) in column.filters" :key="index">
+            <input type="type" v-model="option.data" @input="changeFilterEvent($event, option, $panel)"/>
+          </div>
+        </div>
+      </template>
+
+
+    </vxe-grid>
   </div>
 </template>
-<style>
 
+<style scoped>
+.main-div-customer{
+  width: 99%;
+  height: 100%;
+}
 </style>
\ No newline at end of file
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductOut.vue b/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductOut.vue
index 15d4193..2485b1b 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductOut.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductOut.vue
@@ -1,200 +1,288 @@
-<!--鎴愬搧鍑哄簱-->
+<script setup>
 
-<script lang="ts" setup>
-import {ref} from "vue";
-import {Search} from "@element-plus/icons-vue";
-import {defineComponent} from "vue";
+import {reactive} from "vue";
+import {useRouter} from  'vue-router'
+let router=useRouter()
+const getTableRow = (row,type) =>{
+  switch (type) {
+    case 'edit' :{
+      //alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+      router.push({path: '/main/productStock/OrderAllocation', query: { id: row.id }})
+      break
+    }
+    case 'back':{
+      router.push({path: '/main/productStock/FinishedProductRework', query: { id: row.id }})
+      break
+    }
+    case 'out' :{
+      //alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+      router.push({path: '/main/productStock/FinishedGoodsIssue', query: { id: row.id }})
+      break
+    }
+  }
+}
 
 
 
+//瀛愮粍浠舵帴鏀跺弬鏁�
 
-let tableData = ref([
-  {
-    "閫佽揣鍗曞彿":'JG23121112',
-    "閿�鍞崟鍙�":'NG23120610',
-    "瀹㈡埛鍚嶇О":'涓北甯傛í鏍忛晣鐜収鐏グ鍘�',
-    "椤圭洰鍚嶇О":'閽㈠寲闀�',
-    "涓氬姟鍛�":'鐜嬭壇',
-    "璁㈠簭":'1',
-    "妤煎眰缂栧彿":'813404',
-    "璁㈠崟鏁�":'346',
-    "闀�":'813.00',
-    "瀹�":'404.00',
-    "鍘氬害":'4.00',
-    "鎬绘暟閲�":'176.00',
-    "鎬婚潰绉�":'58.0800',
-    "绠卞彿":'',
-    "鎶ヨ〃鏃ユ湡":'2023-23-13',
-    "鎴愬搧缂栧彿":'0601000622',
-    "鎴愬搧鍚嶇О":'4mm鏂瑰舰閽㈠寲闀�',
-    "鏁伴噺":'176',
-    "鐘舵��":'宸插嚭搴�',
-    "澶囨敞":'',
-  }, {
-    "閫佽揣鍗曞彿":'JG23121112',
-    "閿�鍞崟鍙�":'NG23120610',
-    "瀹㈡埛鍚嶇О":'涓北甯傛í鏍忛晣鐜収鐏グ鍘�',
-    "椤圭洰鍚嶇О":'閽㈠寲闀�',
-    "涓氬姟鍛�":'鐜嬭壇',
-    "璁㈠簭":'1',
-    "妤煎眰缂栧彿":'813404',
-    "璁㈠崟鏁�":'346',
-    "闀�":'813.00',
-    "瀹�":'404.00',
-    "鍘氬害":'4.00',
-    "鎬绘暟閲�":'176.00',
-    "鎬婚潰绉�":'58.0800',
-    "绠卞彿":'',
-    "鎶ヨ〃鏃ユ湡":'2023-23-13',
-    "鎴愬搧缂栧彿":'0601000622',
-    "鎴愬搧鍚嶇О":'4mm鏂瑰舰閽㈠寲闀�',
-    "鏁伴噺":'176',
-    "鐘舵��":'宸插嚭搴�',
-    "澶囨敞":'',
-  }, {
-    "閫佽揣鍗曞彿":'JG23121112',
-    "閿�鍞崟鍙�":'NG23120610',
-    "瀹㈡埛鍚嶇О":'涓北甯傛í鏍忛晣鐜収鐏グ鍘�',
-    "椤圭洰鍚嶇О":'閽㈠寲闀�',
-    "涓氬姟鍛�":'鐜嬭壇',
-    "璁㈠簭":'1',
-    "妤煎眰缂栧彿":'813404',
-    "璁㈠崟鏁�":'346',
-    "闀�":'813.00',
-    "瀹�":'404.00',
-    "鍘氬害":'4.00',
-    "鎬绘暟閲�":'176.00',
-    "鎬婚潰绉�":'58.0800',
-    "绠卞彿":'',
-    "鎶ヨ〃鏃ユ湡":'2023-23-13',
-    "鎴愬搧缂栧彿":'0601000622',
-    "鎴愬搧鍚嶇О":'4mm鏂瑰舰閽㈠寲闀�',
-    "鏁伴噺":'176',
-    "鐘舵��":'宸插嚭搴�',
-    "澶囨敞":'',
-  }, {
-    "閫佽揣鍗曞彿":'JG23121112',
-    "閿�鍞崟鍙�":'NG23120610',
-    "瀹㈡埛鍚嶇О":'涓北甯傛í鏍忛晣鐜収鐏グ鍘�',
-    "椤圭洰鍚嶇О":'閽㈠寲闀�',
-    "涓氬姟鍛�":'鐜嬭壇',
-    "璁㈠簭":'1',
-    "妤煎眰缂栧彿":'813404',
-    "璁㈠崟鏁�":'346',
-    "闀�":'813.00',
-    "瀹�":'404.00',
-    "鍘氬害":'4.00',
-    "鎬绘暟閲�":'176.00',
-    "鎬婚潰绉�":'58.0800',
-    "绠卞彿":'',
-    "鎶ヨ〃鏃ユ湡":'2023-23-13',
-    "鎴愬搧缂栧彿":'0601000622',
-    "鎴愬搧鍚嶇О":'4mm鏂瑰舰閽㈠寲闀�',
-    "鏁伴噺":'176',
-    "鐘舵��":'宸插嚭搴�',
-    "澶囨敞":'',
-  }, {
-    "閫佽揣鍗曞彿":'JG23121112',
-    "閿�鍞崟鍙�":'NG23120610',
-    "瀹㈡埛鍚嶇О":'涓北甯傛í鏍忛晣鐜収鐏グ鍘�',
-    "椤圭洰鍚嶇О":'閽㈠寲闀�',
-    "涓氬姟鍛�":'鐜嬭壇',
-    "璁㈠簭":'1',
-    "妤煎眰缂栧彿":'813404',
-    "璁㈠崟鏁�":'346',
-    "闀�":'813.00',
-    "瀹�":'404.00',
-    "鍘氬害":'4.00',
-    "鎬绘暟閲�":'176.00',
-    "鎬婚潰绉�":'58.0800',
-    "绠卞彿":'',
-    "鎶ヨ〃鏃ユ湡":'2023-23-13',
-    "鎴愬搧缂栧彿":'0601000622',
-    "鎴愬搧鍚嶇О":'4mm鏂瑰舰閽㈠寲闀�',
-    "鏁伴噺":'176',
-    "鐘舵��":'宸插嚭搴�',
-    "澶囨敞":'',
-  }, {
-    "閫佽揣鍗曞彿":'JG23121112',
-    "閿�鍞崟鍙�":'NG23120610',
-    "瀹㈡埛鍚嶇О":'涓北甯傛í鏍忛晣鐜収鐏グ鍘�',
-    "椤圭洰鍚嶇О":'閽㈠寲闀�',
-    "涓氬姟鍛�":'鐜嬭壇',
-    "璁㈠簭":'1',
-    "妤煎眰缂栧彿":'813404',
-    "璁㈠崟鏁�":'346',
-    "闀�":'813.00',
-    "瀹�":'404.00',
-    "鍘氬害":'4.00',
-    "鎬绘暟閲�":'176.00',
-    "鎬婚潰绉�":'58.0800',
-    "绠卞彿":'',
-    "鎶ヨ〃鏃ユ湡":'2023-23-13',
-    "鎴愬搧缂栧彿":'0601000622',
-    "鎴愬搧鍚嶇О":'4mm鏂瑰舰閽㈠寲闀�',
-    "鏁伴噺":'176',
-    "鐘舵��":'宸插嚭搴�',
-    "澶囨敞":'',
+const gridOptions = reactive({
+  border:  "full",//琛ㄦ牸鍔犺竟妗�
+  keepSource: true,//淇濇寔婧愭暟鎹�
+  align: 'center',//鏂囧瓧灞呬腑
+  stripe:true,//鏂戦┈绾�
+  rowConfig: {isCurrent: true, isHover: true,height: 50},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
+  id: 'CustomerList',
+  showFooter: true,//鏄剧ず鑴�
+  printConfig: {},
+  importConfig: {},
+  exportConfig: {},
+  scrollY:{ enabled: true },//寮�鍚櫄鎷熸粴鍔�
+  showOverflow:true,
+  columnConfig: {
+    resizable: true,
+    useKey: true
   },
+  filterConfig: {   //绛涢�夐厤缃」
+    remote: true
+  },
+  customConfig: {
+    storage: true
+  },
+  editConfig: {
+    trigger: 'click',
+    mode: 'row',
+    showStatus: true
+  },//琛ㄥご鍙傛暟
+  columns:[
+    {type:'expand',fixed:"left",slots: { content:'content' },width: '50'},
+    { type: 'checkbox',fixed:"left", title: '閫夋嫨', width: '80' },
+    { type: 'seq',fixed:"left", title: '鑷簭', width: '80' },
+    {title: '鎿嶄綔', width: '80', slots: { default: 'button_slot' },fixed:"left"},
+    {field: 'DeliveryOrderNumber', width:'150', title: '閫佽揣鍗曞彿', sortable: true,editRender: { name: 'input', attrs: { placeholder: '' } } },
+    {field: 'SalesOrderNumber', width: '150',title: '閿�鍞崟鍙�', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'ProjectName', width: '120',title: '椤圭洰鍚嶇О', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'ProductName', width: '100',title: '鎴愬搧鍚嶇О', sortable: true},
+    {field: 'ProductNumber',width: '100', title: '鎴愬搧缂栧彿', sortable: true},
+    {field: 'CustomerName',width: '100', title: '瀹㈡埛鍚嶇О', sortable: true},
+    {field: 'Length', width: '100',title: '闀垮害', sortable: true},
+    {field: 'Width',width: '100', title: '瀹藉害', sortable: true},
+    {field: 'Thickness', width: '100',title: '鍘氬害', sortable: true},
+    {field: 'TotalQuantity',width: '140', title: '鎬绘暟閲�', sortable: true},
+    {field: 'TotalArea',width: '100', title: '鎬婚潰绉�', sortable: true},
+    {field: 'FloorNumber',width: '100', title: '妤煎眰缂栧彿', sortable: true},
+    {field: 'OrderNumber',width: '100', title: '璁㈠簭', sortable: true},
+    {field: 'Salesman',width: '100', title: '涓氬姟鍛�', sortable: true},
+    {field: 'BoxNumber',width: '100', title: '绠卞彿', sortable: true},
+    {field: 'Quantity',width: '100', title: '鏁伴噺', sortable: true},
+    {field: 'ReportingDate',width: '140', title: '鎶ヨ〃鏃ユ湡', sortable: true},
+    {field: 'OrderQuantity',width: '100', title: '璁㈠崟鏁�', sortable: true},
+    {field: 'Status',width: '100', title: '鐘舵��', sortable: true},
+    {field: 'remark',width: '80', title: '澶囨敞', sortable: true},
+  ],//琛ㄥご鎸夐挳
+  toolbarConfig: {
+    buttons: [{
+      'name': '纭鍑哄簱',status: 'primary'
+    }],
+    import: false,
+    export: true,
+    print: true,
+    zoom: true,
+    custom: true
+  },
+  data:  [
+    {
+      "DeliveryOrderNumber": "1",
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "CustomerName": "鏉庝簩鐗�",
+      "Salesman": "灏忓渤",
+      "OrderNumber": '7',
+      "FloorNumber": "06040000022",
+      "OrderQuantity": "7",
+      "Length": "1230.00",
+      "Width": "1075.00",
+      "Thickness": "6銆�700",
+      "TotalQuantity": "100.00",
+      "TotalArea": "360.80",
+      "BoxNumber": "06",
+      "ReportingDate": "2023-12-22",
+      "ProductNumber": "NG2312220001",
+      "ProductName": "瓒呯骇鐜荤拑",
+      "Quantity": "360",
+      "Status": "宸茶皟鏋�",
+      "remark": "娴嬭瘯",
+    },  {
+      "DeliveryOrderNumber": "1",
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "CustomerName": "鏉庝簩鐗�",
+      "Salesman": "灏忓渤",
+      "OrderNumber": '7',
+      "FloorNumber": "06040000022",
+      "OrderQuantity": "7",
+      "Length": "1230.00",
+      "Width": "1075.00",
+      "Thickness": "6銆�700",
+      "TotalQuantity": "100.00",
+      "TotalArea": "360.80",
+      "BoxNumber": "06",
+      "ReportingDate": "2023-12-22",
+      "ProductNumber": "NG2312220001",
+      "ProductName": "瓒呯骇鐜荤拑",
+      "Quantity": "360",
+      "Status": "宸茶皟鏋�",
+      "remark": "娴嬭瘯",
+    },  {
+      "DeliveryOrderNumber": "1",
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "CustomerName": "鏉庝簩鐗�",
+      "Salesman": "灏忓渤",
+      "OrderNumber": '7',
+      "FloorNumber": "06040000022",
+      "OrderQuantity": "7",
+      "Length": "1230.00",
+      "Width": "1075.00",
+      "Thickness": "6銆�700",
+      "TotalQuantity": "100.00",
+      "TotalArea": "360.80",
+      "BoxNumber": "06",
+      "ReportingDate": "2023-12-22",
+      "ProductNumber": "NG2312220001",
+      "ProductName": "瓒呯骇鐜荤拑",
+      "Quantity": "360",
+      "Status": "宸茶皟鏋�",
+      "remark": "娴嬭瘯",
+    },  {
+      "DeliveryOrderNumber": "1",
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "CustomerName": "鏉庝簩鐗�",
+      "Salesman": "灏忓渤",
+      "OrderNumber": '7',
+      "FloorNumber": "06040000022",
+      "OrderQuantity": "7",
+      "Length": "1230.00",
+      "Width": "1075.00",
+      "Thickness": "6銆�700",
+      "TotalQuantity": "100.00",
+      "TotalArea": "360.80",
+      "BoxNumber": "06",
+      "ReportingDate": "2023-12-22",
+      "ProductNumber": "NG2312220001",
+      "ProductName": "瓒呯骇鐜荤拑",
+      "Quantity": "360",
+      "Status": "宸茶皟鏋�",
+      "remark": "娴嬭瘯",
+    },  {
+      "DeliveryOrderNumber": "1",
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "CustomerName": "鏉庝簩鐗�",
+      "Salesman": "灏忓渤",
+      "OrderNumber": '7',
+      "FloorNumber": "06040000022",
+      "OrderQuantity": "7",
+      "Length": "1230.00",
+      "Width": "1075.00",
+      "Thickness": "6銆�700",
+      "TotalQuantity": "100.00",
+      "TotalArea": "360.80",
+      "BoxNumber": "06",
+      "ReportingDate": "2023-12-22",
+      "ProductNumber": "NG2312220001",
+      "ProductName": "瓒呯骇鐜荤拑",
+      "Quantity": "360",
+      "Status": "宸茶皟鏋�",
+      "remark": "娴嬭瘯",
+    },  {
+      "DeliveryOrderNumber": "1",
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "CustomerName": "鏉庝簩鐗�",
+      "Salesman": "灏忓渤",
+      "OrderNumber": '7',
+      "FloorNumber": "06040000022",
+      "OrderQuantity": "7",
+      "Length": "1230.00",
+      "Width": "1075.00",
+      "Thickness": "6銆�700",
+      "TotalQuantity": "100.00",
+      "TotalArea": "360.80",
+      "BoxNumber": "06",
+      "ReportingDate": "2023-12-22",
+      "ProductNumber": "NG2312220001",
+      "ProductName": "瓒呯骇鐜荤拑",
+      "Quantity": "360",
+      "Status": "宸茶皟鏋�",
+      "remark": "娴嬭瘯",
+    },
 
-]);
+  ],//table body瀹為檯鏁版嵁
+  footerMethod ({ columns, data }) {//椤佃剼鍑芥暟
+    return[
+      columns.map((column, columnIndex) => {
+        if (columnIndex === 0) {
+          return '鍚堣:'
+        }
+        // if (props.tableProp.footList.includes(column.field)) {
+        //   return sumNum(data, column.field)
+        // }
+        return ''
+      })
+    ]
+  }
+
+})
+
+
 
 </script>
+
 <template>
-  <div>
-    <div>
-      <el-form  size="medium" >
+  <div class="main-div-customer">
+    <vxe-grid
+        max-height="100%"
+        @filter-change="filterChanged"
+        class="mytable-scrollbar"
+        ref="xGrid"
+        v-bind="gridOptions"
 
-        <el-row gutter="7">
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="name" placeholder="閿�鍞崟鍙�" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="productName" placeholder="閫佽揣鍗曞彿" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="salId" placeholder="瀹㈡埛鍚嶇О" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="2">-->
-<!--            <el-button id="searchButton" type="primary" :icon="Search" style="width: 100px; height: 25px">瀵煎嚭</el-button>-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-button id="searchButton" type="primary" :icon="Search" style="width: 100px; height: 25px">鏌ヨ</el-button>-->
-<!--          </el-col>-->
-          <el-col :span="4">
-            <el-button id="searchButton" type="primary" :icon="Search" style="width: 100px; height: 25px">纭畾</el-button>
-          </el-col>
-        </el-row>
+    >
+      <!--      @toolbar-button-click="toolbarButtonClickEvent"-->
+      <!--      涓嬫媺鏄剧ず鎵�鏈変俊鎭彃妲�-->
+      <template #content="{ row}">
+        <ul class="expand-wrapper">
+          <li  v-for="(item,key,index) in row">
+            <span style="font-weight: bold">{{key+':  '}}</span>
+            <span>{{ item }}</span>
+          </li>
+        </ul>
+      </template>
 
-      </el-form>
-      <div>
-        <el-table :data="tableData" border style="width: 100%">
-          <el-table-column prop="閫佽揣鍗曞彿" label="閫佽揣鍗曞彿" width="100" />
-          <el-table-column prop="閿�鍞崟鍙�" label="閿�鍞崟鍙�" width="120" />
-          <el-table-column prop="瀹㈡埛鍚嶇О" label="瀹㈡埛鍚嶇О" width="180"/>
-          <el-table-column prop="椤圭洰鍚嶇О" label="椤圭洰鍚嶇О" width="100"/>
-          <el-table-column prop="涓氬姟鍛�" label="涓氬姟鍛�" width="80"/>
-          <el-table-column prop="璁㈠簭" label="璁㈠簭" width="80"/>
-          <el-table-column prop="妤煎眰缂栧彿" label="妤煎眰缂栧彿" width="100"/>
-          <el-table-column prop="璁㈠崟鏁�" label="璁㈠崟鏁�" width="100"/>
-          <el-table-column prop="闀�" label="闀�" width="180"/>
-          <el-table-column prop="瀹�" label="瀹�" width="80"/>
-          <el-table-column prop="鍘氬害" label="鍘氬害" width="100"/>
-          <el-table-column prop="鎬绘暟閲�" label="鎬绘暟閲�" width="80"/>
-          <el-table-column prop="绠卞彿" label="绠卞彿" width="80"/>
-          <el-table-column prop="鎬婚潰绉�" label="鎬婚潰绉�" width="80"/>
-          <el-table-column prop="鎶ヨ〃鏃ユ湡" label="鎶ヨ〃鏃ユ湡" width="100"/>
-          <el-table-column prop="鎴愬搧缂栧彿" label="鎴愬搧缂栧彿" width="120"/>
-          <el-table-column prop="鎴愬搧鍚嶇О" label="鎴愬搧鍚嶇О" width="130"/>
-          <el-table-column prop="鏁伴噺" label="鏁伴噺" width="80"/>
-          <el-table-column prop="鐘舵��" label="鐘舵��" width="80"/>
-          <el-table-column prop="澶囨敞" label="澶囨敞" width="80"/>
-          <el-table-column prop="閫夋嫨" label="閫夋嫨" type="selection"  width="80"/>
-        </el-table>
-      </div>
-    </div>
+      <!--宸﹁竟鍥哄畾鏄剧ず鐨勬彃妲�-->
+      <template #button_slot="{ row }">
+        <el-button @click="getTableRow(row,'edit')" link type="primary" size="small">缂栬緫</el-button>
+
+      </template>
+
+      <template #num1_filter="{ column, $panel }">
+        <div>
+          <div v-for="(option, index) in column.filters" :key="index">
+            <input type="type" v-model="option.data" @input="changeFilterEvent($event, option, $panel)"/>
+          </div>
+        </div>
+      </template>
+
+
+    </vxe-grid>
   </div>
 </template>
-<style>
 
+<style scoped>
+.main-div-customer{
+  width: 99%;
+  height: 100%;
+}
 </style>
\ No newline at end of file
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductReturn.vue b/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductReturn.vue
index b50564f..6157485 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductReturn.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductReturn.vue
@@ -1,87 +1,184 @@
-<!-- 鎴愬搧閫�璐� -->
+<!--鎴愬搧閫�璐�-->
 
-<script lang="ts" setup>
-import {ref} from "vue";
-let tableData = ref([
-  {
-    "閫�璐у崟鍙�":'TH23113001',
-    "閿�鍞崟鍙�":'NG23112209',
-    "鍙戣揣鍗曞彿":'JG23112209',
-    "瀹㈡埛鍚嶇О":'79',
-    "椤圭洰鍚嶇О":'楂樻�ц兘鐜繚闀�',
-    "浜у搧鍚嶇О":'4mm楂樻�ц兘鐜繚闀�',
-    "閫�璐ф暟閲�":'367',
-    "涓氬姟鍛�":'姣涘崼',
-    "鍒跺崟鏃ユ湡":'23-11-30 00:00:00',
-    "澶囨敞":'',
-  },
-  {
-    "閫�璐у崟鍙�":'TH23113001',
-    "閿�鍞崟鍙�":'NG23112209',
-    "鍙戣揣鍗曞彿":'JG23112209',
-    "瀹㈡埛鍚嶇О":'79',
-    "椤圭洰鍚嶇О":'楂樻�ц兘鐜繚闀�',
-    "浜у搧鍚嶇О":'4mm楂樻�ц兘鐜繚闀�',
-    "閫�璐ф暟閲�":'367',
-    "涓氬姟鍛�":'姣涘崼',
-    "鍒跺崟鏃ユ湡":'23-11-30 00:00:00',
-    "澶囨敞":'',
-  },
-  {
-    "閫�璐у崟鍙�":'TH23113001',
-    "閿�鍞崟鍙�":'NG23112209',
-    "鍙戣揣鍗曞彿":'JG23112209',
-    "瀹㈡埛鍚嶇О":'79',
-    "椤圭洰鍚嶇О":'楂樻�ц兘鐜繚闀�',
-    "浜у搧鍚嶇О":'4mm楂樻�ц兘鐜繚闀�',
-    "閫�璐ф暟閲�":'367',
-    "涓氬姟鍛�":'姣涘崼',
-    "鍒跺崟鏃ユ湡":'23-11-30 00:00:00',
-    "澶囨敞":'',
+<script setup>
+
+import {reactive} from "vue";
+import {useRouter} from  'vue-router'
+let router=useRouter()
+const getTableRow = (row,type) =>{
+  switch (type) {
+    case 'edit' :{
+      alert('鏍规嵁閫�璐у崟鍙锋煡璇㈠悇鍗曟槑缁嗭紝鍦ㄦ槑缁嗕腑淇敼')
+      // router.push({path: '/main/trader/CreateTrader', query: { id: row.id }})
+      break
+    }
+    case 'delete':{
+      alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑鍒犻櫎淇℃伅')
+      break
+    }
   }
-])
+}
+
+
+
+//瀛愮粍浠舵帴鏀跺弬鏁�
+
+const gridOptions = reactive({
+  border:  "full",//琛ㄦ牸鍔犺竟妗�
+  keepSource: true,//淇濇寔婧愭暟鎹�
+  align: 'center',//鏂囧瓧灞呬腑
+  stripe:true,//鏂戦┈绾�
+  rowConfig: {isCurrent: true, isHover: true,height: 50},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
+  id: 'CustomerList',
+  showFooter: true,//鏄剧ず鑴�
+  printConfig: {},
+  importConfig: {},
+  exportConfig: {},
+  scrollY:{ enabled: true },//寮�鍚櫄鎷熸粴鍔�
+  showOverflow:true,
+  columnConfig: {
+    resizable: true,
+    useKey: true
+  },
+  filterConfig: {   //绛涢�夐厤缃」
+    remote: true
+  },
+  customConfig: {
+    storage: true
+  },
+  editConfig: {
+    trigger: 'click',
+    mode: 'row',
+    showStatus: true
+  },//琛ㄥご鍙傛暟
+  columns:[
+    {type:'expand',fixed:"left",slots: { content:'content' },width: '50'},
+    // { type: 'checkbox',fixed:"left", title: '閫夋嫨', width: '80' },
+    // { type: 'seq',fixed:"left", title: '鑷簭', width: '80' },
+    {title: '鎿嶄綔', width: '100', slots: { default: 'button_slot' },fixed:"left"},
+    {field: 'ReturnNumber', width: '150',title: '閫�璐у崟鍙�', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'SalesNumber', width: '120',title: '閿�鍞崟鍙�', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'NewNum', width:'150', title: '璁㈠簭', sortable: true },
+    {field: 'ShippingNumber',width: '100', title: '鍙戣揣鍗曞彿', sortable: true,showOverflow:"ellipsis"},
+    {field: 'CustomerName', width: '100',title: '瀹㈡埛鍚嶇О', sortable: true},
+    {field: 'ProjectName',width: '100', title: '浜у搧鍚嶇О', sortable: true},
+    {field: 'ReturnedQuantity', width: '100',title: '閫�璐ф暟閲�', sortable: true},
+    {field: 'ProductName',width: '100', title: '瀹㈡埛鍚嶇О', sortable: true},
+    {field: 'Salesperson', width: '100',title: '涓氬姟鍛�', sortable: true},
+    {field: 'OrderDate',width: '100', title: '鍒跺崟鏃ユ湡', sortable: true},
+    {field: 'Remark', width: '100',title: '澶囨敞', sortable: true},
+  ],//琛ㄥご鎸夐挳
+  toolbarConfig: {
+    // buttons: [{
+    //   'name': '鏂板'
+    // }],
+    import: false,
+    export: true,
+    print: true,
+    zoom: true,
+    custom: true
+  },
+  data:  [
+    {
+      "ReturnNumber": "TD23072003",
+      "SalesNumber": "NG23112209",
+      "ShippingNumber": "JG23112209",
+      'CustomerName':'寮犱笁',
+      'ProjectName':'楂樻�ц兘鐜繚闀�',
+      'ProductName':'4mm楂樻�ц兘鐜繚闀�',
+      "ReturnedQuantity": "367",
+      "Salesperson": "姣涘崼",
+      "OrderDate": "23-11-30 00:00:00",
+      "NewNum":'123123123',
+      "Remark": "娴嬭瘯",
+    } ,{
+      "ReturnNumber": "TD23072003",
+      "SalesNumber": "NG23112209",
+      "ShippingNumber": "JG23112209",
+      'CustomerName':'寮犱笁',
+      'ProjectName':'楂樻�ц兘鐜繚闀�',
+      'ProductName':'4mm楂樻�ц兘鐜繚闀�',
+      "ReturnedQuantity": "367",
+      "Salesperson": "姣涘崼",
+      "OrderDate": "23-11-30 00:00:00",
+      "NewNum":'123123123',
+      "Remark": "娴嬭瘯",
+    }, {
+      "ReturnNumber": "TD23072003",
+      "SalesNumber": "NG23112209",
+      "ShippingNumber": "JG23112209",
+      'CustomerName':'寮犱笁',
+      'ProjectName':'楂樻�ц兘鐜繚闀�',
+      'ProductName':'4mm楂樻�ц兘鐜繚闀�',
+      "ReturnedQuantity": "367",
+      "Salesperson": "姣涘崼",
+      "OrderDate": "23-11-30 00:00:00",
+      "NewNum":'123123123',
+      "Remark": "娴嬭瘯",
+    }
+  ],//table body瀹為檯鏁版嵁
+  footerMethod ({ columns, data }) {//椤佃剼鍑芥暟
+    return[
+      columns.map((column, columnIndex) => {
+        if (columnIndex === 0) {
+          return '鍚堣:'
+        }
+        // if (props.tableProp.footList.includes(column.field)) {
+        //   return sumNum(data, column.field)
+        // }
+        return ''
+      })
+    ]
+  }
+
+})
+
+
+
 </script>
+
 <template>
-<div>
-  <div>
-    <el-form  size="medium" >
+  <div class="main-div-customer">
+    <vxe-grid
+        max-height="100%"
+        @filter-change="filterChanged"
+        class="mytable-scrollbar"
+        ref="xGrid"
+        v-bind="gridOptions"
 
-<!--      <el-row gutter="7">-->
-<!--        <el-col :span="4">-->
-<!--          <el-input v-model="name" placeholder="閿�鍞崟鍙�" style="width: 200px; height: 30px;" />-->
-<!--        </el-col>-->
-<!--        <el-col :span="4">-->
-<!--          <el-input v-model="productName" placeholder="鍙戣揣鍗曞彿" style="width: 200px; height: 30px;" />-->
-<!--        </el-col>-->
-<!--        <el-col :span="4">-->
-<!--          <el-input v-model="salId" placeholder="瀹㈡埛鍚嶇О" style="width: 200px; height: 30px;" />-->
-<!--        </el-col>-->
-<!--        <el-col :span="4">-->
-<!--          <el-input v-model="salId" placeholder="椤圭洰鍚嶇О" style="width: 200px; height: 30px;" />-->
-<!--        </el-col>-->
-<!--        <el-col :span="4">-->
-<!--          <el-button id="searchButton" type="primary" :icon="Search" style="width: 100px; height: 25px">鏌ヨ</el-button>-->
-<!--        </el-col>-->
-<!--      </el-row>-->
+    >
+      <!--      @toolbar-button-click="toolbarButtonClickEvent"-->
+      <!--      涓嬫媺鏄剧ず鎵�鏈変俊鎭彃妲�-->
+      <template #content="{ row}">
+        <ul class="expand-wrapper">
+          <li  v-for="(item,key,index) in row">
+            <span style="font-weight: bold">{{key+':  '}}</span>
+            <span>{{ item }}</span>
+          </li>
+        </ul>
+      </template>
 
-    </el-form>
+      <!--宸﹁竟鍥哄畾鏄剧ず鐨勬彃妲�-->
+      <template #button_slot="{ row }">
+        <el-button @click="getTableRow(row,'edit')" link type="primary" size="small">缂栬緫</el-button>
+      </template>
+
+      <template #num1_filter="{ column, $panel }">
+        <div>
+          <div v-for="(option, index) in column.filters" :key="index">
+            <input type="type" v-model="option.data" @input="changeFilterEvent($event, option, $panel)"/>
+          </div>
+        </div>
+      </template>
+
+
+    </vxe-grid>
   </div>
-  <div>
-    <el-table :data="tableData" border style="width: 85.3%">
-      <el-table-column prop="閫�璐у崟鍙�" label="閫�璐у崟鍙�" width="110" />
-      <el-table-column prop="閿�鍞崟鍙�" label="閿�鍞崟鍙�" width="110" />
-      <el-table-column prop="鍙戣揣鍗曞彿" label="鍙戣揣鍗曞彿" width="100"/>
-      <el-table-column prop="瀹㈡埛鍚嶇О" label="瀹㈡埛鍚嶇О" width="80"/>
-      <el-table-column prop="椤圭洰鍚嶇О" label="椤圭洰鍚嶇О" width="110"/>
-      <el-table-column prop="浜у搧鍚嶇О" label="浜у搧鍚嶇О" width="180"/>
-      <el-table-column prop="閫�璐ф暟閲�" label="閫�璐ф暟閲�" width="100"/>
-      <el-table-column prop="涓氬姟鍛�" label="涓氬姟鍛�" width="100"/>
-      <el-table-column prop="鍒跺崟鏃ユ湡" label="鍒跺崟鏃ユ湡" width="180"/>
-      <el-table-column prop="澶囨敞" label="澶囨敞" width="80"/>
-    </el-table>
-  </div>
-</div>
 </template>
-<style>
 
+<style scoped>
+.main-div-customer{
+  width: 99%;
+  height: 100%;
+}
 </style>
\ No newline at end of file
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductRework.vue b/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductRework.vue
index 6735d38..bf6222e 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductRework.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/FinishedProductRework.vue
@@ -1,146 +1,216 @@
-<!-- 鎴愬搧杩斿伐 -->
+<!--鎴愬搧杩斿伐-->
 
 
-<script lang="ts" setup>
-import {ref} from "vue";
-const handleClick = (row)=>{
-  router.push({
-    path: '/orderAllocationUpdate',
-    query: {
-      rowData: JSON.stringify(row)
+
+<script setup>
+
+import {reactive} from "vue";
+import {useRouter} from  'vue-router'
+let router=useRouter()
+const getTableRow = (row,type) =>{
+  switch (type) {
+    case 'edit' :{
+      //alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+      router.push({path: '/main/productStock/OrderAllocation', query: { id: row.id }})
+      break
     }
-  });
-  return {
-    tableData,
-    handleClick
-  };
+    case 'back':{
+      router.push({path: '/main/productStock/FinishedProductRework', query: { id: row.id }})
+      break
+    }
+    case 'out' :{
+      //alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+      router.push({path: '/main/productStock/FinishedGoodsIssue', query: { id: row.id }})
+      break
+    }
+  }
 }
-let tableData = ref([
-  {
-    "閿�鍞崟鍙�":'NG23121309',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "瀹㈡埛缂栧彿":'89',
-    "瀹㈡埛鍚嶇О":'',
-    "娴佺▼鍗″彿":'NG23121309A01',
-    "鎴愬搧缂栧彿":'0604000299',
-    "绠辨灦鍙�":'0',
-    "鎴愬搧鍚嶇О":'3.2mm鎷卞舰閽㈠寲鐜荤拑',
-    "闀�":'1610.00',
-    "瀹�":'520.00',
-    "鍘�":'3.20',
-    "鏁伴噺":'122.00',
-    "鍗曠墖闈㈢Н":'0.8372',
-    "鎬婚潰绉�":'102.1384',
-    "搴撳尯":'搴撳尯',
-    "搴撲綅":'0',
-  },  {
-    "閿�鍞崟鍙�":'NG23121309',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "瀹㈡埛缂栧彿":'89',
-    "瀹㈡埛鍚嶇О":'',
-    "娴佺▼鍗″彿":'NG23121309A01',
-    "鎴愬搧缂栧彿":'0604000299',
-    "绠辨灦鍙�":'0',
-    "鎴愬搧鍚嶇О":'3.2mm鎷卞舰閽㈠寲鐜荤拑',
-    "闀�":'1610.00',
-    "瀹�":'520.00',
-    "鍘�":'3.20',
-    "鏁伴噺":'122.00',
-    "鍗曠墖闈㈢Н":'0.8372',
-    "鎬婚潰绉�":'102.1384',
-    "搴撳尯":'搴撳尯',
-    "搴撲綅":'0',
+
+
+
+//瀛愮粍浠舵帴鏀跺弬鏁�
+
+const gridOptions = reactive({
+  border:  "full",//琛ㄦ牸鍔犺竟妗�
+  keepSource: true,//淇濇寔婧愭暟鎹�
+  align: 'center',//鏂囧瓧灞呬腑
+  stripe:true,//鏂戦┈绾�
+  rowConfig: {isCurrent: true, isHover: true,height: 50},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
+  id: 'CustomerList',
+  showFooter: true,//鏄剧ず鑴�
+  printConfig: {},
+  importConfig: {},
+  exportConfig: {},
+  scrollY:{ enabled: true },//寮�鍚櫄鎷熸粴鍔�
+  showOverflow:true,
+  columnConfig: {
+    resizable: true,
+    useKey: true
   },
-  {
-    "閿�鍞崟鍙�":'NG23121309',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "瀹㈡埛缂栧彿":'89',
-    "瀹㈡埛鍚嶇О":'',
-    "娴佺▼鍗″彿":'NG23121309A01',
-    "鎴愬搧缂栧彿":'0604000299',
-    "绠辨灦鍙�":'0',
-    "鎴愬搧鍚嶇О":'3.2mm鎷卞舰閽㈠寲鐜荤拑',
-    "闀�":'1610.00',
-    "瀹�":'520.00',
-    "鍘�":'3.20',
-    "鏁伴噺":'122.00',
-    "鍗曠墖闈㈢Н":'0.8372',
-    "鎬婚潰绉�":'102.1384',
-    "搴撳尯":'搴撳尯',
-    "搴撲綅":'0',
+  filterConfig: {   //绛涢�夐厤缃」
+    remote: true
   },
-])
+  customConfig: {
+    storage: true
+  },
+  editConfig: {
+    trigger: 'click',
+    mode: 'row',
+    showStatus: true
+  },//琛ㄥご鍙傛暟
+  columns:[
+    {type:'expand',fixed:"left",slots: { content:'content' },width: '50'},
+    { type: 'checkbox',fixed:"left", title: '閫夋嫨', width: '80' },
+    // { type: 'seq',fixed:"left", title: '鑷簭', width: '80' },
+    // {title: '鎿嶄綔', width: '220', slots: { default: 'button_slot' },fixed:"left"},
+    {field: 'SalesOrderNumber', width: '150',title: '閿�鍞崟鍙�', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'ProjectName', width: '120',title: '椤圭洰鍚嶇О', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'ProcessCardNumber',width: '100', title: '娴佺▼鍗″彿', sortable: true,showOverflow:"ellipsis"},
+    {field: 'FinishedProductNumber', width: '100',title: '鎴愬搧缂栧彿', sortable: true},
+    {field: 'Quantity',width: '140', title: '鏁伴噺', sortable: true},
+    {field: 'ReworkQuantity',width: '140', title: '杩斿伐鏁伴噺',editRender: { name: 'input', attrs: { placeholder: '' } }, sortable: true},
+    {field: 'ProductNumber',width: '100', title: '浜у搧缂栧彿', sortable: true},
+    {field: 'CustomerNumber', width: '100',title: '瀹㈡埛缂栧彿', sortable: true},
+    {field: 'CustomerName',width: '100', title: '瀹㈡埛鍚嶇О', sortable: true},
+    {field: 'Length', width: '100',title: '闀垮害', sortable: true},
+    {field: 'Width',width: '100', title: '瀹藉害', sortable: true},
+    {field: 'Thickness', width: '100',title: '鍘氬害', sortable: true},
+    {field: 'SingleArea',width: '140', title: '鍗曠墖闈㈢Н', sortable: true},
+    {field: 'TotalArea',width: '100', title: '鎬婚潰绉�', sortable: true},
+    {field: 'StorageArea',width: '100', title: '搴撳尯', sortable: true},
+    {field: 'Location',width: '100', title: '搴撲綅', sortable: true},
+  ],//琛ㄥご鎸夐挳
+  toolbarConfig: {
+    buttons: [{
+      'name': '杩斿伐纭',status: 'primary'
+    },{
+      'name': '杩斿伐璁板綍'
+    }],
+    import: false,
+    export: true,
+    print: true,
+    zoom: true,
+    custom: true
+  },
+  data:  [
+    {
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "ProcessCardNumber": "NG23072003A01",
+      'FinishedProductNumber':'',
+      'FinishedProductName':'',
+      'BoxNumber':'',
+      "CustomerNumber": "KD0071",
+      "CustomerName": "浠�",
+      "Length": "1075.00",
+      "Width": "440.00",
+      "Thickness": "3.00",
+      "Quantity": "360",
+      "SingleArea": "0.473000",
+      "TotalArea": "170.28",
+      "StorageArea": "0.47",
+      "Location": "170.28",
+    },{
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "ProcessCardNumber": "NG23072003A01",
+      'FinishedProductNumber':'',
+      'FinishedProductName':'',
+      'BoxNumber':'',
+      "CustomerNumber": "KD0071",
+      "CustomerName": "浠�",
+      "Length": "1075.00",
+      "Width": "440.00",
+      "Thickness": "3.00",
+      "Quantity": "360",
+      "SingleArea": "0.473000",
+      "TotalArea": "170.28",
+      "StorageArea": "0.47",
+      "Location": "170.28",
+    },{
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "ProcessCardNumber": "NG23072003A01",
+      'FinishedProductNumber':'',
+      'FinishedProductName':'',
+      'BoxNumber':'',
+      "CustomerNumber": "KD0071",
+      "CustomerName": "浠�",
+      "Length": "1075.00",
+      "Width": "440.00",
+      "Thickness": "3.00",
+      "Quantity": "360",
+      "SingleArea": "0.473000",
+      "TotalArea": "170.28",
+      "StorageArea": "0.47",
+      "Location": "170.28",
+    },
+
+  ],//table body瀹為檯鏁版嵁
+  footerMethod ({ columns, data }) {//椤佃剼鍑芥暟
+    return[
+      columns.map((column, columnIndex) => {
+        if (columnIndex === 0) {
+          return '鍚堣:'
+        }
+        // if (props.tableProp.footList.includes(column.field)) {
+        //   return sumNum(data, column.field)
+        // }
+        return ''
+      })
+    ]
+  }
+
+})
+
+
+
 </script>
+
 <template>
-  <div>
-    <div>
-      <el-form  size="medium" >
+  <div class="main-div-customer">
+    <vxe-grid
+        max-height="100%"
+        @filter-change="filterChanged"
+        class="mytable-scrollbar"
+        ref="xGrid"
+        v-bind="gridOptions"
 
-        <el-row gutter="5">
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="name" placeholder="璇疯緭瀹㈡埛鍚嶇О" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="name" placeholder="璇疯緭椤圭洰鍚嶇О" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="name" placeholder="璇疯緭閿�鍞崟鍙�" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
+    >
+      <!--      @toolbar-button-click="toolbarButtonClickEvent"-->
+      <!--      涓嬫媺鏄剧ず鎵�鏈変俊鎭彃妲�-->
+      <template #content="{ row}">
+        <ul class="expand-wrapper">
+          <li  v-for="(item,key,index) in row">
+            <span style="font-weight: bold">{{key+':  '}}</span>
+            <span>{{ item }}</span>
+          </li>
+        </ul>
+      </template>
 
-          <el-col :span="4">
-            <el-dropdown>
-              <el-button type="primary" style="width: auto">
-                璇烽�夋嫨杩斿伐绫诲瀷<el-icon class="el-icon--right" style="width: 60px;">
-                <arrow-down />
-              </el-icon>
-              </el-button>
-              <template #dropdown>
-                <el-dropdown-menu>
-                  <el-dropdown-item>搴撳瓨杩斿伐</el-dropdown-item>
-                  <el-dropdown-item>閫�璐ц繑宸�</el-dropdown-item>
-                </el-dropdown-menu>
-              </template>
-            </el-dropdown>
-          </el-col>
-          <el-col :span="2">
-            <el-button id="searchButton" type="primary" :icon="Search">杩斿伐璁板綍</el-button>
-          </el-col>
-          <el-col :span="4">
-            <el-button id="searchButton" type="primary" :icon="Search">鏌ヨ</el-button>
-          </el-col>
+      <!--宸﹁竟鍥哄畾鏄剧ず鐨勬彃妲�-->
+      <template #button_slot="{ row }">
+        <el-button @click="getTableRow(row,'edit')" link type="primary" size="small">璁㈠崟璋冩嫧</el-button>
+        <el-button @click="getTableRow(row,'out')" link type="primary" size="small">鎴愬搧棰嗗嚭</el-button>
+        <el-button @click="getTableRow(row,'back')" link type="primary" size="small">鎴愬搧杩斿伐</el-button>
+      </template>
 
-        </el-row>
-      </el-form>
-    </div>
-    <div>
-      <el-table :data="tableData" border style="width: 100%;">
-        <el-table-column prop="閿�鍞崟鍙�" label="閿�鍞崟鍙�" width="180" style="text-align: center"/>
-        <el-table-column prop="椤圭洰鍚嶇О" label="椤圭洰鍚嶇О" width="180" />
-        <el-table-column prop="瀹㈡埛缂栧彿" label="瀹㈡埛缂栧彿" width="180"/>
-        <el-table-column prop="瀹㈡埛鍚嶇О" label="瀹㈡埛鍚嶇О" width="180"/>
-        <el-table-column prop="娴佺▼鍗″彿" label="娴佺▼鍗″彿" width="180"/>
-        <el-table-column prop="鎴愬搧缂栧彿" label="鎴愬搧缂栧彿" width="180"/>
-        <el-table-column prop="绠辨灦鍙�" label="绠辨灦鍙�" width="180"/>
-        <el-table-column prop="鎴愬搧鍚嶇О" label="鎴愬搧鍚嶇О" width="180"/>
-        <el-table-column prop="闀�" label="闀�" width="180"/>
-        <el-table-column prop="瀹�" label="瀹�" width="180"/>
-        <el-table-column prop="鍘�" label="鍘�" width="180"/>
-        <el-table-column prop="鏁伴噺" label="鏁伴噺" width="180"/>
-        <el-table-column prop="鍗曠墖闈㈢Н" label="鍗曠墖闈㈢Н" width="180"/>
-        <el-table-column prop="鎬婚潰绉�" label="鎬婚潰绉�" width="180"/>
-        <el-table-column prop="搴撳尯" label="搴撳尯" width="180"/>
-        <el-table-column prop="搴撲綅" label="搴撲綅" width="180"/>
-        <el-table-column fixed="left" label="鎿嶄綔" width="80">
-          <template #default>
-            <el-button link type="primary" size="small" @click="handleClick(row)"
-            >缂栬緫</el-button>
+      <template #num1_filter="{ column, $panel }">
+        <div>
+          <div v-for="(option, index) in column.filters" :key="index">
+            <input type="type" v-model="option.data" @input="changeFilterEvent($event, option, $panel)"/>
+          </div>
+        </div>
+      </template>
 
-          </template>
-        </el-table-column>
-      </el-table>
-    </div>
+
+    </vxe-grid>
   </div>
 </template>
-<style>
 
+<style scoped>
+.main-div-customer{
+  width: 99%;
+  height: 100%;
+}
 </style>
\ No newline at end of file
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/OrderAllocation.vue b/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/OrderAllocation.vue
index 44a9b02..269bac9 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/OrderAllocation.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/OrderAllocation.vue
@@ -1,130 +1,220 @@
-<!-- 璁㈠崟璋冩嫧 -->
+<!--鎴愬搧璋冩嫧-->
 
 
-<script lang="ts" setup>
-import {ref} from "vue";
-const handleClick = (row)=>{
-  router.push({
-    path: '/orderAllocationUpdate',
-    query: {
-      rowData: JSON.stringify(row)
+<script setup>
+
+import {reactive} from "vue";
+import {useRouter} from  'vue-router'
+let router=useRouter()
+const getTableRow = (row,type) =>{
+  switch (type) {
+    case 'edit' :{
+      alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+      // router.push({path: '/main/productStock/OrderAllocation', query: { id: row.id }})
+      break
     }
-  });
-  return {
-    tableData,
-    handleClick
-  };
+    case 'back':{
+      router.push({path: '/main/productStock/FinishedProductRework', query: { id: row.id }})
+      break
+    }
+    case 'out' :{
+      //alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+      router.push({path: '/main/productStock/FinishedGoodsIssue', query: { id: row.id }})
+      break
+    }
+  }
 }
-let tableData = ref([
-  {
-    "閿�鍞崟鍙�":'NG23121309',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "瀹㈡埛缂栧彿":'89',
-    "瀹㈡埛鍚嶇О":'',
-    "娴佺▼鍗″彿":'NG23121309A01',
-    "鎴愬搧缂栧彿":'0604000299',
-    "绠辨灦鍙�":'0',
-    "鎴愬搧鍚嶇О":'3.2mm鎷卞舰閽㈠寲鐜荤拑',
-    "闀�":'1610.00',
-    "瀹�":'520.00',
-    "鍘�":'3.20',
-    "鏁伴噺":'122.00',
-    "鍗曠墖闈㈢Н":'0.8372',
-    "鎬婚潰绉�":'102.1384',
-    "搴撳尯":'搴撳尯',
-    "搴撲綅":'0',
-  },  {
-    "閿�鍞崟鍙�":'NG23121309',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "瀹㈡埛缂栧彿":'89',
-    "瀹㈡埛鍚嶇О":'',
-    "娴佺▼鍗″彿":'NG23121309A01',
-    "鎴愬搧缂栧彿":'0604000299',
-    "绠辨灦鍙�":'0',
-    "鎴愬搧鍚嶇О":'3.2mm鎷卞舰閽㈠寲鐜荤拑',
-    "闀�":'1610.00',
-    "瀹�":'520.00',
-    "鍘�":'3.20',
-    "鏁伴噺":'122.00',
-    "鍗曠墖闈㈢Н":'0.8372',
-    "鎬婚潰绉�":'102.1384',
-    "搴撳尯":'搴撳尯',
-    "搴撲綅":'0',
+
+
+
+//瀛愮粍浠舵帴鏀跺弬鏁�
+
+const gridOptions = reactive({
+  border:  "full",//琛ㄦ牸鍔犺竟妗�
+  keepSource: true,//淇濇寔婧愭暟鎹�
+  align: 'center',//鏂囧瓧灞呬腑
+  stripe:true,//鏂戦┈绾�
+  rowConfig: {isCurrent: true, isHover: true,height: 50},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
+  id: 'CustomerList',
+  showFooter: true,//鏄剧ず鑴�
+  printConfig: {},
+  importConfig: {},
+  exportConfig: {},
+  scrollY:{ enabled: true },//寮�鍚櫄鎷熸粴鍔�
+  showOverflow:true,
+  columnConfig: {
+    resizable: true,
+    useKey: true
   },
-  {
-    "閿�鍞崟鍙�":'NG23121309',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "瀹㈡埛缂栧彿":'89',
-    "瀹㈡埛鍚嶇О":'',
-    "娴佺▼鍗″彿":'NG23121309A01',
-    "鎴愬搧缂栧彿":'0604000299',
-    "绠辨灦鍙�":'0',
-    "鎴愬搧鍚嶇О":'3.2mm鎷卞舰閽㈠寲鐜荤拑',
-    "闀�":'1610.00',
-    "瀹�":'520.00',
-    "鍘�":'3.20',
-    "鏁伴噺":'122.00',
-    "鍗曠墖闈㈢Н":'0.8372',
-    "鎬婚潰绉�":'102.1384',
-    "搴撳尯":'搴撳尯',
-    "搴撲綅":'0',
+  filterConfig: {   //绛涢�夐厤缃」
+    remote: true
   },
-])
+  customConfig: {
+    storage: true
+  },
+  editConfig: {
+    trigger: 'click',
+    mode: 'row',
+    showStatus: true
+  },//琛ㄥご鍙傛暟
+  columns:[
+    {type:'expand',fixed:"left",slots: { content:'content' },width: '50'},
+    { type: 'checkbox',fixed:"left", title: '閫夋嫨', width: '80' },
+    // { type: 'seq',fixed:"left", title: '鑷簭', width: '80' },
+    // {title: '鎿嶄綔', width: '80', slots: { default: 'button_slot' },fixed:"left"},
+    {field: 'SalesOrderNumber', width: '150',title: '閿�鍞崟鍙�', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'ProjectName', width: '120',title: '椤圭洰鍚嶇О', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'NowNum', width: '120',title: '褰撳墠搴忓彿', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'Quantity',width: '140', title: '璁㈠崟鏁伴噺', sortable: true},
+    {field: 'DiaoSalesOrderNumber', width: '150',title: '璋冩嫧鍗曞彿',editRender: { name: 'input', attrs: { placeholder: '' } }, sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'NewNum', width:'150', title: '鏂拌搴�', sortable: true,editRender: { name: 'input', attrs: { placeholder: '' } } },
+    {field: 'DiaoQuantity',width: '140', title: '璋冩嫧鏁伴噺',editRender: { name: 'input', attrs: { placeholder: '' } }, sortable: true},
+    {field: 'ProcessCardNumber',width: '100', title: '娴佺▼鍗″彿', sortable: true,showOverflow:"ellipsis"},
+    {field: 'FinishedProductNumber', width: '100',title: '鎴愬搧缂栧彿', sortable: true},
+    {field: 'ProductNumber',width: '100', title: '浜у搧缂栧彿', sortable: true},
+    {field: 'CustomerNumber', width: '100',title: '瀹㈡埛缂栧彿', sortable: true},
+    {field: 'CustomerName',width: '100', title: '瀹㈡埛鍚嶇О', sortable: true},
+    {field: 'Length', width: '100',title: '闀垮害', sortable: true},
+    {field: 'Width',width: '100', title: '瀹藉害', sortable: true},
+    {field: 'Thickness', width: '100',title: '鍘氬害', sortable: true},
+    {field: 'SingleArea',width: '140', title: '鍗曠墖闈㈢Н', sortable: true},
+    {field: 'TotalArea',width: '100', title: '鎬婚潰绉�', sortable: true},
+    {field: 'StorageArea',width: '100', title: '搴撳尯', sortable: true},
+    {field: 'Location',width: '100', title: '搴撲綅', sortable: true},
+  ],//琛ㄥご鎸夐挳
+  toolbarConfig: {
+    buttons: [
+        {'name': '纭璋冩灦',status: 'primary'},
+        {'name': '璋冩嫧璁板綍'}
+    ],
+    import: false,
+    export: true,
+    print: true,
+    zoom: true,
+    custom: true
+  },
+  data:  [
+    {
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "ProcessCardNumber": "NG23072003A01",
+      'FinishedProductNumber':'',
+      'FinishedProductName':'',
+      'BoxNumber':'',
+      "CustomerNumber": "KD0071",
+      "CustomerName": "浠�",
+      "Length": "1075.00",
+      "Width": "440.00",
+      "Thickness": "3.00",
+      "Quantity": "360",
+      "SingleArea": "0.473000",
+      "TotalArea": "170.28",
+      "StorageArea": "0.47",
+      "Location": "170.28",
+      "NowNum":'1'
+    },{
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "ProcessCardNumber": "NG23072003A01",
+      'FinishedProductNumber':'',
+      'FinishedProductName':'',
+      'BoxNumber':'',
+      "CustomerNumber": "KD0071",
+      "CustomerName": "浠�",
+      "Length": "1075.00",
+      "Width": "440.00",
+      "Thickness": "3.00",
+      "Quantity": "360",
+      "SingleArea": "0.473000",
+      "TotalArea": "170.28",
+      "StorageArea": "0.47",
+      "Location": "170.28",
+      "NowNum":'1'
+    },{
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "ProcessCardNumber": "NG23072003A01",
+      'FinishedProductNumber':'',
+      'FinishedProductName':'',
+      'BoxNumber':'',
+      "CustomerNumber": "KD0071",
+      "CustomerName": "浠�",
+      "Length": "1075.00",
+      "Width": "440.00",
+      "Thickness": "3.00",
+      "Quantity": "360",
+      "SingleArea": "0.473000",
+      "TotalArea": "170.28",
+      "StorageArea": "0.47",
+      "Location": "170.28",
+      "NowNum":'1'
+    },
+
+  ],//table body瀹為檯鏁版嵁
+  footerMethod ({ columns, data }) {//椤佃剼鍑芥暟
+    return[
+      columns.map((column, columnIndex) => {
+        if (columnIndex === 0) {
+          return '鍚堣:'
+        }
+        // if (props.tableProp.footList.includes(column.field)) {
+        //   return sumNum(data, column.field)
+        // }
+        return ''
+      })
+    ]
+  }
+
+})
+
+
+
 </script>
+
 <template>
-<div>
-  <div>
-    <el-form  size="medium" >
+  <div class="main-div-customer">
+    <vxe-grid
+        max-height="100%"
+        @filter-change="filterChanged"
+        class="mytable-scrollbar"
+        ref="xGrid"
+        v-bind="gridOptions"
 
-      <el-row gutter="5">
-<!--      <el-col :span="4">-->
-<!--        <el-input v-model="name" placeholder="璇疯緭瀹㈡埛鍚嶇О" style="width: 200px; height: 30px;" />-->
-<!--      </el-col>-->
-<!--      <el-col :span="4">-->
-<!--        <el-input v-model="name" placeholder="璇疯緭椤圭洰鍚嶇О" style="width: 200px; height: 30px;" />-->
-<!--      </el-col>-->
-<!--        <el-col :span="4">-->
-<!--          <el-input v-model="name" placeholder="璇疯緭閿�鍞崟鍙�" style="width: 200px; height: 30px;" />-->
-<!--        </el-col>-->
-        <el-col :span="2.5  ">
-          <el-button id="searchButton" type="primary" :icon="Search">璋冩灦璁板綍</el-button>
-        </el-col>
-        <el-col :span="4">
-          <el-button id="searchButton" type="primary" :icon="Search">鏌ヨ</el-button>
-        </el-col>
+    >
+      <!--      @toolbar-button-click="toolbarButtonClickEvent"-->
+      <!--      涓嬫媺鏄剧ず鎵�鏈変俊鎭彃妲�-->
+      <template #content="{ row}">
+        <ul class="expand-wrapper">
+          <li  v-for="(item,key,index) in row">
+            <span style="font-weight: bold">{{key+':  '}}</span>
+            <span>{{ item }}</span>
+          </li>
+        </ul>
+      </template>
 
-      </el-row>
-    </el-form>
+      <!--宸﹁竟鍥哄畾鏄剧ず鐨勬彃妲�-->
+      <template #button_slot="{ row }">
+        <el-button @click="getTableRow(row,'edit')" link type="primary" size="small">缂栬緫</el-button>
+<!--        <el-button @click="getTableRow(row,'out')" link type="primary" size="small">鎴愬搧棰嗗嚭</el-button>-->
+<!--        <el-button @click="getTableRow(row,'back')" link type="primary" size="small">鎴愬搧杩斿伐</el-button>-->
+      </template>
+
+      <template #num1_filter="{ column, $panel }">
+        <div>
+          <div v-for="(option, index) in column.filters" :key="index">
+            <input type="type" v-model="option.data" @input="changeFilterEvent($event, option, $panel)"/>
+          </div>
+        </div>
+      </template>
+
+
+    </vxe-grid>
   </div>
-  <div>
-    <el-table :data="tableData" border style="width: 100%;">
-      <el-table-column prop="閿�鍞崟鍙�" label="閿�鍞崟鍙�" width="180" style="text-align: center"/>
-      <el-table-column prop="椤圭洰鍚嶇О" label="椤圭洰鍚嶇О" width="180" />
-      <el-table-column prop="瀹㈡埛缂栧彿" label="瀹㈡埛缂栧彿" width="180"/>
-      <el-table-column prop="瀹㈡埛鍚嶇О" label="瀹㈡埛鍚嶇О" width="180"/>
-      <el-table-column prop="娴佺▼鍗″彿" label="娴佺▼鍗″彿" width="180"/>
-      <el-table-column prop="鎴愬搧缂栧彿" label="鎴愬搧缂栧彿" width="180"/>
-      <el-table-column prop="绠辨灦鍙�" label="绠辨灦鍙�" width="180"/>
-      <el-table-column prop="鎴愬搧鍚嶇О" label="鎴愬搧鍚嶇О" width="180"/>
-      <el-table-column prop="闀�" label="闀�" width="180"/>
-      <el-table-column prop="瀹�" label="瀹�" width="180"/>
-      <el-table-column prop="鍘�" label="鍘�" width="180"/>
-      <el-table-column prop="鏁伴噺" label="鏁伴噺" width="180"/>
-      <el-table-column prop="鍗曠墖闈㈢Н" label="鍗曠墖闈㈢Н" width="180"/>
-      <el-table-column prop="鎬婚潰绉�" label="鎬婚潰绉�" width="180"/>
-      <el-table-column prop="搴撳尯" label="搴撳尯" width="180"/>
-      <el-table-column prop="搴撲綅" label="搴撲綅" width="180"/>
-      <el-table-column fixed="left" label="鎿嶄綔" width="80">
-        <template #default>
-          <el-button link type="primary" size="small" @click="handleClick(row)"
-          >缂栬緫</el-button>
-
-        </template>
-      </el-table-column>
-    </el-table>
-  </div>
-</div>
 </template>
-<style>
 
+<style scoped>
+.main-div-customer{
+  width: 99%;
+  height: 100%;
+}
 </style>
\ No newline at end of file
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/ProductStock.vue b/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/ProductStock.vue
index 2c0511e..7515eee 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/ProductStock.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/ProductStock.vue
@@ -16,13 +16,14 @@
   <div id="main">
    <div id="div-title">
      <el-breadcrumb :separator-icon="ArrowRight">
-       <el-breadcrumb-item :to="{ path: '/main/productStock/ProductStockList' }">浜у搧鏌ヨ</el-breadcrumb-item>
+       <el-breadcrumb-item :to="{ path: '/main/productStock/ProductStockList' }">搴撳瓨鏌ヨ</el-breadcrumb-item>
        <el-breadcrumb-item :to="{ path: '/main/productStock/CreateProductStock' }">鎴愬搧鍏ュ簱</el-breadcrumb-item>
        <el-breadcrumb-item :to="{ path: '/main/productStock/FinishedProductOut' }">鎴愬搧鍑哄簱</el-breadcrumb-item>
        <el-breadcrumb-item :to="{ path: '/main/productStock/FinishedProductReturn' }">璁㈠崟鎴愬搧閫�璐�</el-breadcrumb-item>
-       <el-breadcrumb-item :to="{ path: '/main/productStock/OrderAllocation' }">璁㈠崟璋冩嫧</el-breadcrumb-item>
-       <el-breadcrumb-item :to="{ path: '/main/productStock/FinishedGoodsIssue' }">鎴愬搧棰嗗嚭</el-breadcrumb-item>
-       <el-breadcrumb-item :to="{ path: '/main/productStock/FinishedProductRework' }">鎴愬搧杩斿伐</el-breadcrumb-item>
+       <el-breadcrumb-item v-show="false" :to="{ path: '/main/order/orderReport' }">鎶ヨ〃</el-breadcrumb-item>
+<!--       <el-breadcrumb-item :to="{ path: '/main/productStock/OrderAllocation' }">璁㈠崟璋冩嫧</el-breadcrumb-item>-->
+<!--       <el-breadcrumb-item :to="{ path: '/main/productStock/FinishedGoodsIssue' }">鎴愬搧棰嗗嚭</el-breadcrumb-item>-->
+<!--       <el-breadcrumb-item :to="{ path: '/main/productStock/FinishedProductRework' }">鎴愬搧杩斿伐</el-breadcrumb-item>-->
        <!-- <el-breadcrumb-item :to="{ path: '/main/product/createProduct' }"></el-breadcrumb-item> -->
      </el-breadcrumb>
 
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/ProductStockList.vue b/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/ProductStockList.vue
index 24d9c59..4e88112 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/ProductStockList.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainProductStock/ProductStockList.vue
@@ -1,287 +1,292 @@
-<!-- 鎴愬搧搴撳瓨 -->
-<script  lang="ts" setup>
-import { ref } from 'vue'
-import router from "@/router";
-let tableData = ref([
-  {
-    "鑷簭":'30',
-    "璁㈠崟搴忓彿":'1',
-    "閿�鍞崟鍙�":'NG23072003',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "璁㈠崟绫诲瀷":'鏅�氳鍗�',
-    "娴佺▼鍗″彿":'NG23072003A01',
-    "浜у搧鍚嶇О":'',
-    "浜у搧缂栧彿":'06040000022',
-    "瀹㈡埛缂栧彿":'KD0071',
-    "瀹㈡埛鍚嶇О":'',
-    "闀垮害":'1075.00',
-    "瀹藉害":'440.00',
-    "鍘氬害":'3.00',
-    "搴撳瓨鏁�":'360',
-    "瀹為檯鍗曠墖闈㈢Н":'0.473000',
-    "闈㈢Н":'170.28',
-    "缁撶畻鍗曠墖闈㈢Н":'0.47',
-    "缁撶畻鎬婚潰绉�":'170.28',
-    "鍙敤鏁伴噺":'360',
-    "妤煎眰缂栧彿":'10927769',
-    "閫佽揣鍦板潃":'閽㈠寲鐜荤拑',
-    "鎵规":'',
-    "涓氬姟鍛�":'闄堝畻鍑�',
-    "骞冲嚒姣背":'1915.6500',
-    "閲嶉噺":'1.91565',
-    "鏈�鍚庡叆搴撴棩鏈�":'2023-09-22 08:31:17',
-    "搴撲綅缂栧彿":'鎴愬搧搴�',
-    "搴撳尯":'搴撳尯',
-    "搴撲綅":'0',
-    "鍗曟嵁鐘舵��":'1',
-    "澶囨敞":'',
-  }, {
-    "鑷簭":'31',
-    "璁㈠崟搴忓彿":'1',
-    "閿�鍞崟鍙�":'NG23072003',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "璁㈠崟绫诲瀷":'鏅�氳鍗�',
-    "娴佺▼鍗″彿":'NG23072003A02',
-    "浜у搧鍚嶇О":'',
-    "浜у搧缂栧彿":'06040000022',
-    "瀹㈡埛缂栧彿":'KD0071',
-    "瀹㈡埛鍚嶇О":'',
-    "闀垮害":'1075.00',
-    "瀹藉害":'440.00',
-    "鍘氬害":'3.00',
-    "搴撳瓨鏁�":'360',
-    "瀹為檯鍗曠墖闈㈢Н":'0.473000',
-    "闈㈢Н":'170.28',
-    "缁撶畻鍗曠墖闈㈢Н":'0.47',
-    "缁撶畻鎬婚潰绉�":'170.28',
-    "鍙敤鏁伴噺":'360',
-    "妤煎眰缂栧彿":'10927769',
-    "閫佽揣鍦板潃":'閽㈠寲鐜荤拑',
-    "鎵规":'',
-    "涓氬姟鍛�":'闄堝畻鍑�',
-    "骞冲嚒姣背":'1915.6500',
-    "閲嶉噺":'1.91565',
-    "鏈�鍚庡叆搴撴棩鏈�":'2023-09-22 08:31:17',
-    "搴撲綅缂栧彿":'鎴愬搧搴�',
-    "搴撳尯":'搴撳尯',
-    "搴撲綅":'0',
-    "鍗曟嵁鐘舵��":'1',
-    "澶囨敞":'',
-  }, {
-    "鑷簭":'32',
-    "璁㈠崟搴忓彿":'1',
-    "閿�鍞崟鍙�":'NG23072003',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "璁㈠崟绫诲瀷":'鏅�氳鍗�',
-    "娴佺▼鍗″彿":'NG23072003A01',
-    "浜у搧鍚嶇О":'',
-    "浜у搧缂栧彿":'06040000022',
-    "瀹㈡埛缂栧彿":'KD0071',
-    "瀹㈡埛鍚嶇О":'',
-    "闀垮害":'1075.00',
-    "瀹藉害":'440.00',
-    "鍘氬害":'3.00',
-    "搴撳瓨鏁�":'360',
-    "瀹為檯鍗曠墖闈㈢Н":'0.473000',
-    "闈㈢Н":'170.28',
-    "缁撶畻鍗曠墖闈㈢Н":'0.47',
-    "缁撶畻鎬婚潰绉�":'170.28',
-    "鍙敤鏁伴噺":'360',
-    "妤煎眰缂栧彿":'10927769',
-    "閫佽揣鍦板潃":'閽㈠寲鐜荤拑',
-    "鎵规":'',
-    "涓氬姟鍛�":'闄堝畻鍑�',
-    "骞冲嚒姣背":'1915.6500',
-    "閲嶉噺":'1.91565',
-    "鏈�鍚庡叆搴撴棩鏈�":'2023-09-22 08:31:17',
-    "搴撲綅缂栧彿":'鎴愬搧搴�',
-    "搴撳尯":'搴撳尯',
-    "搴撲綅":'0',
-    "鍗曟嵁鐘舵��":'1',
-    "澶囨敞":'',
-  }, {
-    "鑷簭":'33',
-    "璁㈠崟搴忓彿":'1',
-    "閿�鍞崟鍙�":'NG23072003',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "璁㈠崟绫诲瀷":'鏅�氳鍗�',
-    "娴佺▼鍗″彿":'NG23072003A01',
-    "浜у搧鍚嶇О":'',
-    "浜у搧缂栧彿":'06040000022',
-    "瀹㈡埛缂栧彿":'KD0071',
-    "瀹㈡埛鍚嶇О":'',
-    "闀垮害":'1075.00',
-    "瀹藉害":'440.00',
-    "鍘氬害":'3.00',
-    "搴撳瓨鏁�":'360',
-    "瀹為檯鍗曠墖闈㈢Н":'0.473000',
-    "闈㈢Н":'170.28',
-    "缁撶畻鍗曠墖闈㈢Н":'0.47',
-    "缁撶畻鎬婚潰绉�":'170.28',
-    "鍙敤鏁伴噺":'360',
-    "妤煎眰缂栧彿":'10927769',
-    "閫佽揣鍦板潃":'閽㈠寲鐜荤拑',
-    "鎵规":'',
-    "涓氬姟鍛�":'闄堝畻鍑�',
-    "骞冲嚒姣背":'1915.6500',
-    "閲嶉噺":'1.91565',
-    "鏈�鍚庡叆搴撴棩鏈�":'2023-09-22 08:31:17',
-    "搴撲綅缂栧彿":'鎴愬搧搴�',
-    "搴撳尯":'搴撳尯',
-    "搴撲綅":'0',
-    "鍗曟嵁鐘舵��":'1',
-    "澶囨敞":'',
-  }, {
-    "鑷簭":'34',
-    "璁㈠崟搴忓彿":'1',
-    "閿�鍞崟鍙�":'NG23072003',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "璁㈠崟绫诲瀷":'鏅�氳鍗�',
-    "娴佺▼鍗″彿":'NG23072003A01',
-    "浜у搧鍚嶇О":'',
-    "浜у搧缂栧彿":'06040000022',
-    "瀹㈡埛缂栧彿":'KD0071',
-    "瀹㈡埛鍚嶇О":'',
-    "闀垮害":'1075.00',
-    "瀹藉害":'440.00',
-    "鍘氬害":'3.00',
-    "搴撳瓨鏁�":'360',
-    "瀹為檯鍗曠墖闈㈢Н":'0.473000',
-    "闈㈢Н":'170.28',
-    "缁撶畻鍗曠墖闈㈢Н":'0.47',
-    "缁撶畻鎬婚潰绉�":'170.28',
-    "鍙敤鏁伴噺":'360',
-    "妤煎眰缂栧彿":'10927769',
-    "閫佽揣鍦板潃":'閽㈠寲鐜荤拑',
-    "鎵规":'',
-    "涓氬姟鍛�":'闄堝畻鍑�',
-    "骞冲嚒姣背":'1915.6500',
-    "閲嶉噺":'1.91565',
-    "鏈�鍚庡叆搴撴棩鏈�":'2023-09-22 08:31:17',
-    "搴撲綅缂栧彿":'鎴愬搧搴�',
-    "搴撳尯":'搴撳尯',
-    "搴撲綅":'0',
-    "鍗曟嵁鐘舵��":'1',
-    "澶囨敞":'',
-  }, {
-    "鑷簭":'35',
-    "璁㈠崟搴忓彿":'1',
-    "閿�鍞崟鍙�":'NG23072003',
-    "椤圭洰鍚嶇О":'閽㈠寲鐜荤拑',
-    "璁㈠崟绫诲瀷":'鏅�氳鍗�',
-    "娴佺▼鍗″彿":'NG23072003A01',
-    "浜у搧鍚嶇О":'',
-    "浜у搧缂栧彿":'06040000022',
-    "瀹㈡埛缂栧彿":'KD0071',
-    "瀹㈡埛鍚嶇О":'',
-    "闀垮害":'1075.00',
-    "瀹藉害":'440.00',
-    "鍘氬害":'3.00',
-    "搴撳瓨鏁�":'360',
-    "瀹為檯鍗曠墖闈㈢Н":'0.473000',
-    "闈㈢Н":'170.28',
-    "缁撶畻鍗曠墖闈㈢Н":'0.47',
-    "缁撶畻鎬婚潰绉�":'170.28',
-    "鍙敤鏁伴噺":'360',
-    "妤煎眰缂栧彿":'10927769',
-    "閫佽揣鍦板潃":'閽㈠寲鐜荤拑',
-    "鎵规":'',
-    "涓氬姟鍛�":'闄堝畻鍑�',
-    "骞冲嚒姣背":'1915.6500',
-    "閲嶉噺":'1.91565',
-    "鏈�鍚庡叆搴撴棩鏈�":'2023-09-22 08:31:17',
-    "搴撲綅缂栧彿":'鎴愬搧搴�',
-    "搴撳尯":'搴撳尯',
-    "搴撲綅":'0',
-    "鍗曟嵁鐘舵��":'1',
-    "澶囨敞":'',
+<script setup>
+
+import {reactive, ref} from "vue";
+import {useRouter} from  'vue-router'
+let router=useRouter()
+const getTableRow = (row,type) =>{
+  switch (type) {
+    case 'edit' :{
+      //alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+      router.push({path: '/main/productStock/OrderAllocation', query: { id: row.id }})
+      break
+    }
+    case 'back':{
+      router.push({path: '/main/productStock/FinishedProductRework', query: { id: row.id }})
+      break
+    }
+    case 'out' :{
+      //alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+      router.push({path: '/main/productStock/FinishedGoodsIssue', query: { id: row.id }})
+      break
+    }
   }
-])
-const name = ref('')
-const productName = ref('')
-const salId = ref('')
+}
+
+
+
+//瀛愮粍浠舵帴鏀跺弬鏁�
+
+const gridOptions = reactive({
+  border:  "full",//琛ㄦ牸鍔犺竟妗�
+  keepSource: true,//淇濇寔婧愭暟鎹�
+  align: 'center',//鏂囧瓧灞呬腑
+  stripe:true,//鏂戦┈绾�
+  rowConfig: {isCurrent: true, isHover: true,height: 50},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
+  id: 'CustomerList',
+  showFooter: true,//鏄剧ず鑴�
+  printConfig: {},
+  importConfig: {},
+  exportConfig: {},
+  scrollY:{ enabled: true },//寮�鍚櫄鎷熸粴鍔�
+  showOverflow:true,
+  columnConfig: {
+    resizable: true,
+    useKey: true
+  },
+  filterConfig: {   //绛涢�夐厤缃」
+    remote: true
+  },
+  customConfig: {
+    storage: true
+  },
+  editConfig: {
+    trigger: 'click',
+    mode: 'row',
+    showStatus: true
+  },//琛ㄥご鍙傛暟
+  columns:[
+    {type:'expand',fixed:"left",slots: { content:'content' },width: '50'},
+    // { type: 'checkbox',fixed:"left", title: '閫夋嫨', width: '80' },
+    { type: 'seq',fixed:"left", title: '鑷簭', width: '80' },
+    // {title: '鎿嶄綔', width: '220', slots: { default: 'button_slot' },fixed:"left"},
+    {field: 'OrderNumber', width:'150', title: '璁㈠崟搴忓彿', sortable: true,editRender: { name: 'input', attrs: { placeholder: '' } } },
+    {field: 'SalesOrderNumber', width: '150',title: '閿�鍞崟鍙�', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'ProjectName', width: '120',title: '椤圭洰鍚嶇О', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'OrderType', width: '100',title: '璁㈠崟绫诲瀷', sortable: true},
+    {field: 'ProcessCardNumber',width: '100', title: '娴佺▼鍗″彿', sortable: true,showOverflow:"ellipsis"},
+    {field: 'ProductName', width: '100',title: '浜у搧鍚嶇О', sortable: true},
+    {field: 'ProductNumber',width: '100', title: '浜у搧缂栧彿', sortable: true},
+    {field: 'CustomerNumber', width: '100',title: '瀹㈡埛缂栧彿', sortable: true},
+    {field: 'CustomerName',width: '100', title: '瀹㈡埛鍚嶇О', sortable: true},
+    {field: 'Length', width: '100',title: '闀垮害', sortable: true},
+    {field: 'Width',width: '100', title: '瀹藉害', sortable: true},
+    {field: 'Thickness', width: '100',title: '鍘氬害', sortable: true},
+    {field: 'InventoryCount',width: '140', title: '搴撳瓨鏁�', sortable: true},
+    {field: 'ActualSingleArea',width: '140', title: '瀹為檯鍗曠墖闈㈢Н', sortable: true},
+    {field: 'Area',width: '100', title: '闈㈢Н', sortable: true},
+    {field: 'SettlementSingleArea',width: '140', title: '缁撶畻鍗曠墖闈㈢Н', sortable: true},
+    {field: 'SettlementTotalArea',width: '140', title: '缁撶畻鎬婚潰绉�', sortable: true},
+    {field: 'AvailableQuantity',width: '100', title: '鍙敤鏁伴噺', sortable: true},
+    {field: 'FloorNumber',width: '100', title: '妤煎眰缂栧彿', sortable: true},
+    {field: 'DeliveryAddress',width: '100', title: '閫佽揣鍦板潃', sortable: true},
+    {field: 'Batch',width: '100', title: '鎵规', sortable: true},
+    {field: 'Salesman',width: '100', title: '涓氬姟鍛�', sortable: true},
+    {field: 'OrdinaryMillimeter',width: '100', title: '骞冲嚒姣背', sortable: true},
+    {field: 'Weight',width: '100', title: '閲嶉噺', sortable: true},
+    {field: 'LastWarehousingDate',width: '140', title: '鏈�鍚庡叆搴撴棩鏈�', sortable: true},
+    {field: 'LocationNumber',width: '100', title: '搴撲綅缂栧彿', sortable: true},
+    {field: 'StorageArea',width: '100', title: '瀛樺偍鍖哄煙', sortable: true},
+    {field: 'Location',width: '100', title: '搴撲綅', sortable: true},
+    {field: 'DocumentStatus',width: '100', title: '鍗曟嵁鐘舵��', sortable: true},
+    {field: 'remark',width: '80', title: '澶囨敞', sortable: true},
+  ],//琛ㄥご鎸夐挳
+  toolbarConfig: {
+    buttons: [
+      { 'code' :'issue','name':'璁㈠崟璋冩嫧',status: 'primary'},
+      { 'code' :'out','name':'鎴愬搧棰嗗嚭',status: 'primary'},
+      { 'code' :'rework','name':'鎴愬搧杩斿伐',status: 'primary'},
+
+    ],
+    import: false,
+    export: true,
+    print: true,
+    zoom: true,
+    custom: true
+  },
+  data:  [
+    {
+      "OrderNumber": "1",
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "OrderType": "鏅�氳鍗�",
+      "ProcessCardNumber": "NG23072003A01",
+      "ProductName": '',
+      "ProductNumber": "06040000022",
+      "CustomerNumber": "KD0071",
+      "CustomerName": "浠�",
+      "Length": "1075.00",
+      "Width": "440.00",
+      "Thickness": "3.00",
+      "InventoryCount": "360",
+      "ActualSingleArea": "0.473000",
+      "Area": "170.28",
+      "SettlementSingleArea": "0.47",
+      "SettlementTotalArea": "170.28",
+      "AvailableQuantity": "360",
+      "FloorNumber": "10927769",
+      "DeliveryAddress": "涓婃捣",
+      "Batch": "娴嬭瘯",
+      "OrdinaryMillimeter": "闄堝畻鍑�",
+      "Weight": "1915.6500",
+      "LastWarehousingDate": "2023-09-22 08:31:17",
+      "LocationNumber": "鎴愬搧搴�",
+      "StorageArea": "娴嬭瘯",
+      "Location": "2",
+      "DocumentStatus": "1",
+      "Remarks": "娴嬭瘯",
+    },
+    {
+      "OrderNumber": "1",
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "OrderType": "鏅�氳鍗�",
+      "ProcessCardNumber": "NG23072003A01",
+      "ProductName": '',
+      "ProductNumber": "06040000022",
+      "CustomerNumber": "KD0071",
+      "CustomerName": "浠�",
+      "Length": "1075.00",
+      "Width": "440.00",
+      "Thickness": "3.00",
+      "InventoryCount": "360",
+      "ActualSingleArea": "0.473000",
+      "Area": "170.28",
+      "SettlementSingleArea": "0.47",
+      "SettlementTotalArea": "170.28",
+      "AvailableQuantity": "360",
+      "FloorNumber": "10927769",
+      "DeliveryAddress": "涓婃捣",
+      "Batch": "娴嬭瘯",
+      "OrdinaryMillimeter": "闄堝畻鍑�",
+      "Weight": "1915.6500",
+      "LastWarehousingDate": "2023-09-22 08:31:17",
+      "LocationNumber": "鎴愬搧搴�",
+      "StorageArea": "娴嬭瘯",
+      "Location": "2",
+      "DocumentStatus": "1",
+      "Remarks": "娴嬭瘯",
+    },{
+      "OrderNumber": "1",
+      "SalesOrderNumber": "NG23072003",
+      "ProjectName": "閽㈠寲鐜荤拑",
+      "OrderType": "鏅�氳鍗�",
+      "ProcessCardNumber": "NG23072003A01",
+      "ProductName": '',
+      "ProductNumber": "06040000022",
+      "CustomerNumber": "KD0071",
+      "CustomerName": "浠�",
+      "Length": "1075.00",
+      "Width": "440.00",
+      "Thickness": "3.00",
+      "InventoryCount": "360",
+      "ActualSingleArea": "0.473000",
+      "Area": "170.28",
+      "SettlementSingleArea": "0.47",
+      "SettlementTotalArea": "170.28",
+      "AvailableQuantity": "360",
+      "FloorNumber": "10927769",
+      "DeliveryAddress": "涓婃捣",
+      "Batch": "娴嬭瘯",
+      "OrdinaryMillimeter": "闄堝畻鍑�",
+      "Weight": "1915.6500",
+      "LastWarehousingDate": "2023-09-22 08:31:17",
+      "LocationNumber": "鎴愬搧搴�",
+      "StorageArea": "娴嬭瘯",
+      "Location": "2",
+      "DocumentStatus": "1",
+      "Remarks": "娴嬭瘯",
+    },
+  ],//table body瀹為檯鏁版嵁
+  footerMethod ({ columns, data }) {//椤佃剼鍑芥暟
+    return[
+      columns.map((column, columnIndex) => {
+        if (columnIndex === 0) {
+          return '鍚堣:'
+        }
+        // if (props.tableProp.footList.includes(column.field)) {
+        //   return sumNum(data, column.field)
+        // }
+        return ''
+      })
+    ]
+  }
+
+})
+const  xGrid = ref();
+const gridEvents = {
+  toolbarButtonClick({ code }) {
+    const $grid = xGrid.value
+    if($grid){
+      switch (code){
+        case 'issue':{
+          /*VXETable.modal.confirm('鐐瑰嚮浜嗗簱瀛樿皟鎷�');*/
+          router.push({path: '/main/productStock/OrderAllocation'});
+          return;
+          break
+        }
+        case 'out':{
+          router.push({path: '/main/productStock/FinishedGoodsIssue'});
+          return;
+          break;
+        }
+        case 'rework':{
+          router.push({path: '/main/productStock/FinishedProductRework'});
+          return;
+          break;
+        }
+      }
+    }
+  }
+}
+
 
 </script>
+
 <template>
-  <div>
-    <!-- 琛ㄥ崟寮�濮� -->
-    <div>
-      <el-form  size="medium" >
-    
-       <el-row gutter="7">
-<!--  <el-col :span="4">-->
-<!--    <el-input v-model="name" placeholder="璇疯緭鍏ュ鎴峰悕绉�" style="width: 200px; height: 30px;" />-->
-<!--  </el-col>-->
-<!--  <el-col :span="4">-->
-<!--    <el-input v-model="productName" placeholder="璇疯緭鍏ラ」鐩悕绉�" style="width: 200px; height: 30px;" />-->
-<!--  </el-col>-->
-<!--  <el-col :span="4">-->
-<!--    <el-input v-model="salId" placeholder="璇疯緭鍏ラ攢鍞崟鍙�" style="width: 200px; height: 30px;" />-->
-<!--  </el-col>-->
-  <el-col :span="6.5">
-    <el-date-picker
-    type="daterange"
-    start-placeholder="寮�濮嬫椂闂�"
-    end-placeholder="缁撴潫鏃堕棿"
-   />
-  </el-col>
-  <el-col :span="4">
-           <el-button id="searchButton" type="primary" :icon="Search" style="width: 100px;">鏌ヨ</el-button>
-         </el-col>
-</el-row>
+  <div class="main-div-customer">
+    <vxe-grid
+        max-height="100%"
+        @filter-change="filterChanged"
+        class="mytable-scrollbar"
+        ref="xGrid"
+        v-bind="gridOptions"
+        v-on="gridEvents"
+
+    >
+      <!--      @toolbar-button-click="toolbarButtonClickEvent"-->
+      <!--      涓嬫媺鏄剧ず鎵�鏈変俊鎭彃妲�-->
+      <template #content="{ row}">
+        <ul class="expand-wrapper">
+          <li  v-for="(item,key,index) in row">
+            <span style="font-weight: bold">{{key+':  '}}</span>
+            <span>{{ item }}</span>
+          </li>
+        </ul>
+      </template>
+
+      <!--宸﹁竟鍥哄畾鏄剧ず鐨勬彃妲�-->
+      <template #button_slot="{ row }">
+<!--        <el-button @click="getTableRow(row,'edit')" link type="primary" size="small">璁㈠崟璋冩嫧</el-button>-->
+<!--        <el-button @click="getTableRow(row,'out')" link type="primary" size="small">鎴愬搧棰嗗嚭</el-button>-->
+<!--        <el-button @click="getTableRow(row,'back')" link type="primary" size="small">鎴愬搧杩斿伐</el-button>-->
+      </template>
+
+      <template #num1_filter="{ column, $panel }">
+        <div>
+          <div v-for="(option, index) in column.filters" :key="index">
+            <input type="type" v-model="option.data" @input="changeFilterEvent($event, option, $panel)"/>
+          </div>
+        </div>
+      </template>
 
 
-        <!-- <el-form-item size="large">
-          <el-button type="primary" @click="submitForm">鏌ヨ</el-button>
-          <el-button @click="resetForm">閲嶇疆</el-button>
-        </el-form-item>-->
-      </el-form> 
-    </div>
-    <!-- 琛ㄥ崟缁撴潫 -->
-
-    <!-- 琛ㄦ牸寮�濮� -->
-    <div>
-  <el-table :data="tableData" border style="width: 100%">
-    <el-table-column prop="鑷簭" label="鑷簭" width="180" />
-    <el-table-column prop="璁㈠崟搴忓彿" label="璁㈠崟搴忓彿" width="180" />
-    <el-table-column prop="閿�鍞崟鍙�" label="閿�鍞崟鍙�" width="180"/>
-    <el-table-column prop="椤圭洰鍚嶇О" label="椤圭洰鍚嶇О" width="180"/>
-    <el-table-column prop="璁㈠崟绫诲瀷" label="璁㈠崟绫诲瀷" width="180"/>
-    <el-table-column prop="娴佺▼鍗″彿" label="娴佺▼鍗″彿" width="180"/>
-    <el-table-column prop="浜у搧鍚嶇О" label="浜у搧鍚嶇О" width="180"/>
-    <el-table-column prop="浜у搧缂栧彿" label="浜у搧缂栧彿" width="180"/>
-    <el-table-column prop="瀹㈡埛缂栧彿" label="瀹㈡埛缂栧彿" width="180"/>
-    <el-table-column prop="瀹㈡埛鍚嶇О" label="瀹㈡埛鍚嶇О" width="180"/>
-    <el-table-column prop="闀垮害" label="闀垮害" width="180"/>
-    <el-table-column prop="瀹藉害" label="瀹藉害" width="180"/>
-    <el-table-column prop="鍘氬害" label="鍘氬害" width="180"/>
-    <el-table-column prop="搴撳瓨鏁�" label="搴撳瓨鏁�" width="180"/>
-    <el-table-column prop="瀹為檯鍗曠墖闈㈢Н" label="瀹為檯鍗曠墖闈㈢Н" width="180"/>
-    <el-table-column prop="闈㈢Н" label="闈㈢Н" width="180"/>
-    <el-table-column prop="缁撶畻鍗曠墖闈㈢Н" label="缁撶畻鍗曠墖闈㈢Н" width="180"/>
-    <el-table-column prop="缁撶畻鎬婚潰绉�" label="缁撶畻鎬婚潰绉�" width="180"/>
-    <el-table-column prop="鍙敤鏁伴噺" label="鍙敤鏁伴噺" width="180"/>
-    <el-table-column prop="妤煎眰缂栧彿" label="妤煎眰缂栧彿" width="180"/>
-    <el-table-column prop="閫佽揣鍦板潃" label="閫佽揣鍦板潃" width="180"/>
-    <el-table-column prop="鎵规" label="鎵规" width="180"/>
-    <el-table-column prop="涓氬姟鍛�" label="涓氬姟鍛�" width="180"/>
-    <el-table-column prop="骞虫柟姣背" label="骞虫柟姣背" width="180"/>
-    <el-table-column prop="閲嶉噺" label="閲嶉噺" width="180"/>
-    <el-table-column prop="鏈�鍚庡叆搴撴棩鏈�" label="鏈�鍚庡叆搴撴棩鏈�" width="180"/>
-    <el-table-column prop="搴撲綅缂栧彿" label="搴撲綅缂栧彿" width="180"/>
-    <el-table-column prop="搴撳尯" label="搴撳尯" width="180"/>
-    <el-table-column prop="搴撲綅" label="搴撲綅" width="180"/>
-    <el-table-column prop="鍗曟嵁鐘舵��" label="鍗曟嵁鐘舵��" width="180"/>
-    <el-table-column prop="澶囨敞" label="澶囨敞" width="180"/>
-
-  </el-table>
-    </div>
-    <!-- 琛ㄦ牸缁撴潫 -->
+    </vxe-grid>
   </div>
-    
-  </template>
+</template>
 
-  <style scoped>
-  
-  </style>
-  
\ No newline at end of file
+<style scoped>
+.main-div-customer{
+  width: 99%;
+  height: 100%;
+}
+</style>
\ No newline at end of file
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainTrader/CreateTrader.vue b/north-glass-erp/northglass-erp/src/views/mm/mainTrader/CreateTrader.vue
index 0c3a0db..1d2c874 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainTrader/CreateTrader.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainTrader/CreateTrader.vue
@@ -1,4 +1,4 @@
-<script>
+<script lang="ts" setup>
 
 </script>
 <template>
@@ -79,7 +79,7 @@
             <el-button id="searchButton" type="primary" :icon="Search">鏌ヨ</el-button>
           </el-col>
           <el-col span="4.5">
-            <el-button id="searchButton" type="primary" :icon="Search">纭畾</el-button>
+            <el-button id="searchButton" type="primary" :icon="save">纭畾</el-button>
           </el-col>
         </el-row>
       </el-form>
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainTrader/SelectTrader.vue b/north-glass-erp/northglass-erp/src/views/mm/mainTrader/SelectTrader.vue
index b9db151..02261a1 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainTrader/SelectTrader.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainTrader/SelectTrader.vue
@@ -1,184 +1,219 @@
-<!-- 渚涘簲鍟嗙鐞� -->
-<script lang="ts" setup>
-import { ref } from "vue";
-const name = ref('')
-const productName = ref('')
-const salId = ref('')
-let tableData = ref([
-  {
-    "渚涘簲鍟嗙紪鐮�":'221',
-    "渚涘簲鍟嗗悕绉�":'鎴愰兘姝e崕鐢靛瓙浠櫒鏈夐檺鍏徃',
-    "浠g悊浜у搧":'杈呮枡',
-    "缁撶畻鏂瑰紡":'璐у埌浠樻',
-    "鑱旂郴浜�":'',
-    "鑱旂郴鐢佃瘽":'',
-    "绋庣巼":'13.00',
-    "鍏徃鍦板潃":'鍖椾含甯傝緰鍖轰笢鍩庡尯',
-    "鏀惰揣鍦板潃":'鍖椾含甯傝緰鍖轰笢鍩庡尯',
-    "鎵�灞為泦鍥�":'',
-    "绛夌骇":'',
-    "鍗曟嵁鐘舵��":'鏈鏍�',
-    "瀹℃牳鍛�":'0.0000',
-    "瀹℃牳鏃ユ湡":'2023-11-19',
-    "鎹㈢畻鍗曚綅":'0',
-    "澶囨敞":'0',
+<script setup>
+
+import {reactive, ref} from "vue";
+import {useRouter} from  'vue-router'
+import {VXETable} from "vxe-table";
+let router=useRouter()
+const getTableRow = (row,type) =>{
+  switch (type) {
+    case 'edit' :{
+      //alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑缂栬緫淇℃伅')
+      router.push({path: '/main/trader/CreateTrader', query: { id: row.id }})
+      break
+    }
+    case 'delete':{
+      alert('鎴戞帴鏀跺埌瀛愮粍浠朵紶閫佺殑鍒犻櫎淇℃伅')
+      break
+    }
+
+  }
+}
+
+//瀛愮粍浠舵帴鏀跺弬鏁�
+
+const gridOptions = reactive({
+  border:  "full",//琛ㄦ牸鍔犺竟妗�
+  keepSource: true,//淇濇寔婧愭暟鎹�
+  align: 'center',//鏂囧瓧灞呬腑
+  stripe:true,//鏂戦┈绾�
+  rowConfig: {isCurrent: true, isHover: true,height: 50},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
+  id: 'CustomerList',
+  showFooter: true,//鏄剧ず鑴�
+  printConfig: {},
+  importConfig: {},
+  exportConfig: {},
+  scrollY:{ enabled: true },//寮�鍚櫄鎷熸粴鍔�
+  showOverflow:true,
+  columnConfig: {
+    resizable: true,
+    useKey: true
   },
-  {
-    "渚涘簲鍟嗙紪鐮�":'220',
-    "渚涘簲鍟嗗悕绉�":'骞垮窞鍚堢敵鏈虹數绉戞妧鏈夐檺鍏徃',
-    "浠g悊浜у搧":'杈呮枡',
-    "缁撶畻鏂瑰紡":'璐у埌浠樻',
-    "鑱旂郴浜�":'',
-    "鑱旂郴鐢佃瘽":'',
-    "绋庣巼":'13.00',
-    "鍏徃鍦板潃":'鍖椾含甯傝緰鍖轰笢鍩庡尯',
-    "鏀惰揣鍦板潃":'鍖椾含甯傝緰鍖轰笢鍩庡尯',
-    "鎵�灞為泦鍥�":'',
-    "绛夌骇":'',
-    "鍗曟嵁鐘舵��":'鏈鏍�',
-    "瀹℃牳鍛�":'0.0000',
-    "瀹℃牳鏃ユ湡":'2023-11-19',
-    "鎹㈢畻鍗曚綅":'0',
-    "澶囨敞":'0',
+  filterConfig: {   //绛涢�夐厤缃」
+    remote: true
   },
-  {
-    "渚涘簲鍟嗙紪鐮�":'219',
-    "渚涘簲鍟嗗悕绉�":'姹熼棬甯備腑閿愰噾鍒氱煶宸ュ叿鏈夐檺鍏徃',
-    "浠g悊浜у搧":'杈呮枡',
-    "缁撶畻鏂瑰紡":'璐у埌浠樻',
-    "鑱旂郴浜�":'',
-    "鑱旂郴鐢佃瘽":'',
-    "绋庣巼":'13.00',
-    "鍏徃鍦板潃":'鍖椾含甯傝緰鍖轰笢鍩庡尯',
-    "鏀惰揣鍦板潃":'鍖椾含甯傝緰鍖轰笢鍩庡尯',
-    "鎵�灞為泦鍥�":'',
-    "绛夌骇":'',
-    "鍗曟嵁鐘舵��":'鏈鏍�',
-    "瀹℃牳鍛�":'0.0000',
-    "瀹℃牳鏃ユ湡":'2023-11-19',
-    "鎹㈢畻鍗曚綅":'0',
-    "澶囨敞":'0',
+  customConfig: {
+    storage: true
   },
-  {
-    "渚涘簲鍟嗙紪鐮�":'218',
-    "渚涘簲鍟嗗悕绉�":'娣卞湷鎮﹀垱绮惧瘑鑷姩鍖栨妧鏈湁闄愬叕鍙�',
-    "浠g悊浜у搧":'杈呮枡',
-    "缁撶畻鏂瑰紡":'璐у埌浠樻',
-    "鑱旂郴浜�":'',
-    "鑱旂郴鐢佃瘽":'',
-    "绋庣巼":'13.00',
-    "鍏徃鍦板潃":'鍖椾含甯傝緰鍖轰笢鍩庡尯',
-    "鏀惰揣鍦板潃":'鍖椾含甯傝緰鍖轰笢鍩庡尯',
-    "鎵�灞為泦鍥�":'',
-    "绛夌骇":'',
-    "鍗曟嵁鐘舵��":'鏈鏍�',
-    "瀹℃牳鍛�":'0.0000',
-    "瀹℃牳鏃ユ湡":'2023-11-19',
-    "鎹㈢畻鍗曚綅":'0',
-    "澶囨敞":'0',
+  editConfig: {
+    trigger: 'click',
+    mode: 'row',
+    showStatus: true
+  },//琛ㄥご鍙傛暟
+  columns:[
+    {type:'expand',fixed:"left",slots: { content:'content' },width: '50'},
+    // { type: 'checkbox',fixed:"left", title: '閫夋嫨', width: '80' },
+    { type: 'seq',fixed:"left", title: '鑷簭', width: '80' },
+    {title: '鎿嶄綔', width: '110', slots: { default: 'button_slot' },fixed:"left"},
+    {field: 'supplierCode', width:'150', title: '渚涘簲鍟嗙紪鍙�', sortable: true,editRender: { name: 'input', attrs: { placeholder: '' } } },
+    {field: 'supplierName', width: '150',title: '渚涘簲鍟嗗悕绉�', sortable: true,showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'agentProduct', width: '120',title: '浠g悊浜у搧', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: 'settlementMethod', width: '100',title: '缁撶畻鏂瑰紡', sortable: true},
+    {field: 'contactPerson',width: '100', title: '鑱旂郴浜�', sortable: true,showOverflow:"ellipsis"},
+    {field: 'taxRate', width: '80',title: '绋庣巼', sortable: true},
+    {field: 'companyAddress',width: '100', title: '鍏徃鍦板潃', sortable: true},
+    {field: 'receivingAddress', width: '100',title: '鏀惰揣鍦板潃', sortable: true},
+    {field: 'belongingGroup',width: '100', title: '鎵�灞為泦鍥�', sortable: true},
+    {field: 'grade', width: '80',title: '绛夌骇', sortable: true},
+    {field: 'documentStatus',width: '100', title: '鍗曟嵁鐘舵��', sortable: true},
+    {field: 'auditor', width: '100',title: '瀹℃牳鍛�', sortable: true},
+    {field: 'auditDate',width: '110', title: '瀹℃牳鏃ユ湡', sortable: true},
+    {field: 'conversionUnit',width: '100', title: '鎹㈢畻鍗曚綅', sortable: true},
+    {field: 'remark',width: '80', title: '澶囨敞', sortable: true},
+  ],//琛ㄥご鎸夐挳
+  toolbarConfig: {
+    buttons: [{
+      'name': '鏂板',
+       'code':'add'
+    },],
+    import: false,
+    export: true,
+    print: true,
+    zoom: true,
+    custom: true
   },
-  {
-    "渚涘簲鍟嗙紪鐮�":'217',
-    "渚涘簲鍟嗗悕绉�":'娣卞湷甯備集娆g鎶�鏈夐檺鍏徃',
-    "浠g悊浜у搧":'杈呮枡',
-    "缁撶畻鏂瑰紡":'璐у埌浠樻',
-    "鑱旂郴浜�":'',
-    "鑱旂郴鐢佃瘽":'',
-    "绋庣巼":'13.00',
-    "鍏徃鍦板潃":'鍖椾含甯傝緰鍖轰笢鍩庡尯',
-    "鏀惰揣鍦板潃":'鍖椾含甯傝緰鍖轰笢鍩庡尯',
-    "鎵�灞為泦鍥�":'',
-    "绛夌骇":'',
-    "鍗曟嵁鐘舵��":'鏈鏍�',
-    "瀹℃牳鍛�":'0.0000',
-    "瀹℃牳鏃ユ湡":'2023-11-19',
-    "鎹㈢畻鍗曚綅":'0',
-    "澶囨敞":'0',
+  data:  [
+    {
+      "supplierCode": 216,
+      "supplierName": "瀹胯縼瀹d箣鏂囩數瀛愬晢鍔℃湁闄愬叕鍙�",
+      "agentProduct": "杈呮枡",
+      "settlementMethod": "璐у埌浠樻",
+      "contactPerson": "骞抽挗",
+      "taxRate": 13.00,
+      "companyAddress": "鍖椾含甯傝緰鍖轰笢鍩庡尯",
+      "receivingAddress": "鍖椾含甯傝緰鍖轰笢鍩庡尯",
+      "belongingGroup": "涓婃捣鍖楃幓",
+      "grade": "5",
+      "documentStatus": "鏈鏍�",
+      "auditor": "灏忓渤",
+      "auditDate": "2023-11-19",
+      "conversionUnit": "0",
+      "remark": "娴嬭瘯",
+    },
+    {
+      "supplierCode": 215,
+      "supplierName": "瀹胯縼瀹d箣鏂囩數瀛愬晢鍔℃湁闄愬叕鍙�",
+      "agentProduct": "杈呮枡",
+      "settlementMethod": "璐у埌浠樻",
+      "contactPerson": "灏忓渤",
+      "taxRate": 13.00,
+      "companyAddress": "鍖椾含甯傝緰鍖轰笢鍩庡尯",
+      "receivingAddress": "鍖椾含甯傝緰鍖轰笢鍩庡尯",
+      "belongingGroup": "涓婃捣鍖楃幓",
+      "grade": "5",
+      "documentStatus": "鏈鏍�",
+      "auditor": "灏忓渤",
+      "auditDate": "2023-11-19",
+      "conversionUnit": "0",
+      "remark": "娴嬭瘯",
+    },
+  ],//table body瀹為檯鏁版嵁
+  footerMethod ({ columns, data }) {//椤佃剼鍑芥暟
+    return[
+      columns.map((column, columnIndex) => {
+        if (columnIndex === 0) {
+          return '鍚堣:'
+        }
+        // if (props.tableProp.footList.includes(column.field)) {
+        //   return sumNum(data, column.field)
+        // }
+        return ''
+      })
+    ]
+  }
+
+})
+
+const  xGrid = ref();
+
+const gridEvents = {
+  toolbarButtonClick ({ code }) {
+    const $grid = xGrid.value
+    if ($grid) {
+      switch (code) {
+        case 'add': {
+
+          router.push({path: '/main/trader/CreateTrader'})
+          /*if($grid.getCheckboxRecords().length==0){
+            VXETable.modal.message( '璇烽�夋嫨涓�鏉℃暟鎹紒')
+            return
+          }*/
+          return;
+        }
+
+      }
+    }
   },
-  {
-    "渚涘簲鍟嗙紪鐮�":'216',
-    "渚涘簲鍟嗗悕绉�":'瀹胯縼瀹d箣鏂囩數瀛愬晢鍔℃湁闄愬叕鍙�',
-    "浠g悊浜у搧":'杈呮枡',
-    "缁撶畻鏂瑰紡":'璐у埌浠樻',
-    "鑱旂郴浜�":'',
-    "鑱旂郴鐢佃瘽":'',
-    "绋庣巼":'13.00',
-    "鍏徃鍦板潃":'鍖椾含甯傝緰鍖轰笢鍩庡尯',
-    "鏀惰揣鍦板潃":'鍖椾含甯傝緰鍖轰笢鍩庡尯',
-    "鎵�灞為泦鍥�":'',
-    "绛夌骇":'',
-    "鍗曟嵁鐘舵��":'鏈鏍�',
-    "瀹℃牳鍛�":'0.0000',
-    "瀹℃牳鏃ユ湡":'2023-11-19',
-    "鎹㈢畻鍗曚綅":'0',
-    "澶囨敞":'0',
+  toolbarToolClick ({ code }) {
+    const $grid = xGrid.value
+    if ($grid) {
+      switch (code) {
+        case 'myPrint': {
+          $grid.print()
+          break
+        }
+      }
+    }
   },
-])
+}
+
+
+
 </script>
 
 <template>
-  <div>
-    <!-- 琛ㄥ崟寮�濮� -->
-    <div>
-      <el-form  size="medium" >
+  <div class="main-div-customer">
+    <vxe-grid
+        max-height="100%"
+        @filter-change="filterChanged"
+        class="mytable-scrollbar"
+        ref="xGrid"
+        v-bind="gridOptions"
+        v-on="gridEvents"
 
-<!--        <el-row gutter="5">-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="name" placeholder="璇疯緭鍏ヤ緵搴斿晢缂栫爜" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="productName" placeholder="璇疯緭鍏ヤ緵搴斿晢鍚嶇О" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="salId" placeholder="璇疯緭鍏ヤ唬鐞嗕骇鍝�" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-input v-model="salId" placeholder="璇疯緭鍏ヨ仈绯讳汉" style="width: 200px; height: 30px;" />-->
-<!--          </el-col>-->
-<!--          <el-col :span="4">-->
-<!--            <el-button id="searchButton" type="primary" :icon="Search">鏌ヨ</el-button>-->
-<!--          </el-col>-->
-<!--        </el-row>-->
+    >
+      <!--      @toolbar-button-click="toolbarButtonClickEvent"-->
+      <!--      涓嬫媺鏄剧ず鎵�鏈変俊鎭彃妲�-->
+      <template #content="{ row}">
+        <ul class="expand-wrapper">
+          <li  v-for="(item,key,index) in row">
+            <span style="font-weight: bold">{{key+':  '}}</span>
+            <span>{{ item }}</span>
+          </li>
+        </ul>
+      </template>
 
-        <!-- <el-form-item size="large">
-          <el-button type="primary" @click="submitForm">鏌ヨ</el-button>
-          <el-button @click="resetForm">閲嶇疆</el-button>
-        </el-form-item>-->
+      <!--宸﹁竟鍥哄畾鏄剧ず鐨勬彃妲�-->
+      <template #button_slot="{ row }">
+        <el-button @click="getTableRow(row,'edit')" link type="primary" size="small">缂栬緫</el-button>
+        <el-button @click="getTableRow(row,'delete')" link type="primary" size="small">鍒犻櫎</el-button>
+      </template>
 
-      </el-form>
-    </div>
-    <!-- 琛ㄥ崟缁撴潫 -->
-    <!-- 琛ㄦ牸寮�濮� -->
-    <div>
-      <el-table :data="tableData" border style="width: 100%">
-        <el-table-column prop="渚涘簲鍟嗙紪鐮�" label="渚涘簲鍟嗙紪鐮�" width="180" />
-        <el-table-column prop="渚涘簲鍟嗗悕绉�" label="渚涘簲鍟嗗悕绉�" width="180" />
-        <el-table-column prop="浠g悊浜у搧" label="浠g悊浜у搧" width="180"/>
-        <el-table-column prop="缁撶畻鏂瑰紡" label="缁撶畻鏂瑰紡" width="180"/>
-        <el-table-column prop="鑱旂郴浜�" label="鑱旂郴浜�" width="180"/>
-        <el-table-column prop="鑱旂郴鐢佃瘽" label="鑱旂郴鐢佃瘽" width="180"/>
-        <el-table-column prop="绋庣巼" label="绋庣巼" width="180"/>
-        <el-table-column prop="鍏徃鍦板潃" label="鍏徃鍦板潃" width="180"/>
-        <el-table-column prop="鏀惰揣鍦板潃" label="鏀惰揣鍦板潃" width="180"/>
-        <el-table-column prop="鎵�灞為泦鍥�" label="鎵�灞為泦鍥�" width="180"/>
-        <el-table-column prop="绛夌骇" label="绛夌骇" width="180"/>
-        <el-table-column prop="鍗曟嵁鐘舵��" label="鍗曟嵁鐘舵��" width="180"/>
-        <el-table-column prop="瀹℃牳鍛�" label="瀹℃牳鍛�" width="180"/>
-        <el-table-column prop="瀹℃牳鏃ユ湡" label="瀹℃牳鏃ユ湡" width="180"/>
-        <el-table-column prop="鎹㈢畻鍗曚綅" label="鎹㈢畻鍗曚綅" width="180"/>
-        <el-table-column prop="澶囨敞" label="澶囨敞" width="180"/>
-        <el-table-column fixed="left" label="鎿嶄綔" width="120">
-          <template #default>
-            <el-button link type="primary" size="small" @click="handleClick"
-            >淇敼</el-button
-            >
-            <el-button link type="primary" size="small">鍒犻櫎</el-button>
-          </template>
-        </el-table-column>
-      </el-table>
-    </div>
+      <template #num1_filter="{ column, $panel }">
+        <div>
+          <div v-for="(option, index) in column.filters" :key="index">
+            <input type="type" v-model="option.data" @input="changeFilterEvent($event, option, $panel)"/>
+          </div>
+        </div>
+      </template>
+
+
+    </vxe-grid>
   </div>
 </template>
 
-<style>
+<style scoped>
+.main-div-customer{
+  width: 99%;
+  height: 100%;
+}
 </style>
\ No newline at end of file
diff --git a/north-glass-erp/northglass-erp/src/views/mm/mainTrader/Trader.vue b/north-glass-erp/northglass-erp/src/views/mm/mainTrader/Trader.vue
index 7a82cd9..e72659b 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/mainTrader/Trader.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/mainTrader/Trader.vue
@@ -19,8 +19,9 @@
   <div id="main">
     <div id="div-title">
       <el-breadcrumb :separator-icon="ArrowRight">
-        <el-breadcrumb-item :to="{ path: '/main/trader/SelectTrader' }">浜у搧鏌ヨ</el-breadcrumb-item>
-        <el-breadcrumb-item :to="{ path: '/main/trader/CreateTrader' }">鍒涘缓</el-breadcrumb-item>
+        <el-breadcrumb-item :to="{ path: '/main/trader/SelectTrader' }">渚涘簲鍟嗗垪琛�</el-breadcrumb-item>
+        <el-breadcrumb-item v-show="false" :to="{ path: '/main/order/orderReport' }">鎶ヨ〃</el-breadcrumb-item>
+<!--        <el-breadcrumb-item :to="{ path: '/main/trader/CreateTrader' }">鍒涘缓</el-breadcrumb-item>-->
       </el-breadcrumb>
 
     </div>
diff --git a/north-glass-erp/northglass-erp/src/views/pp/BOM/OrderBOMDetails.vue b/north-glass-erp/northglass-erp/src/views/pp/BOM/OrderBOMDetails.vue
index 27bb6f2..484df31 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/BOM/OrderBOMDetails.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/BOM/OrderBOMDetails.vue
@@ -73,7 +73,6 @@
   columns:[
     {type:'expand',fixed:"left",slots: { content:'content' },width: 50},
     { type: 'seq',fixed:"left", title: '鑷簭', width: 50 },
-    {title: '鎿嶄綔', width: 60, slots: { default: 'button_slot' },fixed:"left"},
     { slots: { default: 'state' }, title: '鍩哄噯BOM', width: 110 },
     { slots: { default: 'state' }, title: '鏍囧噯BOM', width: 110 },
     { slots: { default: 'state' }, title: '瀹℃牳', width: 80 },

--
Gitblit v1.8.0