From 4bc0e18b94a2bf17c1b7277910d63ef82fbe616a Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期五, 10 一月 2025 09:39:51 +0800 Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/MeiRuiAn/HuaiAn --- 代码管理/WMS/WIDESEA_WMSClient/src/views/basic/palletCodeInfo.vue | 159 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 159 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/palletCodeInfo.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/palletCodeInfo.vue" new file mode 100644 index 0000000..a6d37ee --- /dev/null +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/palletCodeInfo.vue" @@ -0,0 +1,159 @@ + +<template> + <view-grid + ref="grid" + :columns="columns" + :detail="detail" + :editFormFields="editFormFields" + :editFormOptions="editFormOptions" + :searchFormFields="searchFormFields" + :searchFormOptions="searchFormOptions" + :table="table" + :extend="extend" + > + </view-grid> +</template> + <script> +import extend from "@/extension/basic/palletCodeInfo.js"; +import { ref, defineComponent } from "vue"; +export default defineComponent({ + setup() { + const table = ref({ + key: "id", + footer: "Foots", + cnName: "鎵樼洏淇℃伅", + name: "palletCodeInfo", + url: "/PalletCodeInfo/", + sortName: "id", + }); + const editFormFields = ref({}); + const editFormOptions = ref([ + [ + { + title: "浠撳簱", + field: "warehouseId", + type: "select", + dataKey: "warehouse", + data: [], + required: true, + }, + { + title: "鏁伴噺", + field: "count", + type: "int", + required: true, + }, + ], + ]); + const searchFormFields = ref({ + palletCode: "", + }); + const searchFormOptions = ref([ + [{ title: "鎵樼洏缂栧彿", field: "palletCode", type: "like" }], + ]); + const columns = ref([ + { + field: "id", + title: "Id", + type: "int", + width: 90, + hidden: true, + readonly: true, + require: true, + align: "left", + }, + { + field: "warehouseId", + title: "浠撳簱涓婚敭", + type: "string", + width: 90, + align: "left", + bind: { key: "warehouses", data: [] }, + }, + { + field: "palletType", + title: "鎵樼洏绫诲瀷", + type: "string", + width: 100, + align: "left", + }, + { + field: "palletCode", + title: "鎵樼洏缂栧彿", + type: "decimal", + width: 200, + align: "left", + }, + { + field: "status", + title: "鎵撳嵃鐘舵��", + type: "string", + width: 90, + align: "left", + bind: { key: "printStatus", data: [] }, + }, + { + field: "size", + title: "灏哄", + type: "int", + width: 120, + align: "left", + }, + { + field: "creater", + title: "鍒涘缓浜�", + type: "string", + width: 90, + align: "left", + }, + { + field: "createDate", + title: "鍒涘缓鏃堕棿", + type: "datetime", + width: 160, + align: "left", + sort: true, + }, + { + field: "modifier", + title: "鏈�鍚庢墦鍗颁汉鍛�", + type: "string", + width: 100, + align: "left", + }, + { + field: "modifyDate", + title: "鏈�鍚庢墦鍗版椂闂�", + type: "datetime", + width: 160, + align: "left", + sort: true, + }, + { + 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