1
WINDOWS-F96JH03\Kain
2026-03-17 8854e1659aed3225919238422fc1de8f5d61d02a
1
已添加8个文件
已修改3个文件
171 ■■■■■ 文件已修改
项目代码/WMS/WMSClient/src/extension/basicinfo/Dt_StationManager.js 57 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
项目代码/WMS/WMSClient/src/router/viewGird.js 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
项目代码/WMS/WMSClient/src/views/basicinfo/Dt_StationManager.vue 99 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
项目代码/WMS/WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1518.61961/CodeChunks.db 补丁 | 查看 | 原始文档 | blame | 历史
项目代码/WMS/WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1518.61961/CodeChunks.db-shm 补丁 | 查看 | 原始文档 | blame | 历史
项目代码/WMS/WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1518.61961/CodeChunks.db-wal 补丁 | 查看 | 原始文档 | blame | 历史
项目代码/WMS/WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1518.61961/SemanticSymbols.db 补丁 | 查看 | 原始文档 | blame | 历史
项目代码/WMS/WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1518.61961/SemanticSymbols.db-shm 补丁 | 查看 | 原始文档 | blame | 历史
项目代码/WMS/WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1518.61961/SemanticSymbols.db-wal 补丁 | 查看 | 原始文档 | blame | 历史
项目代码/WMS/WMSServer/WIDESEA_WMSServer/Program.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
项目代码/WMS/WMSServer/WIDESEA_WMSServer/appsettings.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ÏîÄ¿´úÂë/WMS/WMSClient/src/extension/basicinfo/Dt_StationManager.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,57 @@
//此js文件是用来自定义扩展业务代码,可以扩展一些自定义页面或者重新配置生成的代码
let extension = {
  components: {
    //查询界面扩展组件
    gridHeader: '',
    gridBody: '',
    gridFooter: '',
    //新建、编辑弹出框扩展组件
    modelHeader: '',
    modelBody: '',
    modelFooter: ''
  },
  tableAction: '', //指定某张表的权限(这里填写表名,默认不用填写)
  buttons: { view: [], box: [], detail: [] }, //扩展的按钮
  methods: {
    //下面这些方法可以保留也可以删除
    onInit() {
    },
    onInited() {
      //框架初始化配置后
      //如果要配置明细表,在此方法操作
      //this.detailOptions.columns.forEach(column=>{ });
    },
    searchBefore(param) {
      //界面查询前,可以给param.wheres添加查询参数
      //返回false,则不会执行查询
      return true;
    },
    searchAfter(result) {
      //查询后,result返回的查询数据,可以在显示到表格前处理表格的值
      return true;
    },
    addBefore(formData) {
      //新建保存前formData为对象,包括明细表,可以给给表单设置值,自己输出看formData的值
      return true;
    },
    updateBefore(formData) {
      //编辑保存前formData为对象,包括明细表、删除行的Id
      return true;
    },
    rowClick({ row, column, event }) {
      //查询界面点击行事件
      // this.$refs.table.$refs.table.toggleRowSelection(row); //单击行时选中当前行;
    },
    modelOpenAfter(row) {
      //点击编辑、新建按钮弹出框后,可以在此处写逻辑,如,从后台获取数据
      //(1)判断是编辑还是新建操作: this.currentAction=='Add';
      //(2)给弹出框设置默认值
      //(3)this.editFormFields.字段='xxx';
      //如果需要给下拉框设置默认值,请遍历this.editFormOptions找到字段配置对应data属性的key值
      //看不懂就把输出看:console.log(this.editFormOptions)
    }
  }
};
export default extension;
ÏîÄ¿´úÂë/WMS/WMSClient/src/router/viewGird.js
@@ -117,7 +117,16 @@
    meta: {
      keepAlive: false
    }
  }
  },
  {
    path: '/Dt_StationManager',
    name: 'Dt_StationManager',
    component: () => import('@/views/basicinfo/Dt_StationManager.vue'),
    meta: {
      keepAlive: false
    }
  },
]
export default viewgird
ÏîÄ¿´úÂë/WMS/WMSClient/src/views/basicinfo/Dt_StationManager.vue
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,99 @@
<!--
*Author:jxx
 *Contact:283591387@qq.com
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *业务请在@/extension/widesea_wms/basicinfo/Dt_AreaInfo.js此处编写
 -->
<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/basicinfo/Dt_StationManager.js";
import { ref, defineComponent } from "vue";
export default defineComponent({
    setup() {
        const table = ref({
            key: 'stationID',
            footer: "Foots",
            cnName: '站台管理',
            name: 'basicinfo/Dt_StationManager',
            url: "/Dt_StationManager/",
            sortName: "stationID"
        });
        const editFormFields = ref({
            stationID:"",
            stationType:"",
            stationPLC:"",
            roadway:"",
            stationStatus:"",
            stationRemark:"",
            stationChildCode:"",
            stationArea:"",
            stationLocation:"",
            stationStatus:""
        });
        const editFormOptions = ref([
            [
                { "title": "站台状态", "field": "stationStatus", type: "select",dataKey: "enanleEnum",data: [], },
            ]
        ]);
        const searchFormFields = ref({
            // "iD":"",
            // "toArea": "",
            // "fromArea": "",
            // "barcodeType": "",
            // "productLine": "",
            // "inLineNum": "",
            // "cacheNum":""
        });
        const searchFormOptions = ref([
            [
                { "title": "站台类型", "field": "stationType", type: "text" },
                { "title": "巷道", "field": "roadway", type: "text" },
                { "title": "站台区域", "field": "stationArea", type: "text" },
            ]
            // ,
            // [
            //     { "title": "站台节点", "field": "stationChildCode", type: "text" },
            //     { "title": "在途数量", "field": "inLineNum", type: "text" },
            //     { "title": "可缓存数量", "field": "cacheNum", type: "text" },
            // ]
        ]);
        const columns = ref([{ field: 'stationID', title: '主键', type: 'int', sort: true, hidden: true, width: 110, readonly: true, require: true, align: 'left' },
        { field: 'stationType', title: '站台类型', type: 'int', sort: true, width: 110, require: true, align: 'left', sort: true },
        { field: 'stationPLC', title: '站台PLC', type: 'string', sort: true, width: 110, align: 'left' },
        { field: 'roadway', title: '巷道', type: 'string', sort: true, width: 110, align: 'left' },
         { field: 'stationStatus', title: '站台状态', type: 'string', sort: true, width: 110, align: 'left', bind: { key: "enanleEnum", data: [] }},
        { field: 'stationRemark', title: '站台备注', type: 'string', sort: true, width: 110, align: 'left', },
        { field: 'stationChildCode', title: '站台节点', type: 'int', sort: true, width: 110, align: 'left' },
        { field: 'stationArea', title: '站台区域', type: 'int', sort: true, width: 100,  align: 'left' },
        { field: 'stationLocation', title: '堆垛机地址', type: 'int', sort: true, width: 100,  align: 'left' },
        { field: 'creater', title: '创建人', type: 'string', sort: true, width: 110, align: 'left' },
        { field: 'createDate', title: '创建时间', type: 'datetime', sort: true, width: 150, align: 'left', sort: true },
        { field: 'modifier', title: '修改人', type: 'string', sort: true, width: 100,  align: 'left' },
        { field: 'modifyDate', title: '修改时间', type: 'datetime', sort: true, width: 150,  align: 'left', sort: true },
        ]);
        const detail = ref({
            cnName: "#detailCnName",
            table: "#detailTable",
            columns: [],
            sortName: "",
            key: ""
        });
        return {
            table,
            extend,
            editFormFields,
            editFormOptions,
            searchFormFields,
            searchFormOptions,
            columns,
            detail,
        };
    },
});
</script>
ÏîÄ¿´úÂë/WMS/WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1518.61961/CodeChunks.db
Binary files differ
ÏîÄ¿´úÂë/WMS/WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1518.61961/CodeChunks.db-shm
Binary files differ
ÏîÄ¿´úÂë/WMS/WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1518.61961/CodeChunks.db-wal
Binary files differ
ÏîÄ¿´úÂë/WMS/WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1518.61961/SemanticSymbols.db
Binary files differ
ÏîÄ¿´úÂë/WMS/WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1518.61961/SemanticSymbols.db-shm
Binary files differ
ÏîÄ¿´úÂë/WMS/WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1518.61961/SemanticSymbols.db-wal
Binary files differ
ÏîÄ¿´úÂë/WMS/WMSServer/WIDESEA_WMSServer/Program.cs
@@ -120,7 +120,7 @@
var app = builder.Build();
app.UseQuartzJobMildd();
//app.UseQuartzJobMildd();
// 3、配置中间件
app.UseMiniProfiler();//性能分析器
app.ConfigureApplication();//配置文件
ÏîÄ¿´úÂë/WMS/WMSServer/WIDESEA_WMSServer/appsettings.json
@@ -10,7 +10,7 @@
  "MainDB": "DB_WIDESEA", //当前项目的主库,所对应的连接字符串的Enabled必须为true
  //连接字符串
  //"ConnectionString": "HTI6FB1H05Krd07mNm9yBCNhofW6edA5zLs9TY~MNthRYW3kn0qKbMIsGp~3yyPDF1YZUCPBQx8U0Jfk4PH~ajNFXVIwlH85M3F~v_qKYQ3CeAz3q1mLVDn8O5uWt1~3Ut2V3KRkEwYHvW2oMDN~QIDXPxDgXN0R2oTIhc9dNu7QNaLEknblqmHhjaNSSpERdDVZIgHnMKejU_SL49tralBkZmDNi0hmkbL~837j1NWe37u9fJKmv91QPb~16JsuI9uu0EvNZ06g6PuZfOSAeFH9GMMIZiketdcJG3tHelo=",
  "ConnectionString": "Data Source=.\\LIULEI;Initial Catalog=LP_WIEDSEAWMS;User ID=sa;Password=123456;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",
  "ConnectionString": "Data Source=.;Initial Catalog=LP_WIDESEAWMS;User ID=sa;Password=123456;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",
  //"ConnectionString": "Data Source=10.50.10.20;Initial Catalog=WIEDSEAWMS;User ID=sa;Password=admin@123;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",
  //跨域