From c5bb36d6a6ef6c1a11bdc12c748698c06bf49b79 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期四, 25 十二月 2025 09:47:59 +0800
Subject: [PATCH] 1

---
 项目代码/WIDESEA_WMSClient/src/views/record/stockQuantityChangeRecord.vue |  456 +++++++++++++++++++++++++++++---------------------------
 1 files changed, 234 insertions(+), 222 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/views/record/stockQuantityChangeRecord.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/views/record/stockQuantityChangeRecord.vue"
index 7e8e7dd..2e9884a 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/views/record/stockQuantityChangeRecord.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/views/record/stockQuantityChangeRecord.vue"
@@ -1,225 +1,237 @@
 
 <template>
-    <view-grid
-      ref="grid"
-      :columns="columns"
-      :detail="detail"
-      :editFormFields="editFormFields"
-      :editFormOptions="editFormOptions"
-      :searchFormFields="searchFormFields"
-      :searchFormOptions="searchFormOptions"
-      :table="table"
-      :extend="extend"
-    >
-    </view-grid>
-  </template>
-    <script>
-  import extend from "@/extension/record/stockQuantityChangeRecord.js";
-  import { ref, defineComponent } from "vue";
-  export default defineComponent({
-    setup() {
-      const table = ref({
-        key: "id",
-        footer: "Foots",
-        cnName: "搴撳瓨鍙樺姩淇℃伅璁板綍",
-        name: "stockQuantityChangeRecord",
-        url: "/StockQuantityChangeRecord/",
-        sortName: "id",
-      });
-      const editFormFields = ref({
-        
-      });
-      const editFormOptions = ref([
-        
-      ]);
-      const searchFormFields = ref({
-        palleCode: "",
-        materielCode: "",
-        orderNo: "",
-      });
-      const searchFormOptions = ref([
-        [
-          { title: "鎵樼洏鍙�", field: "palleCode" ,type:"like"},
-          { title: "鐗╂枡缂栧彿", field: "materielCode",type:"like" },
-          { title: "鍗曟嵁缂栧彿", field: "orderNo" ,type:"like"},
-          { title: "鍙樺姩绫诲瀷", field: "changeType" ,type: "selectList",dataKey: "stockChangeType",data: [],},
-        ],
-        [
-          { title: "鎵规鍙�", field: "batchNo" ,type:"like"},
-          { title: "浠诲姟鍙�", field: "taskNum" ,type:"like"},
-          { title: "搴忓垪鍙�", field: "serilNumber" ,type:"like"},
-        ],
-      ]);
-      const columns = ref([
-        {
-          field: "id",
-          title: "Id",
-          type: "int",
-          width: 90,
-          hidden: true,
-          readonly: true,
-          require: true,
-          align: "left",
-        },
-        {
-          field: "stockDetailId",
-          title: "搴撳瓨鏄庣粏ID",
-          type: "string",
-          width: 90,
-          align: "left",
-        },
-        {
-          field: "palleCode",
-          title: "鎵樼洏缂栧彿",
-          type: "string",
-          width: 150,
-          align: "left",
-        },
-        {
-          field: "materielCode",
-          title: "鐗╂枡缂栧彿",
-          type: "string",
-          width: 150,
-          align: "left",
-        },
-        {
-          field: "materielName",
-          title: "鐗╂枡鍚嶇О",
-          type: "decimal",
-          width: 90,
-          align: "left",
-        },
-        {
-          field: "barcode",
-          title: "鏉$爜",
-          type: "string",
-          width: 150,
-          align: "left",
-        },
-        {
-          field: "batchNo",
-          title: "鎵规鍙�",
-          type: "string",
-          width: 90,
-          align: "left",
-        },
-        {
-          field: "serilNumber",
-          title: "搴忓垪鍙�",
-          type: "int",
-          width: 280,
-          align: "left",
-        },
-        {
-          field: "orderNo",
-          title: "鍗曟嵁缂栧彿",
-          type: "string",
-          width: 150,
-          align: "left",
-        },
-        {
-          field: "taskNum",
-          title: "浠诲姟鍙�",
-          type: "string",
-          width: 90,
-          align: "left",
-        },
-        {
-          field: "changeType",
-          title: "鍙樺姩绫诲瀷",
-          type: "int",
-          width: 120,
-          align: "left",
-          bind: { key: "stockChangeType", data: [] },
-        },
-        {
-          field: "changeQuantity",
-          title: "鍙樺姩鏁伴噺",
-          type: "string",
-          width: 100,
-          align: "left",
-        },
-        {
-          field: "beforeQuantity",
-          title: "鍙樺姩鍓嶅簱瀛橀噺",
-          type: "string",
-          width: 100,
-          align: "left",
-        },
-        {
-          field: "afterQuantity",
-          title: "鍙樺姩鍚庡簱瀛橀噺",
-          type: "string",
-          width: 100,
-          align: "left",
-        },
-        {
-          field: "creater",
-          title: "鍒涘缓浜�",
-          type: "string",
-          width: 90,
-          align: "left",
-        },
-        {
-          field: "createDate",
-          title: "鍒涘缓鏃堕棿",
-          type: "datetime",
-          width: 160,
-          align: "left",
-        },
-        {
-          field: "modifier",
-          title: "淇敼浜�",
-          type: "string",
-          width: 100,
-          align: "left",
-        },
-        {
-          field: "modifyDate",
-          title: "淇敼鏃堕棿",
-          type: "datetime",
-          width: 160,
-          align: "left",
-        },
-        {
-          field: "orderId",
-          title: "鍗曟嵁涓婚敭",
-          type: "string",
-          width: 180,
-          align: "left",
-        },
-        {
-          field: "orderDetailId",
-          title: "鍗曟嵁鏄庣粏涓婚敭",
-          type: "string",
-          width: 120,
-          align: "left",
-        },
-        {
-          field: "remark",
-          title: "澶囨敞",
-          type: "string",
-          width: 100,
-          align: "left",
-        },
-      ]);
-      const detail = ref({
-        cnName: "#detailCnName",
-        table: "",
-        columns: [],
-        sortName: "",
-      });
-      return {
-        table,
-        extend,
-        editFormFields,
-        editFormOptions,
-        searchFormFields,
-        searchFormOptions,
-        columns,
-        detail,
-      };
-    },
-  });
-  </script>
+  <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields"
+    :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions"
+    :table="table" :extend="extend">
+  </view-grid>
+</template>
+<script>
+import extend from "@/extension/record/stockQuantityChangeRecord.js";
+import { ref, defineComponent } from "vue";
+export default defineComponent({
+  setup() {
+    const table = ref({
+      key: "id",
+      footer: "Foots",
+      cnName: "搴撳瓨鍙樺姩淇℃伅璁板綍",
+      name: "stockQuantityChangeRecord",
+      url: "/StockQuantityChangeRecord/",
+      sortName: "id",
+    });
+    const editFormFields = ref({
+
+    });
+    const editFormOptions = ref([
+
+    ]);
+    const searchFormFields = ref({
+      palleCode: "",
+      materielCode: "",
+      orderNo: "",
+    });
+    const searchFormOptions = ref([
+      [
+        { title: "鎵樼洏鍙�", field: "palleCode", type: "like" },
+        { title: "鐗╂枡缂栧彿", field: "materielCode", type: "like" },
+        { title: "鍗曟嵁缂栧彿", field: "orderNo", type: "like" },
+        // { title: "鍙樺姩绫诲瀷", field: "changeType", type: "selectList", dataKey: "stockChangeType", data: [], },
+      ],
+      [
+        { title: "鍘熸潯鐮�", field: "originalSerilNumber", type: "like" },
+        { title: "浠诲姟鍙�", field: "taskNum", type: "like" },
+        { title: "鎵规鍙�", field: "batchNo", type: "like" },
+      ],
+    ]);
+    const columns = ref([
+      {
+        field: "id",
+        title: "Id",
+        type: "int",
+        width: 90,
+        hidden: true,
+        readonly: true,
+        require: true,
+        align: "left",
+      },
+      {
+        field: "stockDetailId",
+        title: "搴撳瓨鏄庣粏ID",
+        type: "string",
+        width: 90,
+        align: "left",
+      }, {
+        field: "taskNum",
+        title: "浠诲姟鍙�",
+        type: "string",
+        width: 70,
+        align: "left",
+      },
+      {
+        field: "palleCode",
+        title: "鎵樼洏缂栧彿",
+        type: "string",
+        width: 120,
+        align: "left",
+      },
+      {
+        field: "materielCode",
+        title: "鐗╂枡缂栧彿",
+        type: "string",
+        width: 150,
+        align: "left",
+      },
+      // {
+      //   field: "materielName",
+      //   title: "鐗╂枡鍚嶇О",
+      //   type: "decimal",
+      //   width: 90,
+      //   align: "left",
+      // },
+      {
+        field: "originalSerilNumber",
+        title: "鍘熸潯鐮�",
+        type: "string",
+        width: 180,
+        align: "left",
+      },
+      {
+        field: "newSerilNumber",
+        title: "鏂版潯鐮�",
+        type: "string",
+        width: 180,
+        align: "left",
+      },
+
+      // {
+      //   field: "serilNumber",
+      //   title: "搴忓垪鍙�",
+      //   type: "int",
+      //   width: 280,
+      //   align: "left",
+      // },
+      {
+        field: "remark",
+        title: "澶囨敞",
+        type: "string",
+        width: 280,
+        align: "left",
+      },
+      {
+        field: "batchNo",
+        title: "鎵规鍙�",
+        type: "string",
+        width: 150,
+        align: "left",
+      },
+      {
+        field: "orderNo",
+        title: "鍗曟嵁缂栧彿",
+        type: "string",
+        width: 150,
+        align: "left",
+      },
+
+      // {
+      //   field: "changeType",
+      //   title: "鍙樺姩绫诲瀷",
+      //   type: "int",
+      //   width: 120,
+      //   align: "left",
+      //   bind: { key: "stockChangeType", data: [] },
+      // },
+      {
+        field: "changeQuantity",
+        title: "鍙樺姩鏁伴噺",
+        type: "string",
+        width: 100,
+        align: "left",
+      },
+      {
+        field: "beforeQuantity",
+        title: "鍙樺姩鍓嶅簱瀛橀噺",
+        type: "string",
+        width: 100,
+        align: "left",
+      },
+      {
+        field: "afterQuantity",
+        title: "鍙樺姩鍚庡簱瀛橀噺",
+        type: "string",
+        width: 100,
+        align: "left",
+      },
+      {
+        field: "creater",
+        title: "鍒涘缓浜�",
+        type: "string",
+        width: 90,
+        align: "left",
+      },
+      {
+        field: "createDate",
+        title: "鍒涘缓鏃堕棿",
+        type: "datetime",
+        width: 160,
+        align: "left",
+      },
+      {
+        field: "modifier",
+        title: "淇敼浜�",
+        type: "string",
+        width: 100,
+        align: "left",
+        hidden: true,
+      },
+      {
+        field: "modifyDate",
+        title: "淇敼鏃堕棿",
+        type: "datetime",
+        width: 160,
+        align: "left",
+        hidden: true,
+      },
+      {
+        field: "orderId",
+        title: "鍗曟嵁涓婚敭",
+        type: "string",
+        width: 180,
+        align: "left",
+        hidden: true,
+      },
+      {
+        field: "orderDetailId",
+        title: "鍗曟嵁鏄庣粏涓婚敭",
+        type: "string",
+        width: 120,
+        align: "left",
+        hidden: true,
+      },
+      {
+        field: "remark",
+        title: "澶囨敞",
+        type: "string",
+        width: 100,
+        align: "left",
+        hidden: true,
+      },
+    ]);
+    const detail = ref({
+      cnName: "#detailCnName",
+      table: "",
+      columns: [],
+      sortName: "",
+    });
+    return {
+      table,
+      extend,
+      editFormFields,
+      editFormOptions,
+      searchFormFields,
+      searchFormOptions,
+      columns,
+      detail,
+    };
+  },
+});
+</script>
     
\ No newline at end of file

--
Gitblit v1.9.3