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/locationStatusChangeRecord.vue | 191 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 191 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/record/locationStatusChangeRecord.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/record/locationStatusChangeRecord.vue" new file mode 100644 index 0000000..036d4f3 --- /dev/null +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/record/locationStatusChangeRecord.vue" @@ -0,0 +1,191 @@ + +<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/locationStatusChangeRecord.js"; + import { ref, defineComponent } from "vue"; + export default defineComponent({ + setup() { + const table = ref({ + key: "id", + footer: "Foots", + cnName: "璐т綅鐘舵�佸彉鍔ㄨ褰�", + name: "locationStatusChangeRecord", + url: "/LocationStatusChangeRecord/", + sortName: "CreateDate", + }); + const editFormFields = ref({ + deviceCode: "", + deviceName: "", + deviceType: "", + deviceStatus: "", + deviceIp: "", + devicePort: "", + devicePlcType: "", + deviceRemark: "", + }); + const editFormOptions = ref([ + + ]); + const searchFormFields = ref({ + locationCode: "", + orderNo: "", + taskNum: "", + }); + const searchFormOptions = ref([ + [ + { title: "璐т綅鍙�", field: "locationCode" }, + { title: "鍗曟嵁缂栧彿", field: "orderNo" }, + { title: "浠诲姟鍙�", field: "taskNum" }, + ], + [ + { title: "鍙樺姩鍓嶈揣浣嶇姸鎬�", field: "beforeStatus" ,type: "selectList",dataKey: "locationStatusEnum",data: [],}, + { title: "鍙樺姩鍚庤揣浣嶇姸鎬�", field: "afterStatus" ,type: "selectList",dataKey: "locationStatusEnum",data: [],}, + { title: "鍙樺姩绫诲瀷", field: "changeType" ,type: "selectList",dataKey: "stockChangeType",data: [],}, + ], + ]); + const columns = ref([ + { + field: "id", + title: "Id", + type: "int", + width: 90, + hidden: true, + readonly: true, + require: true, + align: "left", + }, + { + field: "locationId", + title: "璐т綅涓婚敭", + type: "string", + width: 90, + align: "left", + }, + { + field: "taskNum", + title: "浠诲姟鍙�", + type: "string", + width: 90, + align: "left", + }, + { + field: "locationCode", + title: "璐т綅缂栧彿", + type: "string", + width: 150, + align: "left", + }, + { + field: "beforeStatus", + title: "鍙樺姩鍓嶈揣浣嶇姸鎬�", + type: "string", + width: 150, + align: "left", + bind: { key: "locationStatusEnum", data: [] }, + }, + { + field: "afterStatus", + title: "鍙樺姩鍚庤揣浣嶇姸鎬�", + type: "decimal", + width: 150, + align: "left", + bind: { key: "locationStatusEnum", data: [] }, + }, + { + field: "changeType", + title: "鍙樺姩绫诲瀷", + type: "string", + width: 90, + align: "left", + bind: { key: "stockChangeType", data: [] }, + }, + { + field: "orderId", + title: "鍗曟嵁涓婚敭", + type: "string", + width: 90, + align: "left", + }, + { + field: "orderNo", + title: "鍗曟嵁缂栧彿", + type: "int", + width: 120, + align: "left", + }, + { + field: "orderDetailId", + title: "鍗曟嵁鏄庣粏涓婚敭", + type: "string", + width: 200, + 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", + }, + ]); + 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