From d01295c254063b3349a86a4474e04a62b284bd19 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 24 三月 2026 16:26:07 +0800
Subject: [PATCH] 一些配置
---
Code/WMS/WIDESEA_WMSClient/src/views/outbound/outStockLockInfo.vue | 134 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 134 insertions(+), 0 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSClient/src/views/outbound/outStockLockInfo.vue b/Code/WMS/WIDESEA_WMSClient/src/views/outbound/outStockLockInfo.vue
new file mode 100644
index 0000000..4467fac
--- /dev/null
+++ b/Code/WMS/WIDESEA_WMSClient/src/views/outbound/outStockLockInfo.vue
@@ -0,0 +1,134 @@
+锘�<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/outbound/outStockLockInfo.js";
+import { ref, defineComponent } from "vue";
+
+export default defineComponent({
+ setup() {
+ // 椤甸潰鏍稿績閰嶇疆锛氱粦瀹氬悗绔� OutStockLockInfo 鎺у埗鍣ㄣ��
+ const table = ref({
+ key: "id",
+ footer: "Foots",
+ cnName: "鍑哄簱閿佸畾鏄庣粏",
+ name: "outStockLockInfo",
+ url: "/OutStockLockInfo/",
+ sortName: "id",
+ });
+
+ // 鏂板/缂栬緫琛ㄥ崟瀛楁锛氫笌鍚庣瀹炰綋瀛楁淇濇寔涓�鑷达紝閬垮厤瀛楁涓㈠け銆�
+ const editFormFields = ref({
+ orderNo: "",
+ orderDetailId: "",
+ orderType: "",
+ batchNo: "",
+ materielCode: "",
+ materielName: "",
+ stockId: "",
+ orderQuantity: "",
+ originalQuantity: "",
+ assignQuantity: "",
+ locationCode: "",
+ palletCode: "",
+ unit: "",
+ taskNum: "",
+ status: "",
+ remark: "",
+ });
+
+ const editFormOptions = ref([
+ [
+ { field: "orderNo", title: "鍗曟嵁缂栧彿", type: "string", required: true },
+ { field: "orderType", title: "鍗曟嵁绫诲瀷", type: "select", dataKey: "outOrderType", data: [] },
+ { field: "batchNo", title: "鎵规鍙�", type: "string" },
+ { field: "materielCode", title: "鐗╂枡缂栧彿", type: "string" },
+ { field: "materielName", title: "鐗╂枡鍚嶇О", type: "string" },
+ ],
+ [
+ { field: "palletCode", title: "鎵樼洏缂栧彿", type: "string" },
+ { field: "locationCode", title: "璐т綅缂栧彿", type: "string" },
+ { field: "assignQuantity", title: "鍒嗛厤鍑哄簱閲�", type: "decimal" },
+ { field: "status", title: "鐘舵��", type: "select", dataKey: "outStockStatus", data: [] },
+ { field: "remark", title: "澶囨敞", type: "textarea" },
+ ],
+ ]);
+
+ // 鏌ヨ瀛楁锛氭彁渚涗笟鍔″畾浣嶅父鐢ㄦ潯浠躲��
+ const searchFormFields = ref({
+ orderNo: "",
+ batchNo: "",
+ materielCode: "",
+ palletCode: "",
+ locationCode: "",
+ status: "",
+ });
+
+ const searchFormOptions = ref([
+ [
+ { title: "鍗曟嵁缂栧彿", field: "orderNo", type: "like" },
+ { title: "鎵规鍙�", field: "batchNo", type: "like" },
+ { title: "鐗╂枡缂栧彿", field: "materielCode", type: "like" },
+ ],
+ [
+ { title: "鎵樼洏缂栧彿", field: "palletCode", type: "like" },
+ { title: "璐т綅缂栧彿", field: "locationCode", type: "like" },
+ { title: "鐘舵��", field: "status", type: "select", dataKey: "outStockStatus", data: [] },
+ ],
+ ]);
+
+ const columns = ref([
+ { field: "id", title: "Id", type: "int", width: 90, hidden: true, readonly: true, require: true, align: "left" },
+ { field: "orderNo", title: "鍗曟嵁缂栧彿", type: "string", width: 160, align: "left" },
+ { field: "orderType", title: "鍗曟嵁绫诲瀷", type: "int", width: 110, align: "left", bind: { key: "outOrderType", data: [] } },
+ { field: "orderDetailId", title: "鍗曟嵁鏄庣粏涓婚敭", type: "int", width: 120, align: "left", hidden: true },
+ { field: "batchNo", title: "鎵规鍙�", type: "string", width: 120, align: "left" },
+ { field: "materielCode", title: "鐗╂枡缂栧彿", type: "string", width: 130, align: "left" },
+ { field: "materielName", title: "鐗╂枡鍚嶇О", type: "string", width: 180, align: "left" },
+ { field: "stockId", title: "搴撳瓨涓婚敭", type: "int", width: 110, align: "left", hidden: true },
+ { field: "orderQuantity", title: "鍗曟嵁鏁伴噺", type: "decimal", width: 110, align: "left" },
+ { field: "originalQuantity", title: "鍘熷搴撳瓨閲�", type: "decimal", width: 110, align: "left" },
+ { field: "assignQuantity", title: "鍒嗛厤鍑哄簱閲�", type: "decimal", width: 120, align: "left" },
+ { field: "locationCode", title: "璐т綅缂栧彿", type: "string", width: 120, align: "left" },
+ { field: "palletCode", title: "鎵樼洏缂栧彿", type: "string", width: 120, align: "left" },
+ { field: "unit", title: "鍗曚綅", type: "string", width: 90, align: "left" },
+ { field: "taskNum", title: "浠诲姟鍙�", type: "int", width: 100, align: "left" },
+ { field: "status", title: "鐘舵��", type: "int", width: 100, align: "left", bind: { key: "outStockStatus", data: [] } },
+ { field: "creater", title: "鍒涘缓浜�", type: "string", width: 100, 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: "remark", title: "澶囨敞", type: "string", width: 120, align: "left", hidden: true },
+ ]);
+
+ const detail = ref({
+ cnName: "#detailCnName",
+ table: "",
+ columns: [],
+ sortName: "",
+ });
+
+ return {
+ table,
+ extend,
+ editFormFields,
+ editFormOptions,
+ searchFormFields,
+ searchFormOptions,
+ columns,
+ detail,
+ };
+ },
+});
+</script>
--
Gitblit v1.9.3