From 5692e40d092d4ff6b72ddfbd053ea431c8d1d876 Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期四, 03 七月 2025 17:15:14 +0800 Subject: [PATCH] 添加任务删除功能及相关接口实现 --- CodeManagement/WMS/WIDESEA_WMSClient/src/views/widesea_wms/stock/Dt_OutTime.vue | 21 ++++++++++----------- 1 files changed, 10 insertions(+), 11 deletions(-) diff --git a/CodeManagement/WMS/WIDESEA_WMSClient/src/views/widesea_wms/stock/Dt_OutTime.vue b/CodeManagement/WMS/WIDESEA_WMSClient/src/views/widesea_wms/stock/Dt_OutTime.vue index 7cf35e1..000f539 100644 --- a/CodeManagement/WMS/WIDESEA_WMSClient/src/views/widesea_wms/stock/Dt_OutTime.vue +++ b/CodeManagement/WMS/WIDESEA_WMSClient/src/views/widesea_wms/stock/Dt_OutTime.vue @@ -7,21 +7,21 @@ <template> <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields" - :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" + :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions" :table="table" :extend="extend"> </view-grid> </template> <script> -import extend from "@/extension/widesea_wms/stock/Dt_BillGroupStock.jsx"; +import extend from "@/extension/widesea_wms/stock/Dt_OutTime.jsx"; import { ref, defineComponent } from "vue"; export default defineComponent({ setup() { const table = ref({ key: 'id', footer: "Foots", - cnName: '瓒呮椂淇℃伅', - name: 'stock/Dt_BillGroupStock', - url:"/StockInfoTimeout/", + cnName: '瓒呮椂搴撳瓨淇℃伅', + name: 'stock/StockInfoTimeout', + url: "/StockInfo/", sortName: "createDate" }); const editFormFields = ref({ @@ -49,18 +49,18 @@ { "title": "搴撲綅鍙�", "field": "locationCode", type: "text" }, { "title": "宸烽亾", "field": "roadwayNo", type: "text" }, { "title": "璐т綅鐘舵��", "field": "locationStatus", type: "select", dataKey: "LocationState", data: [] }, - { "title": "鍑哄簱鏃堕棿", "field": "outboundTime", type: "datetime"}, + { "title": "鐗╂枡缂栫爜", "field": "materielCode", type: "text"}, ] ]); - const now = new Date(); - // 鐩存帴鍑忓幓 3 灏忔椂锛堝彲鑳借法澶╋紝Date 瀵硅薄浼氳嚜鍔ㄥ鐞嗭級 - now.setHours(now.getHours() - 3); const columns = ref( [{ field: 'id', title: '搴撳瓨ID', type: 'int', width: 110, hidden: true, readonly: true, require: true, align: 'left' }, { field: 'locationCode', title: '搴撲綅', type: 'string', width: 100, align: 'left', }, { field: 'palletCode', title: '鎵樼洏鏉$爜', type: 'string', width: 110, align: 'left', }, - { field: 'isFull', title: '搴撳瓨绫诲瀷', type: 'bool', width: 80, align: 'left', bind: { key: "isFull", data: [{ key: false, value: '绌虹洏' }, { key: true, value: '瀹炵洏' }] }, }, + { field: 'isFull', title: '搴撳瓨绫诲瀷', type: 'bool', width: 60, align: 'left', bind: { key: "isFull", data: [{ key: false, value: '绌虹洏' }, { key: true, value: '瀹炵洏' }] }, }, { field: 'linedProcessFeedbackTime', title: '宸ヨ壓寮�濮嬫椂闂�', type: 'string', width: 110, align: 'left', }, + { field: 'roadwayNo', title: '宸烽亾', type: 'string', width: 60, align: 'left', sort: true }, + { field: 'materielCode', title: '鐗╂枡缂栫爜', type: 'string', width: 90, align: 'left', sort: true }, + { field: 'locationStatus', title: '璐т綅鐘舵��', type: 'int', width: 60, align: 'left', bind: { key: "LocationState", data: [] } }, { field: 'specialParameterDuration', title: '宸ヨ壓鏃堕暱', type: 'string', width: 60, align: 'left', sort: true }, { field: 'outboundTime', title: '搴斿嚭搴撴椂闂�', type: 'string', width: 110, align: 'left', sort: true }, { field: 'productionLine', title: '鐢熶骇浜х嚎', type: 'string', width: 60, align: 'left', bind: { key: "ProductionLine", data: [] } }, @@ -72,7 +72,6 @@ // { field: 'modifyDate', title: '鏈�鍚庝慨鏀规椂闂�', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, ] ); - const detail = ref({ cnName: "#detailCnName", table: "#detailTable", -- Gitblit v1.9.3