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/stock/stockView.vue | 327 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 327 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockView.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockView.vue" new file mode 100644 index 0000000..eb1d413 --- /dev/null +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockView.vue" @@ -0,0 +1,327 @@ + +<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/stock/stockView.js"; +import { ref, defineComponent } from "vue"; +export default defineComponent({ + setup() { + const table = ref({ + key: "stockId", + footer: "Foots", + cnName: "搴撳瓨瑙嗗浘", + name: "stockView", + url: "/stockView/", + sortName: "CreateDate", + }); + const editFormFields = ref({ + palletCode: "", + locationCode: "", + locationName: "", + }); + const editFormOptions = ref([ + + ]); + const searchFormFields = ref({ + palletCode: "", + locationCode: "", + }); + const searchFormOptions = ref([ + [ + { title: "鎵樼洏缂栧彿", field: "palletCode" }, + { title: "璐т綅缂栧彿", field: "locationCode" }, + { title: "璐т綅鐘舵��", field: "locationStatus" ,type: "selectList",dataKey: "locationStatusEnum",data: [],}, + { title: "搴撳瓨鐘舵��", field: "stockStatus" ,type: "selectList",dataKey: "stockStatusEmun",data: [],}, + ], + ]); + const columns = ref([ + { + field: "stockId", + title: "Id", + type: "int", + width: 90, + hidden: true, + readonly: true, + require: true, + align: "left", + }, + { + field: "palletCode", + title: "鎵樼洏缂栧彿", + type: "string", + width: 150, + link: true, + align: "left", + }, + { + field: "locationCode", + title: "璐т綅缂栧彿", + type: "string", + width: 180, + align: "left", + }, + { + field: "locationName", + title: "璐т綅鍚嶇О", + type: "string", + width: 220, + align: "left", + }, + { + field: "roadwayNo", + title: "宸烽亾缂栧彿", + type: "decimal", + width: 90, + align: "left", + }, + { + field: "row", + title: "璐т綅琛�", + type: "string", + width: 90, + align: "left", + hidden: true, + }, + { + field: "column", + title: "璐т綅鍒�", + type: "int", + width: 120, + align: "left", + hidden: true, + }, + { + field: "layer", + title: "璐т綅灞�", + type: "string", + width: 200, + align: "left", + hidden: true, + }, + { + field: "depth", + title: "璐т綅娣卞害", + type: "string", + width: 180, + align: "left", + hidden: true, + }, + { + field: "stockStatus", + title: "搴撳瓨鐘舵��", + type: "string", + width: 200, + align: "left", + bind: { key: "stockStatusEmun", data: [] }, + }, + { + field: "locationType", + title: "璐т綅绫诲瀷", + type: "string", + width: 120, + align: "left", + bind:{key: "locationTypeEnum", data: []} + }, + { + field: "locationStatus", + title: "璐т綅鐘舵��", + type: "string", + width: 200, + align: "left", + bind: { key: "locationStatusEnum", data: [] }, + }, + { + field: "enalbeStatus", + title: "绂佺敤鐘舵��", + type: "string", + width: 180, + align: "left", + bind: { key: "enableStatusEnum", data: [] }, + }, + { + field: "isFull", + title: "鏄惁婊$洏", + type: "string", + width: 150, + align: "left", + hidden: true, + bind: { key: "yesno", data: [] }, + }, + { + 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: "remark", + title: "澶囨敞", + type: "string", + width: 100, + align: "left", + }, + ]); + const detail = ref({ + cnName: "搴撳瓨鏄庣粏淇℃伅", + table: "StockInfoDetail", + columns: [ + { + field: "id", + title: "Id", + type: "int", + width: 90, + hidden: true, + readonly: true, + require: true, + align: "left", + }, + { + field: "stockId", + title: "搴撳瓨淇℃伅涓婚敭", + type: "string", + width: 90, + align: "left", + }, + { + field: "materielCode", + title: "鐗╂枡缂栧彿", + type: "string", + width: 150, + align: "left", + }, + { + field: "materielName", + title: "鐗╂枡鍚嶇О", + type: "string", + width: 150, + align: "left", + }, + { + field: "orderNo", + title: "鍗曟嵁缂栧彿", + type: "decimal", + width: 90, + align: "left", + }, + { + field: "batchNo", + title: "鎵规鍙�", + type: "string", + width: 90, + align: "left", + }, + { + field: "serialNumber", + title: "搴忓垪鍙�", + type: "int", + width: 120, + align: "left", + }, + { + field: "stockQuantity", + title: "搴撳瓨鏁伴噺", + type: "string", + width: 200, + align: "left", + }, + { + field: "outboundQuantity", + title: "鍑哄簱鏁伴噺", + type: "string", + width: 180, + align: "left", + }, + { + field: "status", + title: "搴撳瓨鏄庣粏鐘舵��", + type: "string", + width: 120, + 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: "remark", + title: "澶囨敞", + type: "string", + width: 100, + align: "left", + }, + ], + sortName: "id", + key: "id", + }); + return { + table, + extend, + editFormFields, + editFormOptions, + searchFormFields, + searchFormOptions, + columns, + detail, + }; + }, +}); +</script> + \ No newline at end of file -- Gitblit v1.9.3