From c020f31a67fc5aa5644511bddff075f7ecc85234 Mon Sep 17 00:00:00 2001 From: qinchulong <qinchulong@hnkhzn.com> Date: 星期二, 27 五月 2025 15:35:27 +0800 Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/HuaYiZhongHeng/ZhongHeLiTiKu --- 代码管理/WMS/WIDESEA_WMSClient/src/views/record/stockQuantityChangeRecord.vue | 219 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 219 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/record/stockQuantityChangeRecord.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/record/stockQuantityChangeRecord.vue" new file mode 100644 index 0000000..ea40703 --- /dev/null +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/record/stockQuantityChangeRecord.vue" @@ -0,0 +1,219 @@ + +<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: "CreateDate", + }); + const editFormFields = ref({ + + }); + const editFormOptions = ref([ + + ]); + const searchFormFields = ref({ + palleCode: "", + materielCode: "", + orderNo: "", + }); + const searchFormOptions = ref([ + [ + { title: "鎵樼洏鍙�", field: "palleCode" }, + { title: "鐗╂枡缂栧彿", field: "materielCode" }, + { title: "鍗曟嵁缂栧彿", field: "orderNo" }, + { title: "鍙樺姩绫诲瀷", field: "changeType" ,type: "selectList",dataKey: "stockChangeType",data: [],}, + ], + [ + { title: "鎵规鍙�", field: "batchNo" }, + { title: "浠诲姟鍙�", field: "taskNum" }, + { title: "搴忓垪鍙�", field: "serilNumber" }, + ], + ]); + 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: "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> + \ No newline at end of file -- Gitblit v1.9.3