From d904a59b5d061921fab25818d7f09176e9d34b1e Mon Sep 17 00:00:00 2001 From: yusijie <ysj@hz-kingdee.com> Date: 星期五, 23 二月 2024 13:18:34 +0800 Subject: [PATCH] 质量管理、设备管理、器具管理(三大模块增加 合计行) --- WebTM/views/模治具管理/模治具仓库管理/Sc_MouldScrapOutBill.html | 16 WebTM/views/设备管理/设备投产/Sb_EquipWorkBeforeCheckBillList.html | 3 WebTM/views/设备管理/设备规程单/Sb_EquipMaintainRuleEdit.html | 8 WebTM/views/设备管理/Sb_EquipMaintainBillList.html | 27 WebTM/views/质量管理/检验方案单/QC_CheckProjectList.html | 3 WebTM/views/设备管理/设备入库/Sb_EquipStockInCheckBillList.html | 3 WebTM/views/质量管理/首件检验单/QC_FirstPieceCheckBillList.html | 21 WebTM/views/设备管理/设备入库/Sb_EquipStockInCheckBill.html | 1 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldRepairChangeBillList.html | 9 WebTM/views/设备管理/设备入库检验验收单/Sb_EquipStockInCheckBillList.html | 10 WebTM/views/质量管理/工序检验单/QC_ProcessCheckBillList.html | 10 WebTM/views/设备管理/设备备品备件/Sb_EquipSparepartsBill.html | 3 WebTM/views/质量管理/来料检验单/QC_POStockInCheckBillList.html | 5 WebTM/views/模治具管理/模治具管理/Sc_MouldMaintainBillList.html | 19 WebTM/views/质量管理/首件检验单/QC_Add_Edit_FirstPieceCheckBill.html | 8 WebTM/views/模治具管理/模治具管理/Sc_Add_MouldConkBookBillList.html | 3 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldStatusChangeBill.html | 3 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldProdOutBillEdit.html | 22 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldProdMoveBill.html | 22 WebTM/views/设备管理/设备状态/Sb_EquipStatusChangeBill.html | 3 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldLifeUseBillList.html | 11 WebTM/views/基础资料/公用基础资料/Gy_InspectValue.html | 10 WebTM/views/质量管理/巡检记录单/QC_Add_Edit_PatrolProcCheckBill.html | 8 WebTM/views/质量管理/来料检验单/QC_Add_Edit_POStockInCheckBillList.html | 5 WebTM/views/生产工序管理/增加不良评审单/QC_NoPassProdCheckBillList.html | 5 WebTM/views/模治具管理/模治具管理/Sc_MouldDotCheckBillList.html | 10 WebTM/views/模治具管理/模治具管理/Sc_Add_MouldMaintainPlanBillList.html | 10 WebTM/views/设备管理/设备投产/Sb_EquipWorkBeforeCheckBill.html | 1 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldLifeChangeBillList.html | 10 WebTM/views/采购管理/采购订单/Cg_POOrderBillEdit.html | 2 WebTM/views/设备管理/设备档案/Gy_EquipFileBillResume.html | 5 WebTM/views/模治具管理/模治具管理/Sb_MouldRepairWorkBillList.html | 27 WebTM/views/模治具管理/模治具管理/Sc_Add_MouldDotCheckPlanBillList.html | 3 WebTM/views/模治具管理/器具报表/ReportMaterialReceipt.html | 8 WebTM/views/基础资料/公用基础资料/Gy_MouldType.html | 3 WebTM/views/模治具管理/器具点检规程单/Sc_MouldDotCheckRuleBillEdit.html | 3 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldProdInBillList.html | 14 WebTM/views/基础资料/公用基础资料/Gy_InspectInstruMent.html | 10 WebTM/views/设备管理/Sb_EquipMaintainPlanBillList.html | 9 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldProdOutBillList.html | 19 WebTM/views/模治具管理/模治具仓库管理/Sc_Add_MouldProdBackBillList.html | 22 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldOtherOutBillList.html | 19 WebTM/views/模治具管理/器具报表/ReportMouldStock.html | 8 WebTM/views/设备管理/设备入库检验验收单/Sb_EquipStockInCheckBillEdit.html | 3 WebTM/views/模治具管理/器具报表/Sc_MouldMaintainBillMainReport.html | 7 WebTM/views/模治具管理/模治具仓库管理/Sc_Add_MouldLifeUseBillList.html | 9 WebTM/views/设备管理/设备维修派工单/Sb_EquipRepairSendWorkBillEdit.html | 1 WebTM/views/质量管理/产品入库检验单/QC_LastPieceCheckBill.html | 5 WebTM/views/质量管理/基础建模/Gy_ErrType.html | 10 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldRepairOutBillEdit.html | 18 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldMoveStockStepOutButNotStepInList.html | 6 WebTM/views/模治具管理/模治具管理/Sc_MouldMaintainRuleBillEdit.html | 6 WebTM/views/设备管理/Sb_EquipDotCheckPlanBillEdit.html | 6 WebTM/views/设备管理/设备状态/Sb_EquipStatusChangeBillList.html | 5 WebTM/views/模治具管理/模治具管理/Gy_MouldFileList.html | 17 WebTM/views/质量管理/检验方案单/QC_Add_CheckProject.html | 3 WebTM/views/设备管理/Sb_EquipMaintainBillEdit.html | 8 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldScrapRequestBillList.html | 13 WebTM/views/模治具管理/模治具管理/Sc_MouldMaintainRuleBillList.html | 17 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldProdInBillEdit.html | 22 WebTM/views/设备管理/设备规程单/Sb_EquipDotCheckRuleEdit.html | 3 WebTM/views/设备管理/Sb_Add_EqpConkBookBillList.html | 3 WebTM/views/基础资料/公用基础资料/Gy_QualityStd.html | 10 WebTM/views/模治具管理/器具报表/Sc_MouldRepairWorkBillReport.html | 7 WebTM/views/设备管理/设备备品备件/Sb_EquipSparepartsChangeBillList.html | 5 WebTM/views/设备管理/设备备品备件/Sb_EquipSparepartsChangeBill.html | 3 WebTM/views/基础资料/公用基础资料/Gy_CheckItem.html | 10 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldMoveStockStepInBill.html | 22 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldProdBackBillList.html | 11 WebTM/views/设备管理/Sb_EquipDotCheckBillList.html | 10 WebTM/views/质量管理/质量报表/QC_QualityTraceabilityReport.html | 12 WebTM/views/模治具管理/器具点检规程单/Sc_MouldDotCheckRuleBillList.html | 10 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldOtherOutBillEdit.html | 24 WebTM/views/品质管理/客诉处理/Crm_CustomerAppealBillList.html | 10 WebTM/views/设备管理/Sb_EqpRepairCheckBillList.html | 5 WebTM/views/质量管理/巡检记录单/QC_PatrolProcCheckBillList.html | 3 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldMoveStockStepInBillList.html | 21 WebTM/views/模治具管理/模治具管理/Sc_MouldOtherInBill.html | 22 WebTM/views/模治具管理/模治具管理/Sc_MouldDotCheckPlanBillList.html | 5 WebTM/views/质量管理/出厂检验单/QC_OutCompCheckBillList.html | 5 WebTM/views/模治具管理/模治具管理/Sc_Add_MouldMaintainBillList.html | 10 WebTM/views/设备管理/Sb_Add_EqpMaintenanceBillList.html | 8 WebTM/views/设备管理/设备规程单/Sb_EquipDotCheckRuleList.html | 13 WebTM/views/基础资料/公用基础资料/Gy_InspectMethod.html | 10 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldRepairInBillList.html | 19 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldScrapRequestBill.html | 13 WebTM/views/模治具管理/模治具管理/Sc_Add_MouldRepairCheckBillList.html | 3 WebTM/views/质量管理/质量报表/QC_FirstPassRateWeekReport.html | 1 WebTM/views/设备管理/Sb_EquipMaintainPlanBillEdit.html | 11 WebTM/views/质量管理/质量报表/QC_ProductQtyWarningReport.html | 1 WebTM/views/基础资料/公用基础资料/Gy_EquipType.html | 3 WebTM/views/模治具管理/模治具管理/Sc_MouldMaintainPlanBillList.html | 13 WebTM/views/设备管理/Sb_Add_EqpRepairCheckBillList.html | 3 WebTM/views/模治具管理/模治具仓库管理/Sc_Add_MouldLifeChangeBillList.html | 9 WebTM/views/设备管理/Sb_EqpMaintenanceBillList.html | 10 WebTM/views/质量管理/出厂检验单/QC_OutCompCheckBill.html | 5 WebTM/views/模治具管理/模治具管理/Sc_MouldOtherInBillList.html | 19 WebTM/views/设备管理/设备投产检验验收单/Sb_EquipWorkBeforeCheckBillEdit.html | 3 WebTM/views/质量管理/质量报表/QC_FirstPassRateReport.html | 1 WebTM/views/模治具管理/模治具管理/Sc_MouldConkBookBillList.html | 10 WebTM/views/生产工序管理/增加不良评审单/QC_Add_NoPassProdCheckBill.html | 5 WebTM/views/模治具管理/模治具管理/Sc_MouldRepairCheckBillList.html | 5 WebTM/views/设备管理/设备备品备件/Sb_EquipSparepartsBillList.html | 5 WebTM/views/设备管理/Sb_EquipDotCheckPlanBillList.html | 5 WebTM/views/设备管理/Sb_EquipDotCheckBillEdit.html | 3 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldRepairOutBillList.html | 19 WebTM/views/生产管理/异常反馈单/Sc_MESExecptFeedBackBillList.html | 10 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldProdMoveBillList.html | 19 WebTM/views/模治具管理/模治具管理/Sc_Add_MouldDotCheckBillList.html | 3 WebTM/views/设备管理/设备维修派工单/Sb_EquipRepairSendWorkBillList.html | 7 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldStatusChangeBillList.html | 5 WebTM/views/质量管理/产品入库检验单/QC_LastPieceCheckBillList.html | 5 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldScrapInBill.html | 14 WebTM/views/基础资料/基础资料/Gy_StockCheckItemList.html | 3 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldScrapInBillList.html | 13 WebTM/views/基础资料/公用基础资料/Gy_QCCheckClass.html | 11 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldRepairInBillEdit.html | 18 WebTM/views/模治具管理/模治具管理/Gy_MouldFileResume.html | 25 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldMoveStockStepOutBill.html | 22 WebTM/views/模治具管理/器具维修派工单/Sc_MouldRepairSendWorkBillEdit.html | 1 WebTM/views/基础资料/公用基础资料/Gy_InspectBasis.html | 10 WebTM/views/模治具管理/器具维修派工单/Sc_MouldRepairSendWorkBillList.html | 7 WebTM/views/质量管理/工序检验单/QC_ProcessCheckBill.html | 6 WebTM/views/模治具管理/器具报表/Sc_MouldConkBookBillMainReport.html | 7 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldScrapOutBillList.html | 9 WebTM/views/模治具管理/模治具仓库管理/Sc_MouldMoveStockStepOutBillList.html | 19 WebTM/views/设备管理/Sb_EqpConkBookBillList.html | 10 WebTM/views/基础资料/基础资料/Sc_MouldStockBillMain_Temp.html | 5 WebTM/views/模治具管理/器具报表/Sc_MouldAvailableList.html | 8 WebTM/views/模治具管理/模治具管理/Sb_Add_MouldRepairWorkBillList.html | 10 WebTM/views/设备管理/设备规程单/Sb_EquipMaintainRuleList.html | 10 WebTM/views/模治具管理/器具报表/ReportInventoryAccount.html | 4 WebTM/views/质量管理/质量报表/QC_ProdBadReasonStatistics.html | 1 WebTM/views/设备管理/设备档案/Gy_EquipFileMainList.html | 3 WebTM/views/质量管理/质量报表/QC_ProdBadReasonStatistics_Sum.html | 1 WebTM/views/设备管理/设备投产检验验收单/Sb_EquipWorkBeforeCheckBillList.html | 10 WebTM/views/基础资料/基础资料/InventoryAnalysis.html | 9 137 files changed, 851 insertions(+), 419 deletions(-) diff --git "a/WebTM/views/\345\223\201\350\264\250\347\256\241\347\220\206/\345\256\242\350\257\211\345\244\204\347\220\206/Crm_CustomerAppealBillList.html" "b/WebTM/views/\345\223\201\350\264\250\347\256\241\347\220\206/\345\256\242\350\257\211\345\244\204\347\220\206/Crm_CustomerAppealBillList.html" index 41a0584..8afac0c 100644 --- "a/WebTM/views/\345\223\201\350\264\250\347\256\241\347\220\206/\345\256\242\350\257\211\345\244\204\347\220\206/Crm_CustomerAppealBillList.html" +++ "b/WebTM/views/\345\223\201\350\264\250\347\256\241\347\220\206/\345\256\242\350\257\211\345\244\204\347\220\206/Crm_CustomerAppealBillList.html" @@ -278,6 +278,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , height: 'full-50' , page: true //, cellMinWidth: 90 @@ -308,7 +309,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') { if ($.inArray(data[i].name, titleData) > -1) { @@ -320,6 +321,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd HH:mm:ss')}}</div>", width:120 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120 }); } diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_CheckItem.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_CheckItem.html" index 9ea8b09..47760ff 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_CheckItem.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_CheckItem.html" @@ -270,7 +270,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') { if ($.inArray(data[i].name, titleData) > -1) { @@ -282,6 +282,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -292,6 +299,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , cols: [col] , data: data1.data , height: 'full-120' diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_EquipType.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_EquipType.html" index 5056a66..c7fd8fc 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_EquipType.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_EquipType.html" @@ -178,6 +178,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , limits: [50, 500, 5000, 50000] , limit: 50 , cellMinWidth: 90 @@ -185,7 +186,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } , { field: 'HParentID', title: 'HParentID', sort: true, hide: true } , { field: 'HNumber', title: '浠g爜', width: 200, sort: true} diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_InspectBasis.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_InspectBasis.html" index 31a0819..73c7f47 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_InspectBasis.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_InspectBasis.html" @@ -246,7 +246,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') { if ($.inArray(data[i].name, titleData) > -1) { @@ -258,6 +258,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -268,6 +275,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , cols: [col] , data: data1.data , height: 'full-80' diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_InspectInstruMent.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_InspectInstruMent.html" index 49a5643..923cb03 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_InspectInstruMent.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_InspectInstruMent.html" @@ -264,7 +264,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') { if ($.inArray(data[i].name, titleData) > -1) { @@ -276,6 +276,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -286,6 +293,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , cols: [col] , data: data1.data , height: 'full-80' diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_InspectMethod.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_InspectMethod.html" index ce32e30..eae7024 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_InspectMethod.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_InspectMethod.html" @@ -265,7 +265,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'}); for (var i = 0; i < data.length; i++) { // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') { if ($.inArray(data[i].name, titleData) > -1) { @@ -277,6 +277,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -287,6 +294,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , cols: [col] , data: data1.data , height: 'full-80' diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_InspectValue.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_InspectValue.html" index 24427e2..a4fc4c0 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_InspectValue.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_InspectValue.html" @@ -267,7 +267,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'}); for (var i = 0; i < data.length; i++) { // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') { if ($.inArray(data[i].name, titleData) > -1) { @@ -279,6 +279,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -289,6 +296,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , cols: [col] , data: data1.data , height: 'full-80' diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MouldType.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MouldType.html" index c91768e..1d60c1b 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MouldType.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MouldType.html" @@ -156,6 +156,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , height: 'full-50' , page: true , limits: [50, 500, 5000, 50000] @@ -165,7 +166,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'HItemID', title: 'HItemID', sort: true, hide: true ,sort:true} , { field: 'HParentID', title: 'HParentID', sort: true, hide: true, sort: true} , { field: 'HNumber', title: '浠g爜', width: 200, sort: true} diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_QCCheckClass.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_QCCheckClass.html" index 2aa472b..1688512 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_QCCheckClass.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_QCCheckClass.html" @@ -305,6 +305,7 @@ //, toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , limits: [50, 500, 5000, 50000] , limit: 50 , cellMinWidth: 90 @@ -341,7 +342,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') { if ($.inArray(data[i].name, titleData) > -1) { @@ -353,6 +354,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -363,6 +371,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , cols: [col] , data: data1.data , height: 'full-130' diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_QualityStd.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_QualityStd.html" index 384d8ef..f2d0194 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_QualityStd.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_QualityStd.html" @@ -265,7 +265,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') { if ($.inArray(data[i].name, titleData) > -1) { @@ -277,6 +277,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -287,6 +294,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , cols: [col] , data: data1.data , height: 'full-80' diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockCheckItemList.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockCheckItemList.html" index a5e9674..3e56c4e 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockCheckItemList.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockCheckItemList.html" @@ -128,6 +128,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , limits: [50, 500, 5000, 50000] , limit: 50 , cellMinWidth: 90 @@ -135,7 +136,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hitemid', title: 'HItemID', sort: true, hide: true } , { field: '鐩樼偣鏂规浠g爜', title: '鐩樼偣鏂规浠g爜', sort: true} , { field: '鐩樼偣鏂规', title: '鐩樼偣鏂规', sort: true} diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/InventoryAnalysis.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/InventoryAnalysis.html" index 6a55a1a..99d775c 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/InventoryAnalysis.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/InventoryAnalysis.html" @@ -203,7 +203,7 @@ var option6 = []; var option7 = []; var col = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'HItemID', title: 'HItemID', width: 200, hide: true, sort: true} , { field: 'HBarCode', title: '鍣ㄥ叿鏉$爜', width: 200, sort: true} , { field: 'HMouldNo', title: '鍣ㄥ叿缂栧彿', width: 200, sort: true} @@ -545,6 +545,7 @@ , toolbar: '#toolbarDemo1' , height: '550' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -566,6 +567,7 @@ , toolbar: '#toolbarDemo2' , height: '550' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -584,6 +586,7 @@ , toolbar: '#toolbarDemo3' , height: '550' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -602,6 +605,7 @@ , toolbar: '#toolbarDemo4' , height: '550' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -620,6 +624,7 @@ , toolbar: '#toolbarDemo5' , height: '550' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -638,6 +643,7 @@ , toolbar: '#toolbarDemo6' , height: '550' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -656,6 +662,7 @@ , toolbar: '#toolbarDemo7' , height: '550' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_MouldStockBillMain_Temp.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_MouldStockBillMain_Temp.html" index 3708c5e..3e5e0c5 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_MouldStockBillMain_Temp.html" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Sc_MouldStockBillMain_Temp.html" @@ -136,6 +136,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , limits: [50, 500, 5000, 50000] , limit: 50 , cellMinWidth: 90 @@ -143,7 +144,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { field: 'hitemid', title: 'HItemID', sort: true, hide: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true} , { field: '鐩樼偣鏂规', title: '鐩樼偣鏂规', sort: true} @@ -151,7 +152,7 @@ , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', sort: true} , { field: '鐗╂枡瑙勬牸', title: '鐗╂枡瑙勬牸', sort: true} , { field: '鍣ㄥ叿鏉$爜', title: '鍣ㄥ叿鏉$爜', sort: true} - , { field: '鏁伴噺', title: '鏁伴噺', sort: true} + , { field: '鏁伴噺', title: '鏁伴噺', sort: true, totalRow: true} , { field: '鐩樼偣鍗曚綅', title: '鐩樼偣缁勭粐', sort: true} , { field: '瀹為檯浣嶇疆绫诲瀷', title: '瀹為檯浣嶇疆绫诲瀷', sort: true} , { field: '瀹為檯浣嶇疆', title: '瀹為檯浣嶇疆', sort: true} diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/ReportInventoryAccount.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/ReportInventoryAccount.html" index de8b744..690ab36 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/ReportInventoryAccount.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/ReportInventoryAccount.html" @@ -226,7 +226,11 @@ else { switch (data[i].Type) { //int + case 'long': case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': cols_arr[0][i + 1] = { field: data[i].id, title: data[i].name, align: 'center', totalRow: true, sort: true }; break; //Decimal diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/ReportMaterialReceipt.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/ReportMaterialReceipt.html" index 880451c..9a6662e 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/ReportMaterialReceipt.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/ReportMaterialReceipt.html" @@ -344,7 +344,11 @@ else { switch (data[i].Type) { //int + case 'long': case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': cols_arr[0][i + 1] = { field: data[i].id, title: data[i].name, align: 'center', totalRow: true, sort: true, width: 200 }; break; //Decimal @@ -401,7 +405,11 @@ else { switch (data[i].Type) { //int + case 'long': case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': cols_arr1[0][i + 1] = { field: data[i].id, title: data[i].name, align: 'center', totalRow: true, sort: true, width: 200}; break; //Decimal diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/ReportMouldStock.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/ReportMouldStock.html" index aa0425f..cdf0924 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/ReportMouldStock.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/ReportMouldStock.html" @@ -320,7 +320,11 @@ else { switch (data[i].Type) { //int + case 'long': case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': cols_arr[0][i + 1] = { field: data[i].id, title: data[i].name, align: 'center', totalRow: true, sort: true }; break; //Decimal @@ -376,7 +380,11 @@ else { switch (data[i].Type) { //int + case 'long': case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': cols_arr1[0][i + 1] = { field: data[i].id, title: data[i].name, align: 'center', totalRow: true, sort: true }; break; //Decimal diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldAvailableList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldAvailableList.html" index fcd7b44..1444375 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldAvailableList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldAvailableList.html" @@ -237,7 +237,11 @@ else { switch (data[i].Type) { //int + case 'long': case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': cols_arr[0][i + 1] = { field: data[i].id, title: data[i].name, align: 'center', totalRow: true, sort: true }; break; //Decimal @@ -293,7 +297,11 @@ else { switch (data[i].Type) { //int + case 'long': case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': cols_arr1[0][i + 1] = { field: data[i].id, title: data[i].name, align: 'center', totalRow: true, sort: true }; break; //Decimal diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldConkBookBillMainReport.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldConkBookBillMainReport.html" index 8afa557..fe1d5c6 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldConkBookBillMainReport.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldConkBookBillMainReport.html" @@ -564,6 +564,13 @@ case 'DateTime': col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 120 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, totalRow: true , width: 120 }); } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldMaintainBillMainReport.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldMaintainBillMainReport.html" index 179407d..11d0b3b 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldMaintainBillMainReport.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldMaintainBillMainReport.html" @@ -564,6 +564,13 @@ case 'DateTime': col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 120 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, totalRow: true , width: 120 }); } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldRepairWorkBillReport.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldRepairWorkBillReport.html" index 63ec397..04f1855 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldRepairWorkBillReport.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\346\212\245\350\241\250/Sc_MouldRepairWorkBillReport.html" @@ -564,6 +564,13 @@ case 'DateTime': col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 120 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, totalRow: true , width: 120 }); } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillEdit.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillEdit.html" index 4855fbb..477195e 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillEdit.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillEdit.html" @@ -355,7 +355,7 @@ function Table() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HDotCheckItemID', title: '鐐规椤圭洰ID', edit: 'text', hide: true } , { field: 'HDotCheckItemNumber', title: '鐐规椤圭洰浠g爜', edit: 'text', event: 'HDotCheckItemNumber' } @@ -373,6 +373,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillList.html" index b40b211..c6418bb 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\202\271\346\243\200\350\247\204\347\250\213\345\215\225/Sc_MouldDotCheckRuleBillList.html" @@ -212,7 +212,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'}); for (var i = 0; i < data.length; i++) { if ($.inArray(data[i].name, titleData) > -1 ) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� @@ -223,6 +223,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -236,6 +243,7 @@ , cols: [col] , data: data1.data , height: 750 + , totalRow: true , page: true , cellMinWidth: 90 , limit: 50 diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sc_MouldRepairSendWorkBillEdit.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sc_MouldRepairSendWorkBillEdit.html" index e0c4051..3be301c 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sc_MouldRepairSendWorkBillEdit.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sc_MouldRepairSendWorkBillEdit.html" @@ -316,6 +316,7 @@ , toolbar: '#toolbarDemo' , limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲� , cellMinWidth: 90 + , totalRow: true ,height:400 , cols: [[ //琛ㄥご { type: 'checkbox', totalRowText: '鍚堣琛�' } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sc_MouldRepairSendWorkBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sc_MouldRepairSendWorkBillList.html" index b26dcd6..56d0643 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sc_MouldRepairSendWorkBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\345\231\250\345\205\267\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sc_MouldRepairSendWorkBillList.html" @@ -297,6 +297,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -304,7 +305,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: 'hmainid', sort: true, hide: true} , { field: '鏃ユ湡', title: '鏃ユ湡', width: 200, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 200, sort: true } @@ -320,8 +321,8 @@ , { field: '缁翠慨缁撴潫鏃ユ湡', title: '缁翠慨缁撴潫鏃ユ湡', width: 200, templet: "<div>{{d.缁翠慨缁撴潫鏃ユ湡 ==null ?'':layui.util.toDateString(d.缁翠慨缁撴潫鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '缁翠慨鍐呭', title: '缁翠慨鍐呭', sort: true } , { field: '鏃堕棿鍗曚綅', title: '鏃堕棿鍗曚綅', sort: true } - , { field: '璁″垝缁翠慨宸ユ椂', title: '璁″垝缁翠慨宸ユ椂', sort: true } - , { field: '瀹為檯缁翠慨宸ユ椂', title: '瀹為檯缁翠慨宸ユ椂', sort: true } + , { field: '璁″垝缁翠慨宸ユ椂', title: '璁″垝缁翠慨宸ユ椂', sort: true, totalRow: true } + , { field: '瀹為檯缁翠慨宸ユ椂', title: '瀹為檯缁翠慨宸ユ椂', sort: true, totalRow: true } , { field: '缁翠慨浜轰唬鐮�', title: '缁翠慨浜轰唬鐮�', sort: true } , { field: '缁翠慨浜�', title: '缁翠慨浜�', sort: true } , { field: '璐熻矗浜轰唬鐮�', title: '璐熻矗浜轰唬鐮�', sort: true } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_Add_MouldLifeChangeBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_Add_MouldLifeChangeBillList.html" index 13b3597..7d13abb 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_Add_MouldLifeChangeBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_Add_MouldLifeChangeBillList.html" @@ -195,10 +195,11 @@ elem: '#mainTable' , toolbar: '#toolbarDemo' , height: 500 + , totalRow: true //,url: '/demo/table/user/' //鏁版嵁鎺ュ彛 , page: true //寮�鍚垎椤� , cols: [[ //琛ㄥご - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100, hide: true } , { field: 'HMaterCode', title: '鍣ㄥ叿浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } @@ -214,9 +215,9 @@ , { field: 'HUnitID', title: 'HUnitID', edit: 'text', width: 100, hide: true } , { field: 'HUnitCode', title: '璁¢噺鍗曚綅浠g爜', edit: 'text', event: 'HUnitCode', width: 100 } , { field: 'HUnitName', title: '璁¢噺鍗曚綅', width: 100 } - , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100 } - , { field: 'HLeaveLife', title: '鍘熷墿浣欏鍛�', edit: 'text', width: 100 } - , { field: 'HNewLeaveLife', title: '鏂板墿浣欏鍛�', edit: 'text', width: 100 } + , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HLeaveLife', title: '鍘熷墿浣欏鍛�', edit: 'text', width: 100, totalRow: true } + , { field: 'HNewLeaveLife', title: '鏂板墿浣欏鍛�', edit: 'text', width: , totalRow: true } , { field: 'HRemark', title: '琛ㄤ綋澶囨敞', edit: 'text', width: 100 } ]] , limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲� diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_Add_MouldLifeUseBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_Add_MouldLifeUseBillList.html" index c2d3a33..a3533eb 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_Add_MouldLifeUseBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_Add_MouldLifeUseBillList.html" @@ -484,6 +484,7 @@ , limit: 500 , height: 500 , loading: false + , totalRow: true , cols: [[ //琛ㄥご { type: 'checkbox', totalRowText: '鍚堣琛�' } , { type: 'numbers', title: '搴忓彿', totalRow: true } @@ -491,10 +492,10 @@ , { field: '鍣ㄥ叿', title: '鍣ㄥ叿', edit: 'text', event: "HMaterID" }//f7 , { field: 'HUnitID', title: 'HUnitID ', width: 100, hide: true } , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅', edit: 'text', event: "HUnitID" }//f7 - , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text'} - , { field: 'HLeaveLife', title: '鍘熷墿浣欏鍛�', edit: 'text'}//f7 - , { field: 'HUseLife', title: '鏈鑰楃敤', edit: 'text' }//f7 - , { field: 'HNewLeaveLife', title: '鏈鍓╀綑瀵垮懡' }//f7 + , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', totalRow: true} + , { field: 'HLeaveLife', title: '鍘熷墿浣欏鍛�', edit: 'text', totalRow: true}//f7 + , { field: 'HUseLife', title: '鏈鑰楃敤', edit: 'text', totalRow: true}//f7 + , { field: 'HNewLeaveLife', title: '鏈鍓╀綑瀵垮懡', totalRow: true}//f7 , { field: 'HRemark', title: '琛ㄤ綋澶囨敞', edit: 'text' }//f7 , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo', width: 80 } ]] diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_Add_MouldProdBackBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_Add_MouldProdBackBillList.html" index 4b0288f..2770c24 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_Add_MouldProdBackBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_Add_MouldProdBackBillList.html" @@ -657,7 +657,7 @@ //鍒濆鍖栬〃鏍� function set_InitGrid() { columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100, hide: true } , { field: 'HMaterCode', title: '鍣ㄥ叿浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } @@ -667,13 +667,13 @@ , { field: 'HUnitID', title: 'HUnitID', edit: 'text', width: 100, hide: true} , { field: 'HUnitCode', title: '璁¢噺鍗曚綅浠g爜', edit: 'text', event: 'HUnitCode', width: 100 } , { field: 'HUnitName', title: '璁¢噺鍗曚綅', edit: 'text', width: 100 } - , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100 } - , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100 } - , { field: 'HUseLife', title: '绱Н浣跨敤瀵垮懡', edit: 'text', width: 100 } - , { field: 'HQtyMust', title: '搴斿彂鏁伴噺', edit: 'text', width: 100 } - , { field: 'HQty', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100 } - , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100 } - , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100 } + , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HUseLife', title: '绱Н浣跨敤瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HQtyMust', title: '搴斿彂鏁伴噺', edit: 'text', width: 100, totalRow: true } + , { field: 'HQty', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100, totalRow: true} + , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100, totalRow: true} + , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100, totalRow: true} , { field: 'HWHID', title: 'HWHID', edit: 'text', width: 100, hide: true } , { field: 'HWHCode', title: '鍙戞枡浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 100 } , { field: 'HWHName', title: '鍙戞枡浠撳簱', edit: 'text', width: 100 } @@ -689,6 +689,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] @@ -701,14 +702,14 @@ function set_CountGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', edit: 'text', width: 100 } , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', edit: 'text', width: 100 } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', edit: 'text', width: 100 } , { field: '鎵规', title: '鎵规', edit: 'text', width: 100 } - , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100 } + , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100, totalRow: true } , { field: 'HWHSonID', title: 'HWHID', edit: 'text', width: 100, hide: true } , { field: '鍙戞枡浠撳簱浠g爜', title: '鍙戞枡浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 120 } , { field: '鍙戞枡浠撳簱', title: '鍙戞枡浠撳簱鍚嶇О', edit: 'text', width: 120 } @@ -719,6 +720,7 @@ , elem: '#mainTable1' , height: 500 , page: true + , totalRow: true , limit: 500 , cellMinWidth: 120 , height: 500 diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldLifeChangeBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldLifeChangeBillList.html" index 05ff309..4bb6580 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldLifeChangeBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldLifeChangeBillList.html" @@ -353,6 +353,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -360,7 +367,7 @@ } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.unshift({ type: 'checkbox', fixed: 'left' }) + col.unshift({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }) //鍔ㄦ�佹樉绀哄垪鍚� option = { elem: '#mainTable' @@ -369,6 +376,7 @@ , data: data1.data , height: 800 , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldLifeUseBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldLifeUseBillList.html" index f609222..45555e3 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldLifeUseBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldLifeUseBillList.html" @@ -182,6 +182,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -189,7 +190,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'HMainID', title: 'HMainID', sort: true, width: 165, hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 165} , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170 } @@ -197,10 +198,10 @@ , { field: '璐熻矗浜�', title: '璐熻矗浜�', sort: true, width: 165 } , { field: 'HDeptID', title: 'HDeptID', sort: true, width: 165, hide: true } , { field: '閮ㄩ棬', title: '閮ㄩ棬', sort: true, width: 165 } - , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', sort: true, width: 165 } - , { field: '鍘熷墿浣欏鍛�', title: '鍘熷墿浣欏鍛�', sort: true, width: 165 } - , { field: '鏈鑰楃敤', title: '涓婃鑰楃敤', sort: true, width: 165 } - , { field: '鏈鍓╀綑瀵垮懡', title: '涓婃鍓╀綑瀵垮懡', sort: true, width: 165 } + , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', sort: true, width: 165, totalRow: true } + , { field: '鍘熷墿浣欏鍛�', title: '鍘熷墿浣欏鍛�', sort: true, width: 165, totalRow: true } + , { field: '鏈鑰楃敤', title: '涓婃鑰楃敤', sort: true, width: 165, totalRow: true } + , { field: '鏈鍓╀綑瀵垮懡', title: '涓婃鍓╀綑瀵垮懡', sort: true, width: 165, totalRow: true } , { field: '璋冩暣鍘熷洜', title: '璋冩暣鍘熷洜', sort: true, width: 165 } , { field: '鎽樿', title: '鎽樿', sort: true, width: 165 } , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞' } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepInBill.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepInBill.html" index efeb4df..82597f6 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepInBill.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepInBill.html" @@ -246,8 +246,9 @@ , limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲� //,url: '/demo/table/user/' //鏁版嵁鎺ュ彛 , page: true //寮�鍚垎椤� + , totalRow: true , cols: [[ //琛ㄥご - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100, hide: true } , { field: 'HMaterCode', title: '鍣ㄥ叿浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } @@ -257,13 +258,13 @@ , { field: 'HUnitID', title: 'HUnitID', edit: 'text', width: 100, hide: true } , { field: 'HUnitCode', title: '璁¢噺鍗曚綅浠g爜', edit: 'text', event: 'HUnitCode', width: 100 } , { field: 'HUnitName', title: '璁¢噺鍗曚綅', edit: 'text', width: 100 } - , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100 } - , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100 } - , { field: 'HUseLife', title: '绱Н浣跨敤瀵垮懡', edit: 'text', width: 100 } - , { field: 'HQtyMust', title: '搴斿彂鏁伴噺', edit: 'text', width: 100 } - , { field: 'HQty', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100 } - , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100 } - , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100 } + , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100, totalRow: true} + , { field: 'HUseLife', title: '绱Н浣跨敤瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HQtyMust', title: '搴斿彂鏁伴噺', edit: 'text', width: 100, totalRow: true} + , { field: 'HQty', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100, totalRow: true} + , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100, totalRow: true } + , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100, totalRow: true } , { field: 'HStockOrgID', title: 'HStockOrgID', width: 100, hide: true } , { field: 'HOtherOrgID', title: 'HOtherOrgID', width: 100, hide: true } , { field: 'HOtherOrgCode', title: '璋冨嚭缁勭粐浠g爜', edit: 'text', event: 'HOtherOrgCode', width: 120 } @@ -290,15 +291,16 @@ , limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲� //,url: '/demo/table/user/' //鏁版嵁鎺ュ彛 , page: true //寮�鍚垎椤� + , totalRow: true , cols: [[ //琛ㄥご - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', edit: 'text', width: 100 } , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', edit: 'text', width: 100 } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', edit: 'text', width: 100 } , { field: '鎵规', title: '鎵规', edit: 'text', width: 100 } - , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100 } + , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100, totalRow: true } , { field: 'hwhid', title: 'HWHID', edit: 'text', width: 100, hide: true } , { field: '璋冨叆浠撳簱浠g爜', title: '璋冨叆浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 120 } , { field: '璋冨叆浠撳簱', title: '璋冨叆浠撳簱', edit: 'text', width: 120 } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepInBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepInBillList.html" index f200bb3..d04ea40 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepInBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepInBillList.html" @@ -184,6 +184,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limits: [50, 500, 5000, 20000] , limit: 50 @@ -191,7 +192,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { field: 'hmainid', title: '鍗曟嵁ID', hide: true, sort: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 125, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 195, sort: true } @@ -234,15 +235,15 @@ , { field: 'HSCSPID', title: 'HSCSPID', width: 200, hide: true, sort: true } , { field: '璋冨嚭浠撲綅浠g爜', title: '璋冨嚭浠撲綅浠g爜', width: 125, hide: true, sort: true } , { field: '璋冨嚭浠撲綅', title: '璋冨嚭浠撲綅', width: 125, hide: true, sort: true } - , { field: '搴斿彂鏁伴噺', title: '搴斿彂鏁伴噺', width: 125, sort: true } - , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', width: 125, sort: true } - , { field: '鍗曚环', title: '鍗曚环', width: 125, sort: true } - , { field: '閲戦', title: '閲戦', width: 125, sort: true } - , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 125, sort: true } - , { field: '绱Н浣跨敤瀵垮懡', title: '绱Н浣跨敤瀵垮懡', width: 125, sort: true } - , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 125, sort: true } - , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 125, sort: true } - , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 125, sort: true } + , { field: '搴斿彂鏁伴噺', title: '搴斿彂鏁伴噺', width: 125, sort: true, totalRow: true } + , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', width: 125, sort: true, totalRow: true} + , { field: '鍗曚环', title: '鍗曚环', width: 125, sort: true, totalRow: true } + , { field: '閲戦', title: '閲戦', width: 125, sort: true, totalRow: true} + , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 125, sort: true, totalRow: true } + , { field: '绱Н浣跨敤瀵垮懡', title: '绱Н浣跨敤瀵垮懡', width: 125, sort: true, totalRow: true } + , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 125, sort: true, totalRow: true } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 125, sort: true, totalRow: true } + , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 125, sort: true, totalRow: true } , { field: '绾㈣摑鍗曟爣璁�', title: '绾㈣摑鍗曟爣璁�', width: 125, sort: true } , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 125, sort: true } , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 200, templet: "<div>{{d.鍒跺崟鏃ユ湡 ==null ?'':layui.util.toDateString(d.鍒跺崟鏃ユ湡, 'yyyy-MM-dd HH:mm:ss')}}</div>", sort: true } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepOutBill.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepOutBill.html" index 94fc8d3..061a6ec 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepOutBill.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepOutBill.html" @@ -234,8 +234,9 @@ , height: 500 //,url: '/demo/table/user/' //鏁版嵁鎺ュ彛 , page: true //寮�鍚垎椤� + , totalRow: true , cols: [[ //琛ㄥご - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100, hide: true } , { field: 'HMaterCode', title: '鍣ㄥ叿浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } @@ -245,13 +246,13 @@ , { field: 'HUnitID', title: 'HUnitID', edit: 'text', width: 100, hide: true } , { field: 'HUnitCode', title: '璁¢噺鍗曚綅浠g爜', edit: 'text', event: 'HUnitCode', width: 100 } , { field: 'HUnitName', title: '璁¢噺鍗曚綅', edit: 'text', width: 100 } - , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100 } - , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100 } - , { field: 'HUseLife', title: '绱浣跨敤瀵垮懡', edit: 'text', width: 120 } - , { field: 'HQtyMust', title: '搴斿彂鏁伴噺', edit: 'text', width: 100 } - , { field: 'HQty', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100 } - , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100 } - , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100 } + , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HUseLife', title: '绱浣跨敤瀵垮懡', edit: 'text', width: 120, totalRow: true } + , { field: 'HQtyMust', title: '搴斿彂鏁伴噺', edit: 'text', width: 100, totalRow: true } + , { field: 'HQty', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100, totalRow: true} + , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100, totalRow: true } + , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100, totalRow: true } , { field: 'HOtherOrgID', title: 'HOtherOrgID', width: 100, hide: true } , { field: 'HStockOrgID', title: 'HStockOrgID', width: 100, hide: true } , { field: 'HStockOrgCode', title: '璋冨叆缁勭粐浠g爜', edit: 'text', event: 'HStockOrgCode', width: 120 } @@ -277,15 +278,16 @@ elem: '#mainTable1' , height: 500 , page: true //寮�鍚垎椤� + , totalRow: true , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', edit: 'text', width: 100 } , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', edit: 'text', width: 100 } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', edit: 'text', width: 100 } , { field: '鎵规', title: '鎵规', edit: 'text', width: 100 } - , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100 } + , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100, totalRow: true} , { field: 'hscwhid', title: 'hscwhid', edit: 'text', width: 100, hide: true } , { field: '璋冨嚭浠撳簱浠g爜', title: '璋冨嚭浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 120 } , { field: '璋冨嚭浠撳簱', title: '璋冨嚭浠撳簱', edit: 'text', width: 120 } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepOutBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepOutBillList.html" index a09361f..0e0805f 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepOutBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepOutBillList.html" @@ -184,6 +184,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limits: [50, 500, 5000, 20000] , limit: 50 @@ -191,7 +192,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { field: 'hmainid', title: '鍗曟嵁ID', hide: true, sort: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 125, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd}}</div>", sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 195, sort: true } @@ -234,14 +235,14 @@ , { field: 'HSCSPID', title: 'HSCSPID', width: 200, hide: true, sort: true } , { field: '璋冨嚭浠撲綅浠g爜', title: '璋冨嚭浠撲綅浠g爜', width: 125, hide: true, sort: true } , { field: '璋冨嚭浠撲綅', title: '璋冨嚭浠撲綅', width: 125, hide: true, sort: true } - , { field: '搴斿彂鏁伴噺', title: '搴斿彂鏁伴噺', width: 125, sort: true } - , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', width: 125, sort: true } - , { field: '鍗曚环', title: '鍗曚环', width: 125, sort: true } - , { field: '閲戦', title: '閲戦', width: 125, sort: true } - , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 125, sort: true } - , { field: '绱Н浣跨敤瀵垮懡', title: '绱Н浣跨敤瀵垮懡', width: 125, sort: true } - , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 125, sort: true } - , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 125, sort: true } + , { field: '搴斿彂鏁伴噺', title: '搴斿彂鏁伴噺', width: 125, sort: true, totalRow: true } + , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', width: 125, sort: true, totalRow: true } + , { field: '鍗曚环', title: '鍗曚环', width: 125, sort: true, totalRow: true } + , { field: '閲戦', title: '閲戦', width: 125, sort: true, totalRow: true} + , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 125, sort: true, totalRow: true} + , { field: '绱Н浣跨敤瀵垮懡', title: '绱Н浣跨敤瀵垮懡', width: 125, sort: true, totalRow: true} + , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 125, sort: true, totalRow: true } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 125, sort: true, totalRow: true} , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 125, sort: true } , { field: '绾㈣摑鍗曟爣璁�', title: '绾㈣摑鍗曟爣璁�', width: 125, sort: true } , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 125, sort: true } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepOutButNotStepInList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepOutButNotStepInList.html" index ee9a22a..afff29f 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepOutButNotStepInList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldMoveStockStepOutButNotStepInList.html" @@ -179,9 +179,9 @@ , { field: '鍣ㄥ叿鏉$爜', title: '鍣ㄥ叿鏉$爜', width: 200 } , { field: '搴撳瓨鐘舵��', title: '搴撳瓨鐘舵��', width: 200 } , { field: '搴撳瓨鍗曚綅', title: '搴撳瓨鍗曚綅', width: 125 } - , { field: '璋冨嚭鏁伴噺', title: '璋冨嚭鏁伴噺', width: 200 } - , { field: '璋冨叆鏁伴噺', title: '璋冨叆鏁伴噺', width: 200 } - , { field: '鏈叧鑱旇皟鍏ユ暟閲�', title: '鏈叧鑱旇皟鍏ユ暟閲�', width: 200 } + , { field: '璋冨嚭鏁伴噺', title: '璋冨嚭鏁伴噺', width: 200, totalRow: true } + , { field: '璋冨叆鏁伴噺', title: '璋冨叆鏁伴噺', width: 200, totalRow: true } + , { field: '鏈叧鑱旇皟鍏ユ暟閲�', title: '鏈叧鑱旇皟鍏ユ暟閲�', width: 200, totalRow: true } ]; option = { elem: '#mainTable' diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldOtherOutBillEdit.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldOtherOutBillEdit.html" index b858f21..8493d8e 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldOtherOutBillEdit.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldOtherOutBillEdit.html" @@ -592,7 +592,7 @@ function Table() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100, hide: true } , { field: 'HMaterCode', title: '鍣ㄥ叿浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } @@ -602,13 +602,13 @@ , { field: 'HUnitID', title: 'HUnitID', edit: 'text', width: 100, hide: true } , { field: 'HUnitCode', title: '璁¢噺鍗曚綅浠g爜', edit: 'text', event: 'HUnitCode', width: 100 } , { field: 'HUnitName', title: '璁¢噺鍗曚綅', edit: 'text', width: 100 } - , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100 } - , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100 } - , { field: 'HUseLife', title: '绱Н浣跨敤瀵垮懡', edit: 'text', width: 100 } - , { field: 'HQtyMust', title: '搴斿彂鏁伴噺', edit: 'text', width: 100 } - , { field: 'HQty', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100 } - , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100 } - , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100 } + , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HUseLife', title: '绱Н浣跨敤瀵垮懡', edit: 'text', width: 100, totalRow: true} + , { field: 'HQtyMust', title: '搴斿彂鏁伴噺', edit: 'text', width: 100, totalRow: true} + , { field: 'HQty', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100, totalRow: true } + , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100, totalRow: true } + , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100, totalRow: true } , { field: 'HWHID', title: 'HWHID', edit: 'text', width: 100, hide: true } , { field: 'HWHCode', title: '鍙戞枡浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 100 } , { field: 'HWHName', title: '鍙戞枡浠撳簱', edit: 'text', width: 100 } @@ -623,7 +623,8 @@ id: 'mainTable' , elem: '#mainTable' , toolbar: '#toolbarDemo' - , page: false + , page: + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] @@ -634,14 +635,14 @@ function Table1() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', edit: 'text', width: 100 } , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', edit: 'text', width: 100 } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', edit: 'text', width: 100 } , { field: '鎵规', title: '鎵规', edit: 'text', width: 100 } - , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100 } + , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100, totalRow: true } , { field: 'HWHSonID', title: 'HWHID', edit: 'text', width: 100, hide: true } , { field: '鍙戞枡浠撳簱浠g爜', title: '鍙戞枡浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 120 } , { field: '鍙戞枡浠撳簱', title: '鍙戞枡浠撳簱', edit: 'text', width: 120 } @@ -651,6 +652,7 @@ id: 'mainTable1' , elem: '#mainTable1' , height: 500 + , totalRow: true , page: true , limit: 500 , cellMinWidth: 120 diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldOtherOutBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldOtherOutBillList.html" index e3014e8..2af922b 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldOtherOutBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldOtherOutBillList.html" @@ -183,6 +183,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limits: [50, 500, 5000, 20000] , limit: 50 @@ -190,7 +191,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: '鍗曟嵁ID', hide: true, sort: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 125, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 195, sort: true } @@ -230,14 +231,14 @@ , { field: 'HSPID', title: 'HSPID', width: 200, hide: true, sort: true } , { field: '浠撲綅浠g爜', title: '浠撲綅浠g爜', width: 125, sort: true } , { field: '浠撲綅', title: '浠撲綅', width: 125, sort: true } - , { field: '搴斿彂鏁伴噺', title: '搴斿彂鏁伴噺', width: 125, sort: true } - , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', width: 125, sort: true } - , { field: '鍗曚环', title: '鍗曚环', width: 125, sort: true } - , { field: '閲戦', title: '閲戦', width: 125, sort: true } - , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 125, sort: true } - , { field: '绱Н浣跨敤瀵垮懡', title: '绱Н浣跨敤瀵垮懡', width: 125, sort: true } - , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 125, sort: true } - , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 125, sort: true } + , { field: '搴斿彂鏁伴噺', title: '搴斿彂鏁伴噺', width: 125, sort: true, totalRow: true } + , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', width: 125, sort: true, totalRow: true } + , { field: '鍗曚环', title: '鍗曚环', width: 125, sort: true, totalRow: true } + , { field: '閲戦', title: '閲戦', width: 125, sort: true, totalRow: true } + , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 125, sort: true, totalRow: true} + , { field: '绱Н浣跨敤瀵垮懡', title: '绱Н浣跨敤瀵垮懡', width: 125, sort: true, totalRow: true} + , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 125, sort: true, totalRow: true } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 125, sort: true, totalRow: true } , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 125, sort: true } , { field: '绾㈣摑鍗曟爣璁�', title: '绾㈣摑鍗曟爣璁�', width: 125, sort: true } , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 125, sort: true } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdBackBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdBackBillList.html" index dd6f0ed..040acda 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdBackBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdBackBillList.html" @@ -183,6 +183,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limits: [50, 500, 5000, 20000] , limit: 50 @@ -190,7 +191,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { field: 'hmainid', title: '鍗曟嵁ID', hide: true, sort: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 125, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 195, sort: true } @@ -230,10 +231,10 @@ , { field: 'HSPID', title: 'HSPID', width: 200, hide: true, sort: true } , { field: '浠撲綅浠g爜', title: '浠撲綅浠g爜', width: 125, sort: true } , { field: '浠撲綅', title: '浠撲綅', width: 125, sort: true } - , { field: '搴斿彂鏁伴噺', title: '搴斿彂鏁伴噺', width: 125, sort: true } - , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', width: 125, sort: true } - , { field: '鍗曚环', title: '鍗曚环', width: 125, sort: true } - , { field: '閲戦', title: '閲戦', width: 125, sort: true } + , { field: '搴斿彂鏁伴噺', title: '搴斿彂鏁伴噺', width: 125, sort: true, totalRow: true } + , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', width: 125, sort: true, totalRow: true } + , { field: '鍗曚环', title: '鍗曚环', width: 125, sort: true, totalRow: true } + , { field: '閲戦', title: '閲戦', width: 125, sort: true, totalRow: true } , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 125, sort: true } , { field: '绱Н浣跨敤瀵垮懡', title: '绱Н浣跨敤瀵垮懡', width: 125, sort: true } , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 125, sort: true } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdInBillEdit.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdInBillEdit.html" index c061171..d10f14f 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdInBillEdit.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdInBillEdit.html" @@ -700,7 +700,7 @@ //鍒濆鍖栨槑缁嗚〃鏍� function set_InitGrid() { columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100, hide: true } , { field: 'HMaterCode', title: '鍣ㄥ叿浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } @@ -710,13 +710,13 @@ , { field: 'HUnitID', title: 'HUnitID', edit: 'text', width: 100, hide: true } , { field: 'HUnitCode', title: '璁¢噺鍗曚綅浠g爜', edit: 'text', event: 'HUnitCode', width: 100 } , { field: 'HUnitName', title: '璁¢噺鍗曚綅', edit: 'text', width: 100 } - , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100 } - , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100 } - , { field: 'HUseLife', title: '浣跨敤瀵垮懡', edit: 'text', width: 100 } - , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', edit: 'text', width: 100 } - , { field: 'HQty', title: '瀹炴敹鏁伴噺', edit: 'text', width: 100 } - , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100 } - , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100 } + , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HUseLife', title: '浣跨敤瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', edit: 'text', width: 100, totalRow: true } + , { field: 'HQty', title: '瀹炴敹鏁伴噺', edit: 'text', width: 100, totalRow: true } + , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100, totalRow: true } + , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100, totalRow: true } , { field: 'HWHID', title: 'HWHID', edit: 'text', width: 100, hide: true } , { field: 'HWHCode', title: '鏀舵枡浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 120 } , { field: 'HWHName', title: '鏀舵枡浠撳簱鍚嶇О', edit: 'text', width: 120 } @@ -732,6 +732,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] @@ -744,14 +745,14 @@ function set_CountGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', edit: 'text', width: 100 } , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', edit: 'text', width: 100 } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', edit: 'text', width: 100 } , { field: '鎵规', title: '鎵规', edit: 'text', width: 100 } - , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', edit: 'text', width: 100 } + , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', edit: 'text', width: 100, totalRow: true } , { field: 'hwhid1', title: 'HWHID', edit: 'text', width: 100, hide: true } , { field: '鏀舵枡浠撳簱浠g爜', title: '鏀舵枡浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 120 } , { field: '鏀舵枡浠撳簱', title: '鏀舵枡浠撳簱鍚嶇О', edit: 'text', width: 120 } @@ -762,6 +763,7 @@ , elem: '#mainTable1' , height: 500 , page: true + , totalRow: true , limit: 500 , cellMinWidth: 120 , height: 500 diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdInBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdInBillList.html" index aafdd53..a4972f4 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdInBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdInBillList.html" @@ -222,13 +222,13 @@ , { field: '妯″叿鍚嶇О', title: '鍣ㄥ叿鍚嶇О', width: 200, sort: true } , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', width: 200, sort: true } , { field: '鎵规', title: '鎵规', width: 200, sort: true } - , { field: '搴旀敹鏁伴噺', title: '搴旀敹鏁伴噺', width: 200, totalRow: true, sort: true } - , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', width: 200, totalRow: true, sort: true } - , { field: '鍗曚环', title: '鍗曚环', width: 200, sort: true } - , { field: '閲戦', title: '閲戦', width: 200, totalRow: true, sort: true } - , { field: '浣跨敤瀵垮懡', title: '浣跨敤瀵垮懡', width: 200, sort: true } - , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 200, sort: true } - , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 200, sort: true } + , { field: '搴旀敹鏁伴噺', title: '搴旀敹鏁伴噺', width: 200, totalRow: true, sort: true, totalRow: true } + , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', width: 200, totalRow: true, sort: true, totalRow: true} + , { field: '鍗曚环', title: '鍗曚环', width: 200, sort: true, totalRow: true} + , { field: '閲戦', title: '閲戦', width: 200, totalRow: true, sort: true, totalRow: true } + , { field: '浣跨敤瀵垮懡', title: '浣跨敤瀵垮懡', width: 200, sort: true, totalRow: true } + , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 200, sort: true, totalRow: true } + , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 200, sort: true, totalRow: true } , { field: '搴撳瓨缁勭粐', title: '搴撳瓨缁勭粐', width: 125, sort: true } , { field: 'HWHID', title: 'HWHID', width: 200, hide: true, sort: true } , { field: '鏀舵枡浠撳簱浠g爜', title: '浠撳簱浠g爜', width: 200, sort: true } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdMoveBill.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdMoveBill.html" index 75b1d01..f9388bd 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdMoveBill.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdMoveBill.html" @@ -231,10 +231,11 @@ elem: '#mainTable' , toolbar: '#toolbarDemo' , height: 500 + , totalRow: true //,url: '/demo/table/user/' //鏁版嵁鎺ュ彛 , page: true //寮�鍚垎椤� , cols: [[ //琛ㄥご - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100, hide: true } , { field: 'HMaterCode', title: '鍣ㄥ叿浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } @@ -244,13 +245,13 @@ , { field: 'HUnitID', title: 'HUnitID', edit: 'text', width: 100, hide: true } , { field: 'HUnitCode', title: '璁¢噺鍗曚綅浠g爜', edit: 'text', event: 'HUnitCode', width: 100 } , { field: 'HUnitName', title: '璁¢噺鍗曚綅', edit: 'text', width: 100 } - , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100 } - , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100 } - , { field: 'HUseLife', title: '绱浣跨敤瀵垮懡', edit: 'text', width: 120 } - , { field: 'HQtyMust', title: '搴斿彂鏁伴噺', edit: 'text', width: 100 } - , { field: 'HQty', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100 } - , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100 } - , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100 } + , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HUseLife', title: '绱浣跨敤瀵垮懡', edit: 'text', width: 120, totalRow: true } + , { field: 'HQtyMust', title: '搴斿彂鏁伴噺', edit: 'text', width: 100, totalRow: true } + , { field: 'HQty', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100, totalRow: true } + , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100, totalRow: true } + , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100, totalRow: true} , { field: 'HOtherOrgID', title: 'HOtherOrgID', width: 100, hide: true } , { field: 'HStockOrgID', title: 'HStockOrgID', width: 100, hide: true } , { field: 'HStockOrgCode', title: '璋冨叆缁勭粐浠g爜', edit: 'text', event: 'HStockOrgCode', width: 120 } @@ -275,17 +276,18 @@ var option1 = { elem: '#mainTable1' , height: 500 + , totalRow: true //,url: '/demo/table/user/' //鏁版嵁鎺ュ彛 , page: true //寮�鍚垎椤� , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', edit: 'text', width: 100 } , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', edit: 'text', width: 100 } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', edit: 'text', width: 100 } , { field: '鎵规', title: '鎵规', edit: 'text', width: 100 } - , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100 } + , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100, totalRow: true } , { field: 'HSCWHID', title: 'HSCWHID', edit: 'text', width: 100, hide: true } , { field: '璋冨嚭浠撳簱浠g爜', title: '璋冨嚭浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 120 } , { field: '璋冨嚭浠撳簱', title: '璋冨嚭浠撳簱', edit: 'text', width: 120 } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdMoveBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdMoveBillList.html" index a65d661..cbc6bc4 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdMoveBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdMoveBillList.html" @@ -183,6 +183,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limits: [50, 500, 5000, 20000] , done: function (res, curr, count) { @@ -190,7 +191,7 @@ } , limit: 50 , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { field: 'hmainid', title: '鍗曟嵁ID', hide: true, sort: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 125, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 195, sort: true } @@ -232,14 +233,14 @@ , { field: 'HSCSPID', title: 'HSCSPID', width: 200, hide: true, sort: true } , { field: '璋冨嚭浠撲綅浠g爜', title: '璋冨嚭浠撲綅浠g爜', width: 125, hide: true, sort: true } , { field: '璋冨嚭浠撲綅', title: '璋冨嚭浠撲綅', width: 125, hide: true, sort: true } - , { field: '搴斿彂鏁伴噺', title: '搴斿彂鏁伴噺', width: 125, sort: true } - , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', width: 125, sort: true } - , { field: '鍗曚环', title: '鍗曚环', width: 125, sort: true } - , { field: '閲戦', title: '閲戦', width: 125, sort: true } - , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 125, sort: true } - , { field: '绱Н浣跨敤瀵垮懡', title: '绱Н浣跨敤瀵垮懡', width: 125, sort: true } - , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 125, sort: true } - , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 125, sort: true } + , { field: '搴斿彂鏁伴噺', title: '搴斿彂鏁伴噺', width: 125, sort: true, totalRow: true } + , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', width: 125, sort: true, totalRow: true } + , { field: '鍗曚环', title: '鍗曚环', width: 125, sort: true, totalRow: true } + , { field: '閲戦', title: '閲戦', width: 125, sort: true, totalRow: true} + , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 125, sort: true, totalRow: true } + , { field: '绱Н浣跨敤瀵垮懡', title: '绱Н浣跨敤瀵垮懡', width: 125, sort: true, totalRow: true } + , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 125, sort: true, totalRow: true } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 125, sort: true, totalRow: true } , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 125, sort: true } , { field: '绾㈣摑鍗曟爣璁�', title: '绾㈣摑鍗曟爣璁�', width: 125, sort: true } , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 125, sort: true } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdOutBillEdit.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdOutBillEdit.html" index 6050efb..deb3153 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdOutBillEdit.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdOutBillEdit.html" @@ -679,7 +679,7 @@ //鍒濆鍖栬〃鏍� function set_InitGrid() { columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100, hide: true } , { field: 'HMaterCode', title: '鍣ㄥ叿浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } @@ -689,13 +689,13 @@ , { field: 'HUnitID', title: 'HUnitID', edit: 'text', width: 100, hide: true } , { field: 'HUnitCode', title: '璁¢噺鍗曚綅浠g爜', edit: 'text', event: 'HUnitCode', width: 100 } , { field: 'HUnitName', title: '璁¢噺鍗曚綅', edit: 'text', width: 100 } - , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100 } - , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100 } - , { field: 'HUseLife', title: '绱Н浣跨敤瀵垮懡', edit: 'text', width: 100 } - , { field: 'HQtyMust', title: '搴斿彂鏁伴噺', edit: 'text', width: 100 } - , { field: 'HQty', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100 } - , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100 } - , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100 } + , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100, totalRow: true} + , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HUseLife', title: '绱Н浣跨敤瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HQtyMust', title: '搴斿彂鏁伴噺', edit: 'text', width: 100, totalRow: true } + , { field: 'HQty', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100, totalRow: true } + , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100, totalRow: true} + , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100, totalRow: true } , { field: 'HWHID', title: 'HWHID', edit: 'text', width: 100, hide: true } , { field: 'HWHCode', title: '鍙戞枡浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 120 } , { field: 'HWHName', title: '鍙戞枡浠撳簱', edit: 'text', width: 120 } @@ -711,6 +711,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] @@ -723,14 +724,14 @@ function set_CountGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', edit: 'text', width: 100 } , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', edit: 'text', width: 100 } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', edit: 'text', width: 100 } , { field: '鎵规', title: '鎵规', edit: 'text', width: 100 } - , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100 } + , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100, totalRow: true } , { field: 'HWHSonID', title: 'HWHSonID', edit: 'text', width: 100, hide: true } , { field: '鍙戞枡浠撳簱浠g爜', title: '鍙戞枡浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 120 } , { field: '鍙戞枡浠撳簱', title: '鍙戞枡浠撳簱', edit: 'text', width: 120 } @@ -741,6 +742,7 @@ , elem: '#mainTable1' , height: 500 , page: true + , totalRow: true , limit: 500 , cellMinWidth: 120 , height: 500 diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdOutBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdOutBillList.html" index 44f1003..55a7a35 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdOutBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldProdOutBillList.html" @@ -182,6 +182,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limits: [50, 500, 5000, 20000] , limit: 50 @@ -189,7 +190,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: '鍗曟嵁ID', hide: true, sort: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 125, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 195, sort: true } @@ -229,14 +230,14 @@ , { field: 'HSPID', title: 'HSPID', width: 200, hide: true, sort: true } , { field: '浠撲綅浠g爜', title: '浠撲綅浠g爜', width: 125, sort: true } , { field: '浠撲綅', title: '浠撲綅', width: 125, sort: true } - , { field: '搴斿彂鏁伴噺', title: '搴斿彂鏁伴噺', width: 125, sort: true } - , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', width: 125, sort: true } - , { field: '鍗曚环', title: '鍗曚环', width: 125, sort: true } - , { field: '閲戦', title: '閲戦', width: 125, sort: true } - , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 125, sort: true } - , { field: '绱Н浣跨敤瀵垮懡', title: '绱Н浣跨敤瀵垮懡', width: 125, sort: true } - , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 125, sort: true } - , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 125, sort: true } + , { field: '搴斿彂鏁伴噺', title: '搴斿彂鏁伴噺', width: 125, sort: true, totalRow: true } + , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', width: 125, sort: true, totalRow: true} + , { field: '鍗曚环', title: '鍗曚环', width: 125, sort: true, totalRow: true } + , { field: '閲戦', title: '閲戦', width: 125, sort: true, totalRow: true} + , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 125, sort: true, totalRow: true } + , { field: '绱Н浣跨敤瀵垮懡', title: '绱Н浣跨敤瀵垮懡', width: 125, sort: true, totalRow: true} + , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 125, sort: true, totalRow: true} + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 125, sort: true, totalRow: true } , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 125, sort: true } , { field: '绾㈣摑鍗曟爣璁�', title: '绾㈣摑鍗曟爣璁�', width: 125, sort: true } , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 125, sort: true } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairChangeBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairChangeBillList.html" index 90e4611..55125eb 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairChangeBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairChangeBillList.html" @@ -172,6 +172,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -179,7 +180,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: '鍗曟嵁ID', hide: true, sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 195, sort: true } , { field: '寮�濮嬫棩鏈�', title: '寮�濮嬫棩鏈�', width: 125, templet: "<div>{{d.寮�濮嬫棩鏈� ==null ?'':layui.util.toDateString(d.寮�濮嬫棩鏈�, 'yyyy-MM-dd')}}</div>", sort: true } @@ -210,9 +211,9 @@ , { field: '鏂拌鏍�', title: '鏂拌鏍�', width: 125, sort: true } , { field: '鏂板瀷鍙�', title: '鏂板瀷鍙�', width: 125, sort: true } - , { field: '璁″垝宸ユ椂', title: '璁″垝宸ユ椂', width: 125, sort: true } - , { field: '瀹為檯宸ユ椂', title: '瀹為檯宸ユ椂', width: 125, sort: true } - , { field: '鏀瑰埗鏁伴噺', title: '鏀瑰埗鏁伴噺', width: 125, sort: true } + , { field: '璁″垝宸ユ椂', title: '璁″垝宸ユ椂', width: 125, sort: true, totalRow: true } + , { field: '瀹為檯宸ユ椂', title: '瀹為檯宸ユ椂', width: 125, sort: true, totalRow: true } + , { field: '鏀瑰埗鏁伴噺', title: '鏀瑰埗鏁伴噺', width: 125, sort: true, totalRow: true } , { field: '鏀瑰埗瑕佹眰', title: '鏀瑰埗瑕佹眰', width: 125, sort: true } , { field: '鏀瑰埗鍐呭', title: '鏀瑰埗鍐呭', width: 125, sort: true } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairInBillEdit.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairInBillEdit.html" index 630a076..806f7b4 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairInBillEdit.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairInBillEdit.html" @@ -880,7 +880,7 @@ //鍒濆鍖栬〃鏍� function set_InitGrid() { columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100, hide: true } , { field: 'HMaterCode', title: '鍣ㄥ叿浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } @@ -890,11 +890,11 @@ , { field: 'HUnitID', title: 'HUnitID', edit: 'text', width: 100, hide: true } , { field: 'HUnitCode', title: '璁¢噺鍗曚綅浠g爜', edit: 'text', event: 'HUnitCode', width: 100 } , { field: 'HUnitName', title: '璁¢噺鍗曚綅', edit: 'text', width: 100 } - , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100 } - , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100 } - , { field: 'HUseLife', title: '浣跨敤瀵垮懡', edit: 'text', width: 100 } - , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', edit: 'text', width: 100 } - , { field: 'HQty', title: '瀹炴敹鏁伴噺', edit: 'text', width: 100 } + , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HUseLife', title: '浣跨敤瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', edit: 'text', width: 100, totalRow: true } + , { field: 'HQty', title: '瀹炴敹鏁伴噺', edit: 'text', width: 100, totalRow: true } , { field: 'HWHID', title: 'HWHID', edit: 'text', width: 100, hide: true } , { field: 'HWHCode', title: '鏀舵枡浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 100 } , { field: 'HWHName', title: '鏀舵枡浠撳簱鍚嶇О', edit: 'text', width: 100 } @@ -906,6 +906,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] @@ -918,14 +919,14 @@ function set_CountGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', edit: 'text', width: 100 } , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', edit: 'text', width: 100 } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', edit: 'text', width: 100 } , { field: '鎵规', title: '鎵规', edit: 'text', width: 100 } - , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', edit: 'text', width: 100 } + , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', edit: 'text', width: 100, totalRow: true } , { field: 'hwhid', title: 'HWHID', edit: 'text', width: 100, hide: true } , { field: '浠撳簱浠g爜', title: '浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 120 } , { field: '浠撳簱', title: '浠撳簱', edit: 'text', width: 120 } @@ -936,6 +937,7 @@ , elem: '#mainTable1' , height: 500 , page: true + , totalRow: true , limit: 500 , cellMinWidth: 120 , height: 500 diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairInBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairInBillList.html" index f90317d..547fe08 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairInBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairInBillList.html" @@ -220,6 +220,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -227,7 +228,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: '鍗曟嵁ID', hide: true, sort: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 125, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 195, sort: true } @@ -260,14 +261,14 @@ , { field: 'HSPID', title: 'HSPID', width: 200, hide: true, sort: true } , { field: '浠撲綅浠g爜', title: '浠撲綅浠g爜', width: 125, hide: true, sort: true } , { field: '浠撲綅', title: '浠撲綅', width: 125, hide: true, sort: true } - , { field: '搴旀敹鏁伴噺', title: '搴旀敹鏁伴噺', width: 125, sort: true } - , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', width: 125, sort: true } - , { field: '鍗曚环', title: '鍗曚环', width: 125, hide: true, sort: true } - , { field: '閲戦', title: '閲戦', width: 125, hide: true, sort: true } - , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 125, sort: true } - , { field: '绱Н浣跨敤瀵垮懡', title: '绱Н浣跨敤瀵垮懡', width: 125, sort: true } - , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 125, sort: true } - , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 125, sort: true } + , { field: '搴旀敹鏁伴噺', title: '搴旀敹鏁伴噺', width: 125, sort: true, totalRow: true } + , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', width: 125, sort: true, totalRow: true} + , { field: '鍗曚环', title: '鍗曚环', width: 125, hide: true, sort: true, totalRow: true } + , { field: '閲戦', title: '閲戦', width: 125, hide: true, sort: true, totalRow: true} + , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 125, sort: true, totalRow: true} + , { field: '绱Н浣跨敤瀵垮懡', title: '绱Н浣跨敤瀵垮懡', width: 125, sort: true, totalRow: true} + , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 125, sort: true, totalRow: true } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 125, sort: true, totalRow: true } , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 125, sort: true } , { field: '绾㈣摑鍗曟爣璁�', title: '绾㈣摑鍗曟爣璁�', width: 125, hide: true, sort: true } , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 125, sort: true } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairOutBillEdit.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairOutBillEdit.html" index 1f4bb30..bfb8224 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairOutBillEdit.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairOutBillEdit.html" @@ -878,7 +878,7 @@ //鍒濆鍖栬〃鏍� function set_InitGrid() { columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100, hide: true } , { field: 'HMaterCode', title: '鍣ㄥ叿浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } @@ -888,11 +888,11 @@ , { field: 'HUnitID', title: 'HUnitID', edit: 'text', width: 100, hide: true } , { field: 'HUnitCode', title: '璁¢噺鍗曚綅浠g爜', edit: 'text', event: 'HUnitCode', width: 100 } , { field: 'HUnitName', title: '璁¢噺鍗曚綅', edit: 'text', width: 100 } - , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100 } - , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100 } - , { field: 'HUseLife', title: '浣跨敤瀵垮懡', edit: 'text', width: 100 } - , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', edit: 'text', width: 100 } - , { field: 'HQty', title: '瀹炴敹鏁伴噺', edit: 'text', width: 100 } + , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100, totalRow: true} + , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HUseLife', title: '浣跨敤瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HQtyMust', title: '搴旀敹鏁伴噺', edit: 'text', width: 100, totalRow: true} + , { field: 'HQty', title: '瀹炴敹鏁伴噺', edit: 'text', width: 100, totalRow: true} , { field: 'HWHID', title: 'HWHID', edit: 'text', width: 100, hide: true } , { field: 'HWHCode', title: '鏀舵枡浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 100 } , { field: 'HWHName', title: '鏀舵枡浠撳簱鍚嶇О', edit: 'text', width: 100 } @@ -905,6 +905,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] @@ -917,14 +918,14 @@ function set_CountGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', edit: 'text', width: 100 } , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', edit: 'text', width: 100 } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', edit: 'text', width: 100 } , { field: '鎵规', title: '鎵规', edit: 'text', width: 100 } - , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', edit: 'text', width: 100 } + , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', edit: 'text', width: 100, totalRow: true} , { field: 'hwhid', title: 'HWHID', edit: 'text', width: 100, hide: true } , { field: '浠撳簱浠g爜', title: '浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 120 } , { field: '浠撳簱', title: '浠撳簱', edit: 'text', width: 120 } @@ -935,6 +936,7 @@ , elem: '#mainTable1' , height: 500 , page: true + , totalRow: true , limit: 500 , cellMinWidth: 120 , height: 500 diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairOutBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairOutBillList.html" index 7397975..0aef353 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairOutBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldRepairOutBillList.html" @@ -222,6 +222,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -229,7 +230,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: '鍗曟嵁ID', hide: true, sort: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 125, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 195, sort: true } @@ -265,14 +266,14 @@ , { field: 'HSPID', title: 'HSPID', width: 200, hide: true, sort: true } , { field: '浠撲綅浠g爜', title: '浠撲綅浠g爜', width: 125, hide: true, sort: true } , { field: '浠撲綅', title: '浠撲綅', width: 125, hide: true, sort: true } - , { field: '搴旀敹鏁伴噺', title: '搴旀敹鏁伴噺', width: 125, sort: true } - , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', width: 125, sort: true } - , { field: '鍗曚环', title: '鍗曚环', width: 125, hide: true, sort: true } - , { field: '閲戦', title: '閲戦', width: 125, hide: true, sort: true } - , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 125, sort: true } - , { field: '绱Н浣跨敤瀵垮懡', title: '绱Н浣跨敤瀵垮懡', width: 125, sort: true } - , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 125, sort: true } - , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 125, sort: true } + , { field: '搴旀敹鏁伴噺', title: '搴旀敹鏁伴噺', width: 125, sort: true, totalRow: true} + , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', width: 125, sort: true, totalRow: true } + , { field: '鍗曚环', title: '鍗曚环', width: 125, hide: true, sort: true, totalRow: true} + , { field: '閲戦', title: '閲戦', width: 125, hide: true, sort: true, totalRow: true } + , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 125, sort: true, totalRow: true} + , { field: '绱Н浣跨敤瀵垮懡', title: '绱Н浣跨敤瀵垮懡', width: 125, sort: true, totalRow: true } + , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 125, sort: true, totalRow: true} + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 125, sort: true, totalRow: true } , { field: '瀛愬娉�', title: '瀛愬娉�', width: 125, sort: true } , { field: '绾㈣摑鍗曟爣璁�', title: '绾㈣摑鍗曟爣璁�', width: 125, hide: true, sort: true } , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 125, sort: true } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapInBill.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapInBill.html" index 8553896..cf0f467 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapInBill.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapInBill.html" @@ -722,7 +722,7 @@ //鍒濆鍖栬〃鏍� function set_InitGrid() { columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100, hide: true } , { field: 'HMaterCode', title: '鍣ㄥ叿浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } @@ -741,9 +741,9 @@ , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100 } , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100 } , { field: 'HUseLife', title: '浣跨敤瀵垮懡', edit: 'text', width: 100 } - , { field: 'HQty', title: '瀹炴敹鏁伴噺', edit: 'text', width: 100 } - , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100 } - , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100 } + , { field: 'HQty', title: '瀹炴敹鏁伴噺', edit: 'text', width: 100, totalRow: true} + , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100, totalRow: true} + , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100, totalRow: true} , { field: 'HWHID', title: 'HWHID', edit: 'text', width: 100, hide: true } , { field: 'HWHCode', title: '鏀舵枡浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 120 } , { field: 'HWHName', title: '鏀舵枡浠撳簱鍚嶇О', edit: 'text', width: 120 } @@ -760,6 +760,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] @@ -772,14 +773,14 @@ function set_CountGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', edit: 'text', width: 100 } , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', edit: 'text', width: 100 } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', edit: 'text', width: 100 } , { field: '鎵规', title: '鎵规', edit: 'text', width: 100 } - , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', edit: 'text', width: 100 } + , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', edit: 'text', width: 100, totalRow: true } , { field: 'hwhid1', title: 'HWHID', edit: 'text', width: 100, hide: true } , { field: '鏀舵枡浠撳簱浠g爜', title: '鏀舵枡浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 120 } , { field: '鏀舵枡浠撳簱鍚嶇О', title: '鏀舵枡浠撳簱鍚嶇О', edit: 'text', width: 120 } @@ -790,6 +791,7 @@ , elem: '#mainTable1' , height: 500 , page: true + , totalRow: true , limit: 500 , cellMinWidth: 120 , height: 500 diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapInBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapInBillList.html" index de7cca3..6bffdeb 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapInBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapInBillList.html" @@ -251,12 +251,12 @@ , { field: '杈呭姪璁¢噺鍗曚綅鍚嶇О', title: '杈呭姪璁¢噺鍗曚綅鍚嶇О', width: 200, sort: true } , { field: '鎹㈢畻鐜�', title: '鎹㈢畻鐜�', width: 200, sort: true } , { field: '鎵规', title: '鎵规', width: 200, sort: true } - , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', width: 200, totalRow: true, sort: true } - , { field: '鍗曚环', title: '鍗曚环', width: 200, sort: true } - , { field: '閲戦', title: '閲戦', width: 200, totalRow: true, sort: true } - , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 200, sort: true } - , { field: '浣跨敤瀵垮懡', title: '浣跨敤瀵垮懡', width: 200, sort: true } - , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 200, sort: true } + , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', width: 200, totalRow: true, sort: true, totalRow: true } + , { field: '鍗曚环', title: '鍗曚环', width: 200, sort: true, totalRow: true } + , { field: '閲戦', title: '閲戦', width: 200, totalRow: true, sort: true, totalRow: true } + , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 200, sort: true, totalRow: true } + , { field: '浣跨敤瀵垮懡', title: '浣跨敤瀵垮懡', width: 200, sort: true, totalRow: true } + , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 200, sort: true, totalRow: true } , { field: 'HWHID1', title: 'HWHID1', width: 200, hide: true, sort: true } , { field: '鏀舵枡浠撳簱浠g爜', title: '鏀舵枡浠撳簱浠g爜', width: 200, sort: true } , { field: '鏀舵枡浠撳簱鍚嶇О', title: '鏀舵枡浠撳簱鍚嶇О', width: 200, sort: true } @@ -286,6 +286,7 @@ elem: '#mainTable' , toolbar: '#toolbarDemo' , page: true + , totalRow: true , cellMinWidth: 120 , totalRow: true , limit: 50 diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapOutBill.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapOutBill.html" index db3ed87..d5f345e 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapOutBill.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapOutBill.html" @@ -676,7 +676,7 @@ function set_InitGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100, hide: true } , { field: 'HMaterCode', title: '鍣ㄥ叿浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } @@ -688,7 +688,7 @@ , { field: 'HSecUnitID', title: 'HSecUnitID', edit: 'text', width: 100, hide: true } , { field: 'HSecUnitCode', title: '杈呭姪璁¢噺鍗曚綅浠g爜', edit: 'text', event: 'HSecUnitCode', width: 120 } , { field: 'HSecUnitName', title: '杈呭姪璁¢噺鍗曚綅鍚嶇О', edit: 'text', width: 120 } - , { field: 'HSecUnitRate', title: '鎹㈢畻鐜�', edit: 'text', width: 100 } + , { field: 'HSecUnitRate', title: '鎹㈢畻鐜�', edit: 'text', width: 100, totalRow: true} , { field: 'HUnitID', title: 'HUnitID', edit: 'text', width: 100, hide: true } , { field: 'HUnitCode', title: '璁¢噺鍗曚綅浠g爜', edit: 'text', event: 'HUnitCode', width: 120 } , { field: 'HUnitName', title: '璁¢噺鍗曚綅鍚嶇О', edit: 'text', width: 120 } @@ -696,9 +696,9 @@ , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100 } , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100 } , { field: 'HUseLife', title: '浣跨敤瀵垮懡', edit: 'text', width: 100 } - , { field: 'HQty', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100 } - , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100 } - , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100 } + , { field: 'HQty', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100, totalRow: true } + , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100, totalRow: true} + , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100, totalRow: true } , { field: 'HWHID', title: 'HWHID', edit: 'text', width: 100, hide: true } , { field: 'HWHCode', title: '鍙戣揣浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 120 } , { field: 'HWHName', title: '鍙戣揣浠撳簱鍚嶇О', edit: 'text', width: 120 } @@ -714,6 +714,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] @@ -726,14 +727,14 @@ function set_CountGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', edit: 'text', width: 100 } , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', edit: 'text', width: 100 } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', edit: 'text', width: 100 } , { field: '鎵规', title: '鎵规', edit: 'text', width: 100 } - , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100 } + , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100, totalRow: true} , { field: 'hwhid1', title: 'HWHID', edit: 'text', width: 100, hide: true } , { field: '鍙戣揣浠撳簱浠g爜', title: '鍙戣揣浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 120 } , { field: '鍙戣揣浠撳簱鍚嶇О', title: '鍙戣揣浠撳簱鍚嶇О', edit: 'text', width: 120 } @@ -744,6 +745,7 @@ , elem: '#mainTable1' , height: 500 , page: true + , totalRow: true , limit: 500 , cellMinWidth: 120 , height: 500 diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapOutBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapOutBillList.html" index ac3a5aa..edf77a7 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapOutBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapOutBillList.html" @@ -243,6 +243,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 120 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -250,7 +251,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: '鍗曟嵁ID', hide: true, sort: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160, sort: true } @@ -288,9 +289,9 @@ , { field: '杈呭姪璁¢噺鍗曚綅鍚嶇О', title: '杈呭姪璁¢噺鍗曚綅鍚嶇О', width: 200, sort: true } , { field: '鎹㈢畻鐜�', title: '鎹㈢畻鐜�', width: 200, sort: true } , { field: '鎵规', title: '鎵规', width: 200, sort: true } - , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', width: 200, sort: true } - , { field: '鍗曚环', title: '鍗曚环', width: 200, sort: true } - , { field: '閲戦', title: '閲戦', width: 200, sort: true } + , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', width: 200, sort: true, totalRow: true} + , { field: '鍗曚环', title: '鍗曚环', width: 200, sort: true, totalRow: true } + , { field: '閲戦', title: '閲戦', width: 200, sort: true, totalRow: true} , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 200, sort: true } , { field: '浣跨敤瀵垮懡', title: '浣跨敤瀵垮懡', width: 200, sort: true } , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 200, sort: true } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapRequestBill.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapRequestBill.html" index f491b92..17b1caf 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapRequestBill.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapRequestBill.html" @@ -461,6 +461,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , limit: 500 , height: 500 , loading: false @@ -477,12 +478,12 @@ , { field: '杈呭姪璁¢噺鍗曚綅', title: '杈呭姪璁¢噺鍗曚綅', width: 100, edit: 'text', event: "HSecUnitID" }//f7 , { field: 'HWHID', title: 'HWHID', width: 100, hide: true } , { field: '鎶ュ簾浠撳簱', title: '鎶ュ簾浠撳簱', width: 100, edit: 'text', event: "HWHID" }//f7 - , { field: 'HQty', title: '鏁伴噺', edit: 'text' } - , { field: 'HPrice', title: '鍗曚环', edit: 'text' } - , { field: 'HMoney', title: '閲戦', edit: 'text' } - , { field: 'HSecUnitRate', title: '鎹㈢畻鐜�', edit: 'text' } - , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text' } - , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text' } + , { field: 'HQty', title: '鏁伴噺', edit: 'text', totalRow: true } + , { field: 'HPrice', title: '鍗曚环', edit: 'text', totalRow: true } + , { field: 'HMoney', title: '閲戦', edit: 'text', totalRow: true} + , { field: 'HSecUnitRate', title: '鎹㈢畻鐜�', edit: 'text', totalRow: true } + , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', totalRow: true } + , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', totalRow: true } , { field: 'HRemark', title: '琛ㄤ綋澶囨敞', edit: 'text' }//f7 , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo',width: 80 } ]] diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapRequestBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapRequestBillList.html" index 37d8b3a..b79e47a 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapRequestBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldScrapRequestBillList.html" @@ -174,6 +174,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -181,7 +182,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: 'hmainid', sort: true, width: 165, hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>" ,sort:true} , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170 } @@ -204,11 +205,11 @@ , { field: 'HSecUnitID', title: 'HSecUnitID', sort: true, width: 165, hide: true } , { field: '杈呭姪璁¢噺鍗曚綅', title: '杈呭姪璁¢噺鍗曚綅', sort: true, width: 165 } , { field: '鎹㈢畻鐜�', title: '鎹㈢畻鐜�', sort: true, width: 165 } - , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', sort: true, width: 165 } - , { field: '鍗曚环', title: '鍗曚环', sort: true, width: 165 } - , { field: '閲戦', title: '閲戦', sort: true, width: 165 } - , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', sort: true, width: 165 } - , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', sort: true, width: 165 } + , { field: '瀹炴敹鏁伴噺', title: '瀹炴敹鏁伴噺', sort: true, width: 165, totalRow: true } + , { field: '鍗曚环', title: '鍗曚环', sort: true, width: 165, totalRow: true } + , { field: '閲戦', title: '閲戦', sort: true, width: 165, totalRow: true } + , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', sort: true, width: 165, totalRow: true } + , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', sort: true, width: 165, totalRow: true } , { field: 'HWHID', title: 'HWHID', sort: true, width: 165, hide: true } , { field: '瀛愭姤搴熶粨搴�', title: '瀛愭姤搴熶粨搴�', sort: true, width: 165 } , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 115 } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldStatusChangeBill.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldStatusChangeBill.html" index a681af4..32e2cfb 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldStatusChangeBill.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldStatusChangeBill.html" @@ -448,6 +448,7 @@ , toolbar: '#toolbarDemo' , limit: 500 , height: 500 + , totalRow: true , loading: false , cols: [[ //琛ㄥご { type: 'checkbox', totalRowText: '鍚堣琛�' } @@ -456,7 +457,7 @@ , { field: '鍣ㄥ叿', title: '鍣ㄥ叿', edit: 'text', event: "HMaterID" }//f7 , { field: 'HUnitID', title: 'HUnitID ', width: 100, hide: true } , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅', edit: 'text', event: "HUnitID" }//f7 - , { field: 'HQty', title: '鏁伴噺', edit: 'text' } + , { field: 'HQty', title: '鏁伴噺', edit: 'text', totalRow: true } , { field: 'HStatusID_Old', title: 'HStatusID_Old ', width: 100, hide: true } , { field: '鍘熺姸鎬�', title: '鍘熺姸鎬�', edit: 'text', hide: true }//f7 , { field: 'HStatusID_New', title: 'HStatusID_New ', width: 100, hide: true } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldStatusChangeBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldStatusChangeBillList.html" index b503d88..614f5ec 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldStatusChangeBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\344\273\223\345\272\223\347\256\241\347\220\206/Sc_MouldStatusChangeBillList.html" @@ -174,6 +174,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -181,7 +182,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'HMainID', title: 'HMainID', sort: true, width: 165, hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 165} , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170 } @@ -202,7 +203,7 @@ , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅', sort: true, width: 165 } , { field: '骞�', title: '骞�', sort: true, width: 170 } , { field: '鏈�', title: '鏈�', sort: true, width: 170 } - , { field: '鏁伴噺', title: '鏁伴噺', sort: true, width: 170 } + , { field: '鏁伴噺', title: '鏁伴噺', sort: true, width: 170, totalRow: true} , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', sort: true, width: 165 } , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 120, templet: "<div>{{d.鍒跺崟鏃ユ湡 ==null ?'':layui.util.toDateString(d.鍒跺崟鏃ユ湡, 'yyyy-MM-dd')}}</div>" } , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 115 } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFileList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFileList.html" index f59618d..a264f6d 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFileList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFileList.html" @@ -166,6 +166,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , limits: [50, 500, 5000, 20000] , limit: 50 //姣忛〉榛樿鏄剧ず鐨勬暟閲� , cellMinWidth: 200 @@ -173,7 +174,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>",sort:true} , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true } @@ -210,14 +211,14 @@ , { field: '铏氭嫙浠�', title: '铏氭嫙浠�', sort: true } , { field: '褰撳墠妯″叿瑙勬牸', title: '褰撳墠鍣ㄥ叿瑙勬牸', sort: true } , { field: '鍒濆妯″叿瑙勬牸', title: '鍒濆鍣ㄥ叿瑙勬牸', sort: true } - , { field: '褰撳墠璁捐瀵垮懡', title: '褰撳墠璁捐瀵垮懡', sort: true } - , { field: '鍒濆璁捐瀵垮懡', title: '鍒濆璁捐瀵垮懡', sort: true } - , { field: '浣跨敤瀵垮懡', title: '浣跨敤瀵垮懡', sort: true } - , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', sort: true } - , { field: '宸茬敓浜ф暟閲�', title: '宸茬敓浜ф暟閲�', sort: true } - , { field: '宸茬敓浜ч噸閲�', title: '宸茬敓浜ч噸閲�', sort: true } + , { field: '褰撳墠璁捐瀵垮懡', title: '褰撳墠璁捐瀵垮懡', sort: true, totalRow: true} + , { field: '鍒濆璁捐瀵垮懡', title: '鍒濆璁捐瀵垮懡', sort: true, totalRow: true} + , { field: '浣跨敤瀵垮懡', title: '浣跨敤瀵垮懡', sort: true, totalRow: true } + , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', sort: true, totalRow: true } + , { field: '宸茬敓浜ф暟閲�', title: '宸茬敓浜ф暟閲�', sort: true, totalRow: true} + , { field: '宸茬敓浜ч噸閲�', title: '宸茬敓浜ч噸閲�', sort: true, totalRow: true } , { field: '澶囨敞', title: '澶囨敞', sort: true } - , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', sort: true } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', sort: true, totalRow: true} , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', sort: true } , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', templet: "<div>{{d.鍒跺崟鏃ユ湡 ==null ?'':layui.util.toDateString(d.鍒跺崟鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', sort: true } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFileResume.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFileResume.html" index 2756527..2ec1355 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFileResume.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFileResume.html" @@ -245,6 +245,7 @@ , toolbar: '#toolbarDemo' , height: '400' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -252,7 +253,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true} , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true } @@ -291,10 +292,10 @@ , { field: '鍒濆妯″叿瑙勬牸', title: '鍒濆鍣ㄥ叿瑙勬牸', sort: true } , { field: '褰撳墠璁捐瀵垮懡', title: '褰撳墠璁捐瀵垮懡', sort: true } , { field: '鍒濆璁捐瀵垮懡', title: '鍒濆璁捐瀵垮懡', sort: true } - , { field: '浣跨敤瀵垮懡', title: '浣跨敤瀵垮懡', sort: true } - , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', sort: true } - , { field: '宸茬敓浜ф暟閲�', title: '宸茬敓浜ф暟閲�', sort: true } - , { field: '宸茬敓浜ч噸閲�', title: '宸茬敓浜ч噸閲�', sort: true } + , { field: '浣跨敤瀵垮懡', title: '浣跨敤瀵垮懡', sort: true, totalRow: true } + , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', sort: true, totalRow: true } + , { field: '宸茬敓浜ф暟閲�', title: '宸茬敓浜ф暟閲�', sort: true, totalRow: true } + , { field: '宸茬敓浜ч噸閲�', title: '宸茬敓浜ч噸閲�', sort: true, totalRow: true } , { field: '澶囨敞', title: '澶囨敞', sort: true } , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', sort: true } , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', sort: true } @@ -320,6 +321,7 @@ //, toolbar: '#toolbarDemo' , height: '350' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -335,7 +337,7 @@ , { field: '鍣ㄥ叿鍚嶇О', title: '鍣ㄥ叿鍚嶇О', width: 200 } , { field: '鍣ㄥ叿瑙勬牸', title: '鍣ㄥ叿瑙勬牸', width: 200 } , { field: '鍣ㄥ叿鍨嬪彿', title: '鍣ㄥ叿鍨嬪彿', width: 200 } - , { field: '鏁伴噺', title: '鏁伴噺', width: 200 } + , { field: '鏁伴噺', title: '鏁伴噺', width: 200, totalRow: true} , { field: '浠撳簱', title: '浠撳簱', width: 200 } , { field: '浠撲綅', title: '浠撲綅', width: 200 } , { field: '璋冨嚭浠撳簱', title: '璋冨嚭浠撳簱', width: 200 } @@ -359,6 +361,7 @@ //, toolbar: '#toolbarDemo' , height: '350' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -377,10 +380,10 @@ , { field: '鍣ㄥ叿鍚嶇О', title: '鍣ㄥ叿鍚嶇О', width: 200 } , { field: '鍣ㄥ叿瑙勬牸', title: '鍣ㄥ叿瑙勬牸', width: 200 } , { field: '鍣ㄥ叿鍨嬪彿', title: '鍣ㄥ叿鍨嬪彿', width: 200 } - , { field: '鐢熶骇鏁伴噺', title: '鐢熶骇鏁伴噺', width: 200 } - , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 200 } - , { field: '鑰楃敤瀵垮懡', title: '鑰楃敤瀵垮懡', width: 200 } - , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 200 } + , { field: '鐢熶骇鏁伴噺', title: '鐢熶骇鏁伴噺', width: 200, totalRow: true } + , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 200, totalRow: true } + , { field: '鑰楃敤瀵垮懡', title: '鑰楃敤瀵垮懡', width: 200, totalRow: true } + , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 200, totalRow: true } , { field: '鍒跺崟浜�', title: '鍒跺崟浜�' } , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', templet: "<div>{{d.鍒跺崟鏃ユ湡 ==null ?'':layui.util.toDateString(d.鍒跺崟鏃ユ湡, 'yyyy-MM-dd')}}</div>" } , { field: '瀹℃牳浜�', title: '瀹℃牳浜�' } @@ -400,6 +403,7 @@ //, toolbar: '#toolbarDemo' , height: '350' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -434,6 +438,7 @@ //, toolbar: '#toolbarDemo' , height: '350' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_Add_MouldRepairWorkBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_Add_MouldRepairWorkBillList.html" index 57fbd3e..25e6f2f 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_Add_MouldRepairWorkBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_Add_MouldRepairWorkBillList.html" @@ -912,7 +912,7 @@ function set_InitGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HRepairID', title: '缁翠慨椤圭洰ID', edit: 'text', hide: true } , { field: 'HRepairCode', title: '缁翠慨椤圭洰浠g爜', edit: 'text', event: "HRepairCode" } @@ -934,6 +934,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: true + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] @@ -947,14 +948,14 @@ function set_InitGrid1() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao1', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HMaterID', title: '閰嶄欢ID', edit: 'text', hide: true } , { field: 'HMaterNumber', title: '閰嶄欢浠g爜', edit: 'text', event: "HMaterNumber", } , { field: 'HUnitID', title: '鍗曚綅ID', edit: 'text', event: "", hide: true } , { field: 'HUnitNumber', title: '鍗曚綅浠g爜', edit: 'text', event: "HUnitNumber" } - , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', edit: 'text' } - , { field: 'HQtyMust', title: '鍗曚綅鐢ㄩ噺', edit: 'text' } + , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', edit: 'text', totalRow: true} + , { field: 'HQtyMust', title: '鍗曚綅鐢ㄩ噺', edit: 'text', totalRow: true } , { field: 'HRemark', title: '澶囨敞', edit: 'text' } , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo1', width: 150 } ]; @@ -963,6 +964,7 @@ , elem: '#mainTable1' , toolbar: '#toolbarDemo1' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_MouldRepairWorkBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_MouldRepairWorkBillList.html" index bc10be5..073fa89 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_MouldRepairWorkBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sb_MouldRepairWorkBillList.html" @@ -294,9 +294,10 @@ , limit: 50 , limits: [50, 500, 5000, 20000] , page: true + , totalRow: true , cellMinWidth: 90 , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: '鍗曟嵁ID', hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>" } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160 } @@ -313,8 +314,8 @@ , { field: '缁翠慨缁撴潫鏃ユ湡', title: '缁翠慨缁撴潫鏃ユ湡', width: 160, templet: "<div>{{d.缁翠慨缁撴潫鏃ユ湡 ==null ?'':layui.util.toDateString(d.缁翠慨缁撴潫鏃ユ湡, 'yyyy-MM-dd HH:mm:ss')}}</div>" } , { field: '缁翠慨鍐呭', title: '缁翠慨鍐呭', width: 200 } , { field: '鏃堕棿鍗曚綅', title: '鏃堕棿鍗曚綅', width: 200 } - , { field: '璁″垝缁翠慨宸ユ椂', title: '璁″垝缁翠慨宸ユ椂', width: 200 } - , { field: '瀹為檯缁翠慨宸ユ椂', title: '瀹為檯缁翠慨宸ユ椂', width: 200 } + , { field: '璁″垝缁翠慨宸ユ椂', title: '璁″垝缁翠慨宸ユ椂', width: 200 , totalRow: true} + , { field: '瀹為檯缁翠慨宸ユ椂', title: '瀹為檯缁翠慨宸ユ椂', width: 200, totalRow: true} , { field: 'HEmpID', title: 'HEmpID', width: 200, hide: true } , { field: '缁翠慨浜轰唬鐮�', title: '缁翠慨浜轰唬鐮�', width: 200 } , { field: '缁翠慨浜�', title: '缁翠慨浜�', width: 200 } @@ -334,7 +335,7 @@ , { field: '鍐呴儴鍗曟嵁鍙�', title: '鍐呴儴鍗曟嵁鍙�', width: 115 } , { field: '澶囨敞', title: '澶囨敞', width: 200 } , { field: 'hsubid', title: 'hsubid', width: 200, hide: true } - , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 200 } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 200, totalRow: true } //, { field: '琛屽叧闂汉', title: '琛屽叧闂汉', width: 200 } //, { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷', width: 200 } , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 200 } @@ -383,7 +384,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { if ($.inArray(data[i].name, titleData) > -1 ) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� @@ -394,6 +395,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -408,6 +416,7 @@ , data: data1.data , height:450 , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -444,6 +453,7 @@ //, toolbar: '#toolbarDemo' , height: '250' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -457,7 +467,7 @@ , { field: 'HManagerID', title: '璐熻矗浜篒D', width: 200, hide: true } , { field: 'HManagerCode', title: '璐熻矗浜轰唬鐮�', width: 200 } , { field: 'HManagerName', title: '璐熻矗浜�', width: 200 } - , { field: 'HMoney', title: '缁翠慨璐圭敤', width: 200 } + , { field: 'HMoney', title: '缁翠慨璐圭敤', width: 200, totalRow: true} , { field: 'HRemark', title: '澶囨敞', width: 200 } ]] }; @@ -474,6 +484,7 @@ //, toolbar: '#toolbarDemo' , height: '250' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -487,8 +498,8 @@ , { field: 'HUnitID', title: '鍗曚綅ID', width: 200, hide: true } , { field: 'HUnitNumber', title: '鍗曚綅浠g爜', width: 200 } , { field: 'HUnitName', title: '鍗曚綅鍚嶇О', width: 200 } - , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', width: 200 } - , { field: 'HQtyMust', title: '鏍囧噯鐢ㄩ噺', width: 200 } + , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', width: 200, totalRow: true } + , { field: 'HQtyMust', title: '鏍囧噯鐢ㄩ噺', width: 200, totalRow: true } , { field: 'HRemark', title: '澶囨敞', width: 200 } ]] }; diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldConkBookBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldConkBookBillList.html" index cbc4f7c..90bcd8e 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldConkBookBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldConkBookBillList.html" @@ -513,7 +513,7 @@ function set_InitGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HConkReasonID', title: 'HConkReasonID', edit: 'text', hide: true } , { field: 'HConkReasonCode', title: '鏁呴殰鍘熷洜浠g爜', edit: 'text', event: "HConkReasonCode" } @@ -530,6 +530,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldDotCheckBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldDotCheckBillList.html" index 0f7674a..029a260 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldDotCheckBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldDotCheckBillList.html" @@ -535,7 +535,7 @@ function set_InitGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HDotCheckItemID', title: '鐐规ID', edit: 'text', hide: true } , { field: 'HDotCheckItem', title: '鐐规椤圭洰', edit: 'text', event: 'HDotCheckItem' } @@ -552,6 +552,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldDotCheckPlanBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldDotCheckPlanBillList.html" index fea7719..03463a3 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldDotCheckPlanBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldDotCheckPlanBillList.html" @@ -385,7 +385,7 @@ function set_InitGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HDotCheckItemID', title: '鐐规椤圭洰ID', edit: 'text', hide: true } , { field: 'HDotCheckItem', title: '鐐规椤圭洰', edit: 'text', event: "HDotCheckCode" } @@ -402,6 +402,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: true + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldMaintainBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldMaintainBillList.html" index 48f6329..7367618 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldMaintainBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldMaintainBillList.html" @@ -878,7 +878,7 @@ function Table1() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left' } , { field: 'HMaintainItemID', title: '淇濆吇椤圭洰ID', edit: 'text', hide: true } , { field: 'HMaintainItemNumber', title: '淇濆吇椤圭洰浠g爜', edit: 'text', event: 'HMaintainItemNumber' } @@ -896,6 +896,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] @@ -909,7 +910,7 @@ function Table2() { //琛ㄥご columns1 = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao1', title: '搴忓彿', sort: true, fixed: 'left'} , { field: 'HMaterID', title: '閰嶄欢ID', edit: 'text', hide: true } , { field: 'HMaterNumber', title: '閰嶄欢浠g爜', edit: 'text', event: "HMaterNumber" } @@ -918,8 +919,8 @@ , { field: 'HUnitID', title: '鍗曚綅ID', edit: 'text', hide: true } , { field: 'HUnitNumber', title: '鍗曚綅浠g爜', edit: 'text', event: "HUnitNumber" } , { field: 'HUnitName', title: '鍗曚綅鍚嶇О' } - , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', edit: 'text' } - , { field: 'HQtyMust', title: '鏍囧噯鐢ㄩ噺', edit: 'text' } + , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', edit: 'text', totalRow: true } + , { field: 'HQtyMust', title: '鏍囧噯鐢ㄩ噺', edit: 'text', totalRow: true } , { field: 'HRemark', title: '澶囨敞', edit: 'text' } , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo1' } ]; @@ -928,6 +929,7 @@ , elem: '#mainTable1' , toolbar: '#toolbarDemo1' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns1] diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldMaintainPlanBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldMaintainPlanBillList.html" index 17441ae..4c4e255 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldMaintainPlanBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldMaintainPlanBillList.html" @@ -398,7 +398,7 @@ function set_InitGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HMaintainItemID', title: '淇濆吇椤圭洰ID', edit: 'text', hide: true } , { field: 'HMaintainItemNumber', title: '淇濆吇椤圭洰浠g爜', edit: 'text', event: 'HMaintainItemNumber' } @@ -416,6 +416,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] @@ -429,14 +430,14 @@ function set_InitGrid1() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao1', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HMaterID', title: '閰嶄欢ID', edit: 'text', hide: true } , { field: 'HMaterNumber', title: '閰嶄欢浠g爜', edit: 'text', event: "HMaterNumber", } , { field: 'HUnitID', title: '鍗曚綅ID', edit: 'text', event: "", hide: true } , { field: 'HUnitNumber', title: '鍗曚綅浠g爜', edit: 'text', event: "HUnitNumber" } - , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', edit: 'text' } - , { field: 'HQtyMust', title: '鍗曚綅鐢ㄩ噺', edit: 'text' } + , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', edit: 'text', totalRow: true } + , { field: 'HQtyMust', title: '鍗曚綅鐢ㄩ噺', edit: 'text', totalRow: true} , { field: 'HRemark', title: '澶囨敞', edit: 'text' } , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo1', width: 150 } ]; @@ -444,6 +445,7 @@ id: 'mainTable1' , elem: '#mainTable1' , toolbar: '#toolbarDemo1' + , totalRow: true , page: false , cellMinWidth: 120 , height: 500 diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldRepairCheckBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldRepairCheckBillList.html" index d4c08b2..14c1eea 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldRepairCheckBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_Add_MouldRepairCheckBillList.html" @@ -503,7 +503,7 @@ function Table() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HRepairCheckID', title: 'HRepairCheckID', edit: 'text', hide: true } , { field: 'HRepairCheckCode', title: '楠屾敹椤圭洰浠g爜', edit: 'text', event: "HRepairCheckCode" } @@ -520,6 +520,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldConkBookBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldConkBookBillList.html" index c450d86..7c1754c 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldConkBookBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldConkBookBillList.html" @@ -313,7 +313,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { if ($.inArray(data[i].name, titleData) > -1 ) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� @@ -324,6 +324,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -338,6 +345,7 @@ , data: data1.data , height: 550 , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldDotCheckBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldDotCheckBillList.html" index c320913..de2f70e 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldDotCheckBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldDotCheckBillList.html" @@ -503,7 +503,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { if ($.inArray(data[i].name, titleData) > -1 ) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� @@ -513,6 +513,13 @@ //int case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); + break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); @@ -529,6 +536,7 @@ , data: data1.data , height: 750 , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldDotCheckPlanBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldDotCheckPlanBillList.html" index 819ade0..6051bb1 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldDotCheckPlanBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldDotCheckPlanBillList.html" @@ -231,6 +231,7 @@ , toolbar: '#toolbarDemo' , height: 750 , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -238,7 +239,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: '鍗曟嵁ID', hide: true, sort: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160, sort: true } @@ -260,7 +261,7 @@ , { field: 'HManagerID', title: 'HManagerID', width: 200, hide: true, sort: true } , { field: '璐熻矗浜轰唬鐮�', title: '璐熻矗浜轰唬鐮�', width: 200, sort: true } , { field: '璐熻矗浜�', title: '璐熻矗浜�', width: 200, sort: true } - , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 115, sort: true } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 115, sort: true, totalRow: true } , { field: '琛屽叧闂汉', title: '琛屽叧闂汉', width: 200, sort: true } , { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷', width: 200, hide: true, sort: true } , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 200, sort: true } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainBillList.html" index 258c919..249632c 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainBillList.html" @@ -291,11 +291,12 @@ , toolbar: '#toolbarDemo' , height: '400' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: '鍗曟嵁ID', hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>" } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160 } @@ -359,6 +360,7 @@ //, toolbar: '#toolbarDemo' , height: '350' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -389,6 +391,7 @@ //, toolbar: '#toolbarDemo' , height: '350' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -402,8 +405,8 @@ , { field: 'HUnitID', title: '鍗曚綅ID', width: 200, hide: true } , { field: 'HUnitNumber', title: '鍗曚綅浠g爜', width: 200} , { field: 'HUnitName', title: '鍗曚綅鍚嶇О', width: 200} - , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', width: 200} - , { field: 'HQtyMust', title: '鏍囧噯鐢ㄩ噺', width: 200 } + , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', width: 200, totalRow: true} + , { field: 'HQtyMust', title: '鏍囧噯鐢ㄩ噺', width: 200, totalRow: true } , { field: 'HManagerID', title: '璐熻矗浜篒D', width: 200, hide: true } , { field: 'HManagerNumber', title: '璐熻矗浜轰唬鐮�', width: 200} , { field: 'HManagerName', title: '璐熻矗浜�', width: 200 } @@ -432,7 +435,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { if ($.inArray(data[i].name, titleData) > -1 ) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� @@ -443,6 +446,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -458,6 +468,7 @@ , data: data1.data , height: 550 , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainPlanBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainPlanBillList.html" index caa619e..b33c9b8 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainPlanBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainPlanBillList.html" @@ -269,6 +269,7 @@ , toolbar: '#toolbarDemo' , height: 450 , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -276,7 +277,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: '鍗曟嵁ID', hide: true, sort: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160, sort: true } @@ -296,8 +297,8 @@ , { field: '鍗曚綅浠g爜', title: '鍗曚綅浠g爜', width: 200, sort: true } , { field: '鍗曚綅鍚嶇О', title: '鍗曚綅鍚嶇О', width: 200, sort: true } , { field: '鐢ㄩ噺', title: '鐢ㄩ噺', width: 200, sort: true } - , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 200, sort: true } - , { field: '鏍囧噯鐢ㄩ噺', title: '鏍囧噯鐢ㄩ噺', width: 115, sort: true } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 200, sort: true, totalRow: true } + , { field: '鏍囧噯鐢ㄩ噺', title: '鏍囧噯鐢ㄩ噺', width: 115, sort: true, totalRow: true } , { field: '琛屽叧闂汉', title: '琛屽叧闂汉', width: 115, sort: true } , { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷', width: 200, sort: true } , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 200, hide: true, sort: true } @@ -328,6 +329,7 @@ //, toolbar: '#toolbarDemo' , height: '250' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -358,6 +360,7 @@ //, toolbar: '#toolbarDemo' , height: '250' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -371,8 +374,8 @@ , { field: 'HUnitID', title: '鍗曚綅ID', width: 200, hide: true } , { field: 'HUnitNumber', title: '鍗曚綅浠g爜', width: 200 } , { field: 'HUnitName', title: '鍗曚綅鍚嶇О', width: 200 } - , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', width: 200 } - , { field: 'HQtyMust', title: '鏍囧噯鐢ㄩ噺', width: 200 } + , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', width: 200, totalRow: true } + , { field: 'HQtyMust', title: '鏍囧噯鐢ㄩ噺', width: 200, totalRow: true } , { field: 'HRemark', title: '澶囨敞', width: 200 } ]] }; diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainRuleBillEdit.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainRuleBillEdit.html" index ce538da..7832b65 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainRuleBillEdit.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainRuleBillEdit.html" @@ -348,7 +348,7 @@ function Table() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HMaintainItemID', title: '淇濆吇椤圭洰ID', edit: 'text', hide: true } , { field: 'HMaintainItemNumber', title: '淇濆吇椤圭洰浠g爜', edit: 'text', event: 'HMaintainItemNumber' } @@ -365,6 +365,7 @@ id: 'mainTable' , elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , page: false , cellMinWidth: 120 , height: 500 @@ -378,7 +379,7 @@ function Table1() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HMaterID', title: '閰嶄欢ID', edit: 'text', hide: true } , { field: 'HMaterNumber', title: '閰嶄欢浠g爜', edit: 'text', event: "HMaterCode" } @@ -394,6 +395,7 @@ id: 'mainTable1' , elem: '#mainTable1' , toolbar: '#toolbarDemo1' + , totalRow: true , height: 500 , page: true , limit: 500 diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainRuleBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainRuleBillList.html" index d506065..8fba85e 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainRuleBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldMaintainRuleBillList.html" @@ -330,6 +330,7 @@ , height: '350' , page: true , cellMinWidth: 90 + , totalRow: true , loading: false , cols: [[ //{ type: 'checkbox', fixed: 'left' } @@ -357,6 +358,7 @@ , height: '350' , page: true , cellMinWidth: 90 + , totalRow: true , loading: false , cols: [[ //{ type: 'checkbox', fixed: 'left' } @@ -367,8 +369,8 @@ , { field: '鍗曚綅ID', title: '鍗曚綅ID', width: 200, hide: true } , { field: '璁¢噺鍗曚綅浠g爜', title: '璁¢噺鍗曚綅浠g爜', width: 200 } , { field: '璁¢噺鍗曚綅鍚嶇О', title: '璁¢噺鍗曚綅鍚嶇О', width: 200 } - , { field: '鐢ㄩ噺', title: '鐢ㄩ噺', width: 200 } - , { field: '鏍囧噯鐢ㄩ噺', title: '鏍囧噯鐢ㄩ噺', width: 200 } + , { field: '鐢ㄩ噺', title: '鐢ㄩ噺', width: 200, totalRow: true } + , { field: '鏍囧噯鐢ㄩ噺', title: '鏍囧噯鐢ㄩ噺', width: 200, totalRow: true } , { field: '瀛愬娉�', title: '澶囨敞', width: 200 } ]] }; @@ -394,7 +396,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { if ($.inArray(data[i].name, titleData) >-1 ) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� @@ -405,6 +407,14 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; + default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -419,6 +429,7 @@ , data: data1.data , height: 550 , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldOtherInBill.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldOtherInBill.html" index 234baca..c7a7a27 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldOtherInBill.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldOtherInBill.html" @@ -595,20 +595,20 @@ function Table() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100, hide: true } , { field: 'HMaterCode', title: '鍣ㄥ叿浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } , { field: 'HMaterName', title: '鍣ㄥ叿鍚嶇О', edit: 'text', width: 100 } , { field: 'HMaterSpec', title: '瑙勬牸鍨嬪彿', edit: 'text', width: 100 } , { field: 'HBatchNo', title: '鎵规', edit: 'text', width: 100 } - , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100 } - , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100 } - , { field: 'HUseLife', title: '绱Н浣跨敤瀵垮懡', edit: 'text', width: 100 } - , { field: 'HQtyMust', title: '搴斿彂鏁伴噺', edit: 'text', width: 100 } - , { field: 'HQty', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100 } - , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100 } - , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100 } + , { field: 'HDesignLife', title: '璁捐瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HLeaveLife', title: '鍓╀綑瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HUseLife', title: '绱Н浣跨敤瀵垮懡', edit: 'text', width: 100, totalRow: true } + , { field: 'HQtyMust', title: '搴斿彂鏁伴噺', edit: 'text', width: 100, totalRow: true } + , { field: 'HQty', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100, totalRow: true } + , { field: 'HPrice', title: '鍗曚环', edit: 'text', width: 100, totalRow: true} + , { field: 'HMoney', title: '閲戦', edit: 'text', width: 100, totalRow: true } , { field: 'HWHID', title: 'HWHID', edit: 'text', width: 100, hide: true } , { field: 'HWHCode', title: '鍙戞枡浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 100 } , { field: 'HWHName', title: '鍙戞枡浠撳簱', edit: 'text', width: 100 } @@ -623,6 +623,7 @@ id: 'mainTable' , elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , page: false , cellMinWidth: 120 , height: 500 @@ -635,14 +636,14 @@ function Table1() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', edit: 'text', event: 'HMaterCode', width: 100 } , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', edit: 'text', width: 100 } , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', edit: 'text', width: 100 } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', edit: 'text', width: 100 } , { field: '鎵规', title: '鎵规', edit: 'text', width: 100 } - , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100 } + , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', edit: 'text', width: 100, totalRow: true } , { field: 'HWHSonID', title: 'HWHSonID', edit: 'text', width: 100, hide: true } , { field: '鍙戞枡浠撳簱浠g爜', title: '鍙戞枡浠撳簱浠g爜', edit: 'text', event: 'HWHCode', width: 120 } , { field: '鍙戞枡浠撳簱', title: '鍙戞枡浠撳簱', edit: 'text', width: 120 } @@ -653,6 +654,7 @@ , elem: '#mainTable1' , height: 500 , page: true + , totalRow: true , limit: 500 , cellMinWidth: 120 , height: 500 diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldOtherInBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldOtherInBillList.html" index 5c6365a..f1e0a2d 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldOtherInBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldOtherInBillList.html" @@ -182,6 +182,7 @@ elem: '#mainTable' , toolbar: '#toolbarDemo' , height: 'full-50' + , totalRow: true , page: true , cellMinWidth: 90 , limits: [50, 500, 5000, 20000] @@ -190,7 +191,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { field: 'hmainid', title: '鍗曟嵁ID', hide: true, sort: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 125, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 195, sort: true } @@ -229,14 +230,14 @@ , { field: 'HSPID', title: 'HSPID', width: 200, hide: true, sort: true } , { field: '浠撲綅浠g爜', title: '浠撲綅浠g爜', width: 125, sort: true } , { field: '浠撲綅', title: '浠撲綅', width: 125, sort: true } - , { field: '搴斿彂鏁伴噺', title: '搴斿彂鏁伴噺', width: 125, sort: true } - , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', width: 125, sort: true } - , { field: '鍗曚环', title: '鍗曚环', width: 125, sort: true } - , { field: '閲戦', title: '閲戦', width: 125, sort: true } - , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 125, sort: true } - , { field: '绱Н浣跨敤瀵垮懡', title: '绱Н浣跨敤瀵垮懡', width: 125, sort: true } - , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 125, sort: true } - , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 125, sort: true } + , { field: '搴斿彂鏁伴噺', title: '搴斿彂鏁伴噺', width: 125, sort: true, totalRow: true } + , { field: '瀹炲彂鏁伴噺', title: '瀹炲彂鏁伴噺', width: 125, sort: true, totalRow: true } + , { field: '鍗曚环', title: '鍗曚环', width: 125, sort: true, totalRow: true } + , { field: '閲戦', title: '閲戦', width: 125, sort: true, totalRow: true} + , { field: '璁捐瀵垮懡', title: '璁捐瀵垮懡', width: 125, sort: true, totalRow: true } + , { field: '绱Н浣跨敤瀵垮懡', title: '绱Н浣跨敤瀵垮懡', width: 125, sort: true, totalRow: true} + , { field: '鍓╀綑瀵垮懡', title: '鍓╀綑瀵垮懡', width: 125, sort: true, totalRow: true} + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 125, sort: true, totalRow: true} , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 125, sort: true } , { field: '绾㈣摑鍗曟爣璁�', title: '绾㈣摑鍗曟爣璁�', width: 125, sort: true } , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 125, sort: true } diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldRepairCheckBillList.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldRepairCheckBillList.html" index 589241b..faf4f8a 100644 --- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldRepairCheckBillList.html" +++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Sc_MouldRepairCheckBillList.html" @@ -224,6 +224,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -231,7 +232,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: '鍗曟嵁ID', hide: true, sort: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160, sort: true } @@ -253,7 +254,7 @@ , { field: '鍐呴儴鍗曟嵁鍙�', title: '鍐呴儴鍗曟嵁鍙�', width: 200, sort: true } , { field: '澶囨敞', title: '澶囨敞', width: 200, sort: true } , { field: 'hsubid', title: 'hsubid', width: 200, hide: true, sort: true } - , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 115, hide: true, sort: true } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 115, hide: true, sort: true, totalRow: true} , { field: '琛屽叧闂汉', title: '琛屽叧闂汉', width: 115, sort: true } , { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷', width: 200, sort: true } , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 200, hide: true, sort: true } diff --git "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\242\236\345\212\240\344\270\215\350\211\257\350\257\204\345\256\241\345\215\225/QC_Add_NoPassProdCheckBill.html" "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\242\236\345\212\240\344\270\215\350\211\257\350\257\204\345\256\241\345\215\225/QC_Add_NoPassProdCheckBill.html" index 9e1d99b..54e57ec 100644 --- "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\242\236\345\212\240\344\270\215\350\211\257\350\257\204\345\256\241\345\215\225/QC_Add_NoPassProdCheckBill.html" +++ "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\242\236\345\212\240\344\270\215\350\211\257\350\257\204\345\256\241\345\215\225/QC_Add_NoPassProdCheckBill.html" @@ -185,12 +185,13 @@ var option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , height: 500 //,url: '/demo/table/user/' //鏁版嵁鎺ュ彛 , page: true //寮�鍚垎椤� , cols: [[ //琛ㄥご - {type:'checkbox', fixed: 'left'} - ,{ templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left',event:"qwe" } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} + , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", totalRow: true } , { field: 'HWasterReasonName', title: '涓嶈壇鍘熷洜', event: "ReasonNameEvent" } , { field: 'HBadReasonID', title: '涓嶈壇鍘熷洜id' } , { field: 'HEmpName', title: '璐d换浜�', edit: 'text', event: "EmpNameEvent" } diff --git "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\242\236\345\212\240\344\270\215\350\211\257\350\257\204\345\256\241\345\215\225/QC_NoPassProdCheckBillList.html" "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\242\236\345\212\240\344\270\215\350\211\257\350\257\204\345\256\241\345\215\225/QC_NoPassProdCheckBillList.html" index 708c86d..4ea5aac 100644 --- "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\242\236\345\212\240\344\270\215\350\211\257\350\257\204\345\256\241\345\215\225/QC_NoPassProdCheckBillList.html" +++ "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\242\236\345\212\240\344\270\215\350\211\257\350\257\204\345\256\241\345\215\225/QC_NoPassProdCheckBillList.html" @@ -233,6 +233,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , height: 'full-50' , page: true , cellMinWidth: 90 @@ -242,8 +243,8 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox' } - , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } + { type: 'checkbox', totalRowText: '鍚堣琛�'} + , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true, totalRow: true } , { field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>" } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170 } , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞', sort: true } diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/Sc_MESExecptFeedBackBillList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/Sc_MESExecptFeedBackBillList.html" index 063f791..1c13a64 100644 --- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/Sc_MESExecptFeedBackBillList.html" +++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\274\202\345\270\270\345\217\215\351\246\210\345\215\225/Sc_MESExecptFeedBackBillList.html" @@ -255,6 +255,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , page: true , cellMinWidth: 120 , height: 'full-50' @@ -284,7 +285,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') { if ($.inArray(data[i].name, titleData) > -1) { @@ -296,6 +297,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 120 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120 }); } diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpConkBookBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpConkBookBillList.html" index f0f1f28..e7f3012 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpConkBookBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpConkBookBillList.html" @@ -220,8 +220,9 @@ , height: 500 //,url: '/demo/table/user/' //鏁版嵁鎺ュ彛 , page: true //寮�鍚垎椤� + , totalRow: true , cols: [[ //琛ㄥご - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HConkReasonID', title: 'HConkReasonID', edit: 'text', hide: true } , { field: 'HConkReasonCode', title: '鏁呴殰鍘熷洜浠g爜', edit: 'text', event: "HConkReasonCode" } diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpMaintenanceBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpMaintenanceBillList.html" index b96d197..c4f3e8f 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpMaintenanceBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpMaintenanceBillList.html" @@ -763,7 +763,7 @@ function set_InitGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HRepairID', title: 'HRepairID', edit: 'text', event: "", hide: true } , { field: 'HRepairCode', title: '缁翠慨椤圭洰浠g爜', edit: 'text', event: "", event: "HRepairCode" } @@ -784,6 +784,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: true + , totalRow: true , cellMinWidth: 120 , height: 300 , cols: [columns] @@ -797,7 +798,7 @@ function set_InitGrid_pj() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao1', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HMaterID', title: '閰嶄欢ID', edit: 'text', hide: true } , { field: 'HMaterNumber', title: '閰嶄欢浠g爜', edit: 'text', event: "HMaterCode" } @@ -808,7 +809,7 @@ , { field: 'HManagerID', title: '璐熻矗浜篒D', edit: 'text', hide: true } , { field: 'HManagerNumber', title: '璐熻矗浜轰唬鐮�', edit: 'text', event: 'HManagerNumber' } , { field: 'HManagerName', title: '璐熻矗浜�', edit: 'text' } - , { field: 'HQty', title: '鐢ㄩ噺', edit: 'text' } + , { field: 'HQty', title: '鐢ㄩ噺', edit: 'text', totalRow: true } , { field: 'HRemark', title: '澶囨敞', edit: 'text' } , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo1', width: 150 } ]; @@ -817,6 +818,7 @@ , elem: '#mainTable1' , toolbar: '#toolbarDemo1' , page: true + , totalRow: true , cellMinWidth: 120 , height: 300 , cols: [columns] diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpRepairCheckBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpRepairCheckBillList.html" index 051c359..20cce06 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpRepairCheckBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpRepairCheckBillList.html" @@ -522,7 +522,7 @@ function set_InitGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HRepairCheckID', title: 'HRepairCheckID', hide: true } , { field: 'HRepairCheckCode', title: '楠屾敹椤圭洰浠g爜', edit: 'text', event: "HRepairCheckCode" } @@ -539,6 +539,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpConkBookBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpConkBookBillList.html" index e867925..a077065 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpConkBookBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpConkBookBillList.html" @@ -430,7 +430,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { if ($.inArray(data[i].name, titleData) > -1) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� @@ -441,6 +441,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -455,6 +462,7 @@ , data: data1.data , height: 550 , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpMaintenanceBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpMaintenanceBillList.html" index 4970a69..50d411b 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpMaintenanceBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpMaintenanceBillList.html" @@ -378,7 +378,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'}); for (var i = 0; i < data.length; i++) { if ($.inArray(data[i].name, titleData) > -1 ) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� @@ -389,6 +389,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -403,6 +410,7 @@ , data: data1.data , height: 550 , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpRepairCheckBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpRepairCheckBillList.html" index 2d60fbb..0a800d2 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpRepairCheckBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpRepairCheckBillList.html" @@ -239,6 +239,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -246,7 +247,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: '鍗曟嵁ID', hide: true ,sort:true} , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true} , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160, sort: true } @@ -287,7 +288,7 @@ , { field: '婧愬崟瀛愬唴鐮�', title: '婧愬崟瀛愬唴鐮�', width: 200, hide: true, sort: true } , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', width: 200, sort: true } , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷', width: 200, sort: true } - , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 200, sort: true } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 200, sort: true, totalRow: true } , { field: 'HBillType', title: 'HBillType', width: 200, hide: true, sort: true } ]] diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillEdit.html" index a0c89e6..63a0883 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillEdit.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillEdit.html" @@ -526,7 +526,7 @@ function set_InitGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HDotCheckItemID', title: '鐐规椤圭洰ID', edit: 'text', hide: true } , { field: 'HDotCheckCode', title: '鐐规椤圭洰浠g爜', edit: 'text', event: "HDotCheckCode" } @@ -544,6 +544,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: true + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillList.html" index 177f9c3..0169a23 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckBillList.html" @@ -361,7 +361,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { if ($.inArray(data[i].name, titleData) > -1 ) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� @@ -372,6 +372,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -386,6 +393,7 @@ , data: data1.data , height: 800 , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckPlanBillEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckPlanBillEdit.html" index f364e52..156cc3c 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckPlanBillEdit.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckPlanBillEdit.html" @@ -378,7 +378,7 @@ function set_InitGrid() { //鐐规椤圭洰 columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HDotCheckItemID', title: '鐐规椤圭洰ID', edit: 'text', hide: true } , { field: 'HDotCheckCode', title: '鐐规椤圭洰浠g爜', edit: 'text', event: "HDotCheckCode" } @@ -396,6 +396,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: true + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] @@ -406,7 +407,7 @@ //鐐规璁″垝 columns_plan = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { templet: '#xuhao', title: '搴忓彿', sort: true, event: "qwe" } , { field: 'HPlanDate', title: '璁″垝鏃ユ湡' } , { field: 'HPlanBeginTime', title: '璁″垝寮�濮嬫椂闂寸偣' } @@ -419,6 +420,7 @@ , elem: '#mainTable_plan' , toolbar: '#toolbarDemo' , page: true + , totalRow: true , limit: 500 , limits:[50,200,500,1000,3000] , cellMinWidth: 120 diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckPlanBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckPlanBillList.html" index 307aad9..bd12ba1 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckPlanBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipDotCheckPlanBillList.html" @@ -283,6 +283,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -290,7 +291,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { field: 'hmainid', title: 'hmainid', hide: true, sort: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160, sort: true } @@ -310,7 +311,7 @@ , { field: '璐熻矗浜�', title: '璐熻矗浜�', width: 200, sort: true } , { field: 'hsubid', title: 'hsubid', width: 200, hide: true, sort: true } , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 200, sort: true } - , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 200, sort: true } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 200, sort: true, totalRow: true} , { field: '鍏宠仈閲戦', title: '鍏宠仈閲戦', width: 200, sort: true } , { field: '琛屽叧闂汉', title: '琛屽叧闂汉', width: 115, hide: true, sort: true } , { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷', width: 200, sort: true } diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainBillEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainBillEdit.html" index 445c1fa..8f1c292 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainBillEdit.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainBillEdit.html" @@ -679,7 +679,7 @@ function Table() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HMaintainItemID', title: '淇濆吇椤圭洰ID', edit: 'text', hide: true } , { field: 'HMaintainItemNumber', title: '淇濆吇椤圭洰浠g爜', hide: true ,edit: 'text' } @@ -697,6 +697,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] @@ -708,7 +709,7 @@ function Table1() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { templet: '#xuhao1', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HMaterID', title: '閰嶄欢ID', edit: 'text', hide: true } , { field: 'HMaterNumber', title: '閰嶄欢浠g爜', edit: 'text', event: "HMaterCode" } @@ -719,7 +720,7 @@ //, { field: 'HManagerID', title: '璐熻矗浜篒D', edit: 'text', hide: true } //, { field: 'HManagerNumber', title: '璐熻矗浜轰唬鐮�', edit: 'text', event: 'HManagerNumber' } //, { field: 'HManagerName', title: '璐熻矗浜�', edit: 'text' } - , { field: 'HQty', title: '鐢ㄩ噺', edit: 'text' } + , { field: 'HQty', title: '鐢ㄩ噺', edit: 'text', totalRow: true } , { field: 'HRemark', title: '澶囨敞', edit: 'text' } , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo', width: 150 } ]; @@ -729,6 +730,7 @@ , toolbar: '#toolbarDemo1' , height: 500 , page: true + , totalRow: true , limit: 500 , cellMinWidth: 120 , height: 500 diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainBillList.html" index 520ad51..84134e5 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainBillList.html" @@ -334,11 +334,12 @@ , toolbar: '#toolbarDemo' , height: '400' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { field: 'hmainid', title: 'hmainid', hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>" } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160 } @@ -354,13 +355,13 @@ , { field: '閰嶄欢浠g爜', title: '閰嶄欢浠g爜', width: 115, hide: true } , { field: '閰嶄欢鍚嶇О', title: '閰嶄欢鍚嶇О', width: 200 } , { field: '鍗曚綅鍚嶇О', title: '鍗曚綅鍚嶇О', width: 200 } - , { field: '瀹為檯鐢ㄩ噺', title: '瀹為檯鐢ㄩ噺', width: 200 } - , { field: '鏍囧噯鐢ㄩ噺', title: '鏍囧噯鐢ㄩ噺', width: 200 } + , { field: '瀹為檯鐢ㄩ噺', title: '瀹為檯鐢ㄩ噺', width: 200, totalRow: true} + , { field: '鏍囧噯鐢ㄩ噺', title: '鏍囧噯鐢ㄩ噺', width: 200 , totalRow: true} , { field: '璐熻矗浜�', title: '璐熻矗浜�', width: 200 } , { field: 'hsubid', title: 'hsubid', width: 200, hide: true } , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 200 } - , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 200 } - , { field: '鍏宠仈閲戦', title: '鍏宠仈閲戦', width: 200 } + , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', width: 200 , totalRow: true} + , { field: '鍏宠仈閲戦', title: '鍏宠仈閲戦', width: 200, totalRow: true} , { field: '琛屽叧闂汉', title: '琛屽叧闂汉', width: 115, hide: true } , { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷', width: 200 } , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 200, hide: true } @@ -412,6 +413,7 @@ //, toolbar: '#toolbarDemo' , height: '350' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -440,6 +442,7 @@ elem: '#mainTable2' //, toolbar: '#toolbarDemo' , height: '350' + , totalRow: true , page: true , cellMinWidth: 90 , limit: 50 @@ -457,8 +460,8 @@ //, { field: 'HManagerID', title: '璐熻矗浜篒D', width: 200, hide: true } //, { field: 'HManagerNumber', title: '璐熻矗浜轰唬鐮�', width: 200 } //, { field: 'HManagerName', title: '璐熻矗浜�', width: 200 } - , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', width: 200 } - , { field: 'HQtyMust', title: '鏍囧噯鐢ㄩ噺', width: 200 } + , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', width: 200, totalRow: true} + , { field: 'HQtyMust', title: '鏍囧噯鐢ㄩ噺', width: 200, totalRow: true } , { field: 'HRemark', title: '澶囨敞', width: 200 } ]] }; @@ -485,7 +488,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { if ($.inArray(data[i].name, titleData) > -1 ) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� @@ -496,6 +499,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -510,6 +520,7 @@ , data: data1.data , height: 550 , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainPlanBillEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainPlanBillEdit.html" index 90e521e..310c62c 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainPlanBillEdit.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainPlanBillEdit.html" @@ -459,7 +459,7 @@ function Table() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HMaintainItemID', title: '淇濆吇椤圭洰ID', edit: 'text', hide: true } , { field: 'HMaintainItemNumber', title: '淇濆吇椤圭洰浠g爜', edit: 'text', event: 'HMaintainItemNumber' } @@ -477,6 +477,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] @@ -489,7 +490,7 @@ function Table1() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HMaterID', title: '閰嶄欢ID', edit: 'text', hide: true } , { field: 'HMaterNumber', title: '閰嶄欢浠g爜', edit: 'text', event: "HMaterCode" } @@ -500,7 +501,7 @@ //, { field: 'HManagerID', title: '璐熻矗浜篒D', edit: 'text', hide: true } //, { field: 'HManagerNumber', title: '璐熻矗浜轰唬鐮�', edit: 'text', event: 'HManagerNumber' } //, { field: 'HManagerName', title: '璐熻矗浜�', edit: 'text' } - , { field: 'HQty', title: '鐢ㄩ噺', edit: 'text' } + , { field: 'HQty', title: '鐢ㄩ噺', edit: 'text', totalRow: true } , { field: 'HRemark', title: '澶囨敞', edit: 'text' } , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo1', width: 150 } ]; @@ -510,6 +511,7 @@ , toolbar: '#toolbarDemo1' , height: 500 , page: true + , totalRow: true , limit: 500 , cellMinWidth: 120 , height: 500 @@ -522,7 +524,7 @@ function Table3() { //鐐规璁″垝 columns_plan = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, event: "qwe" } , { field: 'HPlanDate', title: '璁″垝鏃ユ湡' } , { field: 'HPlanBeginTime', title: '璁″垝寮�濮嬫椂闂寸偣' } @@ -535,6 +537,7 @@ , elem: '#mainTable_plan' , toolbar: '#toolbarDemo' , page: true + , totalRow: true , limit: 500 , limits: [50, 200, 500, 1000, 3000] , cellMinWidth: 120 diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainPlanBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainPlanBillList.html" index a0e73ea..6eeabd7 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainPlanBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EquipMaintainPlanBillList.html" @@ -317,6 +317,7 @@ , toolbar: '#toolbarDemo' , height: '400' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -324,7 +325,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: 'hmainid', hide: true, sort: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160, sort: true } @@ -365,6 +366,7 @@ //, toolbar: '#toolbarDemo' , height: '350' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -394,6 +396,7 @@ //, toolbar: '#toolbarDemo' , height: '350' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -410,8 +413,8 @@ , { field: 'HManagerID', title: '璐熻矗浜篒D', width: 200, hide: true} , { field: 'HManagerNumber', title: '璐熻矗浜轰唬鐮�', width: 200 } , { field: 'HManagerName', title: '璐熻矗浜�', width: 200 } - , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', width: 200 } - , { field: 'HQtyMust', title: '鏍囧噯鐢ㄩ噺', width: 200 } + , { field: 'HQty', title: '瀹為檯鐢ㄩ噺', width: 200, totalRow: true } + , { field: 'HQtyMust', title: '鏍囧噯鐢ㄩ噺', width: 200, totalRow: true } , { field: 'HRemark', title: '澶囨敞', width: 200 } ]] }; diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\205\245\345\272\223/Sb_EquipStockInCheckBill.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\205\245\345\272\223/Sb_EquipStockInCheckBill.html" index 11481d2..38973b1 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\205\245\345\272\223/Sb_EquipStockInCheckBill.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\205\245\345\272\223/Sb_EquipStockInCheckBill.html" @@ -468,6 +468,7 @@ , limit: 500 , height: 500 , loading: false + , totalRow: true , cols: [[ //琛ㄥご { type: 'checkbox', totalRowText: '鍚堣琛�' } , { type: 'numbers', title: '搴忓彿', totalRow: true } diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\205\245\345\272\223/Sb_EquipStockInCheckBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\205\245\345\272\223/Sb_EquipStockInCheckBillList.html" index 0238954..009ee97 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\205\245\345\272\223/Sb_EquipStockInCheckBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\205\245\345\272\223/Sb_EquipStockInCheckBillList.html" @@ -194,6 +194,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -201,7 +202,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: 'hmainid', sort: true, width: 165, hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>" ,sort:true} , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170 } diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\205\245\345\272\223\346\243\200\351\252\214\351\252\214\346\224\266\345\215\225/Sb_EquipStockInCheckBillEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\205\245\345\272\223\346\243\200\351\252\214\351\252\214\346\224\266\345\215\225/Sb_EquipStockInCheckBillEdit.html" index 139bdf6..1fcd141 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\205\245\345\272\223\346\243\200\351\252\214\351\252\214\346\224\266\345\215\225/Sb_EquipStockInCheckBillEdit.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\205\245\345\272\223\346\243\200\351\252\214\351\252\214\346\224\266\345\215\225/Sb_EquipStockInCheckBillEdit.html" @@ -425,7 +425,7 @@ function set_InitGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HQCCheckClassID', title: 'HQCCheckClassID', edit: 'text', hide: true } , { field: 'HQCCheckClassName', title: '妫�楠岄」鐩被鍒�', edit: 'text', event: "HQCCheckClassCode" } @@ -445,6 +445,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: true + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\205\245\345\272\223\346\243\200\351\252\214\351\252\214\346\224\266\345\215\225/Sb_EquipStockInCheckBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\205\245\345\272\223\346\243\200\351\252\214\351\252\214\346\224\266\345\215\225/Sb_EquipStockInCheckBillList.html" index 93b9c9d..03d875b 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\205\245\345\272\223\346\243\200\351\252\214\351\252\214\346\224\266\345\215\225/Sb_EquipStockInCheckBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\205\245\345\272\223\346\243\200\351\252\214\351\252\214\346\224\266\345\215\225/Sb_EquipStockInCheckBillList.html" @@ -219,7 +219,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { if ($.inArray(data[i].name, titleData) > -1 ) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� @@ -230,6 +230,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -244,6 +251,7 @@ , data: data1.data , height:800 , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\244\207\345\223\201\345\244\207\344\273\266/Sb_EquipSparepartsBill.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\244\207\345\223\201\345\244\207\344\273\266/Sb_EquipSparepartsBill.html" index b4fa713..40de731 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\244\207\345\223\201\345\244\207\344\273\266/Sb_EquipSparepartsBill.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\244\207\345\223\201\345\244\207\344\273\266/Sb_EquipSparepartsBill.html" @@ -461,13 +461,14 @@ , toolbar: '#toolbarDemo' , limit: 500 , height: 500 + , totalRow: true , loading: false , cols: [[ //琛ㄥご { type: 'checkbox', totalRowText: '鍚堣琛�' } , { type: 'numbers', title: '搴忓彿', totalRow: true } , { field: 'HMaterID', title: 'HMaterID', width: 100, hide: true } , { field: '鍣ㄥ叿', title: '鍣ㄥ叿', width: 100, edit: 'text', event: "HMaterID" }//f7 - , { field: 'HQty', title: '鏁伴噺', edit: 'text' } + , { field: 'HQty', title: '鏁伴噺', edit: 'text', totalRow: true } , { field: 'HPartAddr', title: '閮ㄤ綅', edit: 'text' } , { field: 'HBeginDate', title: '寮�濮嬫椂闂�', width: 120, event: 'HBeginDate' } , { field: 'HEndDate', title: '鏈夋晥鏈熻嚦', width: 120, event: 'HEndDate' } diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\244\207\345\223\201\345\244\207\344\273\266/Sb_EquipSparepartsBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\244\207\345\223\201\345\244\207\344\273\266/Sb_EquipSparepartsBillList.html" index 39edd30..35d8ca0 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\244\207\345\223\201\345\244\207\344\273\266/Sb_EquipSparepartsBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\244\207\345\223\201\345\244\207\344\273\266/Sb_EquipSparepartsBillList.html" @@ -193,6 +193,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -201,7 +202,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'HMainID', title: 'HMainID', sort: true, width: 165, hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 165} , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170 } @@ -218,7 +219,7 @@ , { field: '骞�', title: '骞�', sort: true, width: 170 } , { field: '鏈�', title: '鏈�', sort: true, width: 170 } , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞' } - , { field: '鏁伴噺', title: '鏁伴噺', width: 160 } + , { field: '鏁伴噺', title: '鏁伴噺', width: 160, totalRow: true } , { field: '閮ㄤ綅', title: '閮ㄤ綅', width: 160 } , { field: '寮�濮嬫椂闂�', title: '寮�濮嬫椂闂�', width: 120, templet: "<div>{{d.寮�濮嬫椂闂� ==null ?'':layui.util.toDateString(d.寮�濮嬫椂闂�, 'yyyy-MM-dd')}}</div>" } , { field: '鏈夋晥鏈熻嚦', title: '鏈夋晥鏈熻嚦', width: 120, templet: "<div>{{d.鏈夋晥鏈熻嚦 ==null ?'':layui.util.toDateString(d.鏈夋晥鏈熻嚦, 'yyyy-MM-dd')}}</div>" } diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\244\207\345\223\201\345\244\207\344\273\266/Sb_EquipSparepartsChangeBill.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\244\207\345\223\201\345\244\207\344\273\266/Sb_EquipSparepartsChangeBill.html" index f1788e4..2026800 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\244\207\345\223\201\345\244\207\344\273\266/Sb_EquipSparepartsChangeBill.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\244\207\345\223\201\345\244\207\344\273\266/Sb_EquipSparepartsChangeBill.html" @@ -463,6 +463,7 @@ , toolbar: '#toolbarDemo' , limit: 500 , height: 500 + , totalRow: true , loading: false , cols: [[ //琛ㄥご { type: 'checkbox', totalRowText: '鍚堣琛�' } @@ -470,7 +471,7 @@ , { field: 'HMaterID_Old', title: 'HMaterID_Old', width: 100, hide: true } , { field: 'HMaterID_New', title: 'HMaterID_New', width: 100, hide: true } , { field: '鍣ㄥ叿', title: '鍣ㄥ叿', width: 100, edit: 'text', event: "HMaterID_New" }//f7 - , { field: 'HQty', title: '鏁伴噺', edit: 'text' } + , { field: 'HQty', title: '鏁伴噺', edit: 'text', totalRow: true } , { field: 'HPartAddr', title: '閮ㄤ綅', edit: 'text' } , { field: 'HBeginDate', title: '寮�濮嬫椂闂�', width: 120, event: 'HBeginDate' } , { field: 'HEndDate', title: '鏈夋晥鏈熻嚦', width: 120, event: 'HEndDate' } diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\244\207\345\223\201\345\244\207\344\273\266/Sb_EquipSparepartsChangeBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\244\207\345\223\201\345\244\207\344\273\266/Sb_EquipSparepartsChangeBillList.html" index 60a440c..63b3b00 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\244\207\345\223\201\345\244\207\344\273\266/Sb_EquipSparepartsChangeBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\345\244\207\345\223\201\345\244\207\344\273\266/Sb_EquipSparepartsChangeBillList.html" @@ -193,6 +193,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -200,7 +201,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'HMainID', title: 'HMainID', sort: true, width: 165, hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 165} , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170 } @@ -217,7 +218,7 @@ , { field: '骞�', title: '骞�', sort: true, width: 170 } , { field: '鏈�', title: '鏈�', sort: true, width: 170 } , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞' } - , { field: '鏁伴噺', title: '鏁伴噺', width: 160 } + , { field: '鏁伴噺', title: '鏁伴噺', width: 160, totalRow: true } , { field: '閮ㄤ綅', title: '閮ㄤ綅', width: 160 } , { field: '寮�濮嬫椂闂�', title: '寮�濮嬫椂闂�', width: 120, templet: "<div>{{d.寮�濮嬫椂闂� ==null ?'':layui.util.toDateString(d.寮�濮嬫椂闂�, 'yyyy-MM-dd')}}</div>" } , { field: '鏈夋晥鏈熻嚦', title: '鏈夋晥鏈熻嚦', width: 120, templet: "<div>{{d.鏈夋晥鏈熻嚦 ==null ?'':layui.util.toDateString(d.鏈夋晥鏈熻嚦, 'yyyy-MM-dd')}}</div>" } diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\212\225\344\272\247/Sb_EquipWorkBeforeCheckBill.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\212\225\344\272\247/Sb_EquipWorkBeforeCheckBill.html" index d91e819..15da12c 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\212\225\344\272\247/Sb_EquipWorkBeforeCheckBill.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\212\225\344\272\247/Sb_EquipWorkBeforeCheckBill.html" @@ -468,6 +468,7 @@ , limit: 500 , height: 500 , loading: false + , totalRow: true , cols: [[ //琛ㄥご { type: 'checkbox', totalRowText: '鍚堣琛�' } , { type: 'numbers', title: '搴忓彿', totalRow: true } diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\212\225\344\272\247/Sb_EquipWorkBeforeCheckBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\212\225\344\272\247/Sb_EquipWorkBeforeCheckBillList.html" index 2af0557..114734b 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\212\225\344\272\247/Sb_EquipWorkBeforeCheckBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\212\225\344\272\247/Sb_EquipWorkBeforeCheckBillList.html" @@ -194,6 +194,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -201,7 +202,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: 'hmainid', sort: true, width: 165, hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>",sort:true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170 } diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\212\225\344\272\247\346\243\200\351\252\214\351\252\214\346\224\266\345\215\225/Sb_EquipWorkBeforeCheckBillEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\212\225\344\272\247\346\243\200\351\252\214\351\252\214\346\224\266\345\215\225/Sb_EquipWorkBeforeCheckBillEdit.html" index cefc7d4..d87df74 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\212\225\344\272\247\346\243\200\351\252\214\351\252\214\346\224\266\345\215\225/Sb_EquipWorkBeforeCheckBillEdit.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\212\225\344\272\247\346\243\200\351\252\214\351\252\214\346\224\266\345\215\225/Sb_EquipWorkBeforeCheckBillEdit.html" @@ -428,7 +428,7 @@ function set_InitGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HQCCheckClassID', title: 'HQCCheckClassID', edit: 'text', hide: true } , { field: 'HQCCheckClassName', title: '妫�楠岄」鐩被鍒�', edit: 'text', event: "HQCCheckClassCode" } @@ -448,6 +448,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: true + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\212\225\344\272\247\346\243\200\351\252\214\351\252\214\346\224\266\345\215\225/Sb_EquipWorkBeforeCheckBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\212\225\344\272\247\346\243\200\351\252\214\351\252\214\346\224\266\345\215\225/Sb_EquipWorkBeforeCheckBillList.html" index 2022095..afd1fc5 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\212\225\344\272\247\346\243\200\351\252\214\351\252\214\346\224\266\345\215\225/Sb_EquipWorkBeforeCheckBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\212\225\344\272\247\346\243\200\351\252\214\351\252\214\346\224\266\345\215\225/Sb_EquipWorkBeforeCheckBillList.html" @@ -219,7 +219,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { if ($.inArray(data[i].name, titleData) > -1 ) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� @@ -230,6 +230,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -244,6 +251,7 @@ , data: data1.data , height:800 , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\241\243\346\241\210/Gy_EquipFileBillResume.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\241\243\346\241\210/Gy_EquipFileBillResume.html" index 8173ac6..2b15aa3 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\241\243\346\241\210/Gy_EquipFileBillResume.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\241\243\346\241\210/Gy_EquipFileBillResume.html" @@ -220,6 +220,7 @@ , toolbar: '#toolbarDemo' , height: '400' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -227,7 +228,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true} , { field: '鏃ユ湡', title: '鏃ユ湡', templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true} @@ -285,6 +286,7 @@ //, toolbar: '#toolbarDemo' , height: '350' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -319,6 +321,7 @@ //, toolbar: '#toolbarDemo' , height: '350' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\241\243\346\241\210/Gy_EquipFileMainList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\241\243\346\241\210/Gy_EquipFileMainList.html" index 2db4f25..b3736b2 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\241\243\346\241\210/Gy_EquipFileMainList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\346\241\243\346\241\210/Gy_EquipFileMainList.html" @@ -163,6 +163,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , limits: [50, 500, 5000, 20000] , limit: 50 //姣忛〉榛樿鏄剧ず鐨勬暟閲� , cellMinWidth: 200 @@ -170,7 +171,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '鏉″舰鐮�', title: '鏉$爜缂栧彿', sort: true } diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\212\266\346\200\201/Sb_EquipStatusChangeBill.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\212\266\346\200\201/Sb_EquipStatusChangeBill.html" index 3834c00..1228b56 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\212\266\346\200\201/Sb_EquipStatusChangeBill.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\212\266\346\200\201/Sb_EquipStatusChangeBill.html" @@ -449,6 +449,7 @@ , limit: 500 , height: 500 , loading: false + , totalRow: true , cols: [[ //琛ㄥご { type: 'checkbox', totalRowText: '鍚堣琛�' } , { type: 'numbers', title: '搴忓彿', totalRow: true } @@ -456,7 +457,7 @@ , { field: '璁惧', title: '璁惧', edit: 'text', event: "HEquipID" }//f7 , { field: 'HUnitID', title: 'HUnitID ', width: 100, hide: true } , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅', edit: 'text', event: "HUnitID" }//f7 - , { field: 'HQty', title: '鏁伴噺', edit: 'text' } + , { field: 'HQty', title: '鏁伴噺', edit: 'text', totalRow: true} , { field: 'HStatusID_Old', title: 'HStatusID_Old ', width: 100, hide: true } , { field: '鍘熺姸鎬�', title: '鍘熺姸鎬�', edit: 'text', hide: true }//f7 , { field: 'HStatusID_New', title: 'HStatusID_New ', width: 100, hide: true } diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\212\266\346\200\201/Sb_EquipStatusChangeBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\212\266\346\200\201/Sb_EquipStatusChangeBillList.html" index 15dd2cb..44f7e10 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\212\266\346\200\201/Sb_EquipStatusChangeBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\212\266\346\200\201/Sb_EquipStatusChangeBillList.html" @@ -220,6 +220,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -227,7 +228,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { field: 'HMainID', title: 'HMainID', sort: true, width: 165, hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 165} , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170 } @@ -248,7 +249,7 @@ , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅', sort: true, width: 165 } , { field: '骞�', title: '骞�', sort: true, width: 170 } , { field: '鏈�', title: '鏈�', sort: true, width: 170 } - , { field: '鏁伴噺', title: '鏁伴噺', sort: true, width: 170 } + , { field: '鏁伴噺', title: '鏁伴噺', sort: true, width: 170, totalRow: true } , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', sort: true, width: 165 } , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 120, sort: true, templet: "<div>{{d.鍒跺崟鏃ユ湡 ==null ?'':layui.util.toDateString(d.鍒跺崟鏃ユ湡, 'yyyy-MM-dd')}}</div>" } , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', sort: true, width: 100 } diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sb_EquipRepairSendWorkBillEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sb_EquipRepairSendWorkBillEdit.html" index 688a06f..f897e36 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sb_EquipRepairSendWorkBillEdit.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sb_EquipRepairSendWorkBillEdit.html" @@ -372,6 +372,7 @@ , limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲� , cellMinWidth: 90 , height: 400 + , totalRow: true , cols: [[ //琛ㄥご { type: 'checkbox', totalRowText: '鍚堣琛�' } , { type: 'numbers', title: '搴忓彿', totalRow: true } diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sb_EquipRepairSendWorkBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sb_EquipRepairSendWorkBillList.html" index 616ee04..948037f 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sb_EquipRepairSendWorkBillList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\273\264\344\277\256\346\264\276\345\267\245\345\215\225/Sb_EquipRepairSendWorkBillList.html" @@ -339,6 +339,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -346,7 +347,7 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>" ,sort:true} , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 200, sort: true } @@ -358,8 +359,8 @@ , { field: '棰勮缁翠慨寮�濮嬫棩鏈�', title: '棰勮缁翠慨寮�濮嬫棩鏈�', width: 120, templet: "<div>{{d.棰勮缁翠慨寮�濮嬫棩鏈� ==null ?'':layui.util.toDateString(d.棰勮缁翠慨寮�濮嬫棩鏈�, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '棰勮缁翠慨缁撴潫鏃ユ湡', title: '棰勮缁翠慨缁撴潫鏃ユ湡', width: 120, templet: "<div>{{d.棰勮缁翠慨缁撴潫鏃ユ湡 ==null ?'':layui.util.toDateString(d.棰勮缁翠慨缁撴潫鏃ユ湡, 'yyyy-MM-dd')}}</div>", sort: true } , { field: '鏃堕棿鍗曚綅', title: '鏃堕棿鍗曚綅', sort: true } - , { field: '璁″垝缁翠慨宸ユ椂', title: '璁″垝缁翠慨宸ユ椂', sort: true } - , { field: '缁翠慨浜轰唬鐮�', title: '缁翠慨浜轰唬鐮�', sort: true } + , { field: '璁″垝缁翠慨宸ユ椂', title: '璁″垝缁翠慨宸ユ椂', sort: true, totalRow: true} + , { field: '缁翠慨浜轰唬鐮�', title: '缁翠慨浜轰唬鐮�', sort: true, totalRow: true } , { field: '缁翠慨浜�', title: '缁翠慨浜�', sort: true } , { field: '璐熻矗浜轰唬鐮�', title: '璐熻矗浜轰唬鐮�', sort: true } , { field: '璐熻矗浜�', title: '璐熻矗浜�', sort: true } diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleEdit.html" index 44ca517..f775a11 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleEdit.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleEdit.html" @@ -326,7 +326,7 @@ function set_InitGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HDotCheckItemID', title: '鐐规椤圭洰ID', edit: 'text', hide: true } , { field: 'HDotCheckItem', title: '鐐规椤圭洰', edit: 'text', event: 'HDotCheckItem' } @@ -343,6 +343,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleList.html" index 29c5d59..aa770e8 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipDotCheckRuleList.html" @@ -260,11 +260,12 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , limits: [50, 500, 5000, 20000] , limit: 50 //姣忛〉榛樿鏄剧ず鐨勬暟閲� , cellMinWidth: 200 , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: 'hmainid', sort: true, hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>"} , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�' } @@ -315,7 +316,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'}); for (var i = 0; i < data.length; i++) { if ($.inArray(data[i].name, titleData) > -1 ) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� @@ -326,6 +327,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -340,6 +348,7 @@ , data: data1.data , height: 550 , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipMaintainRuleEdit.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipMaintainRuleEdit.html" index 45e91ef..6bc2a97 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipMaintainRuleEdit.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipMaintainRuleEdit.html" @@ -346,7 +346,7 @@ function Table() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HMaintainItemID', title: '淇濆吇椤圭洰ID', edit: 'text', hide: true } , { field: 'HMaintainItemNumber', title: '淇濆吇椤圭洰浠g爜', edit: 'text', event: 'HMaintainItemNumber' } @@ -364,6 +364,7 @@ , elem: '#mainTable' , toolbar: '#toolbarDemo' , page: false + , totalRow: true , cellMinWidth: 120 , height: 500 , cols: [columns] @@ -376,7 +377,7 @@ function Table1() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HMaterID', title: '閰嶄欢ID', edit: 'text', hide: true } , { field: 'HMaterNumber', title: '閰嶄欢浠g爜', edit: 'text', event: "HMaterCode" } @@ -384,7 +385,7 @@ , { field: 'HUnitID', title: '鍗曚綅ID', edit: 'text', hide: true } , { field: 'HUnitNumber', title: '鍗曚綅浠g爜', edit: 'text', event: "HUnitCode" } , { field: 'HUnitName', title: '鍗曚綅鍚嶇О', edit: 'text', event: "" } - , { field: 'HQty', title: '鐢ㄩ噺', edit: 'text' } + , { field: 'HQty', title: '鐢ㄩ噺', edit: 'text', totalRow: true} , { field: 'HRemark', title: '澶囨敞', edit: 'text' } , { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo', width: 150 } ]; @@ -394,6 +395,7 @@ , toolbar: '#toolbarDemo1' , height: 500 , page: true + , totalRow: true , limit: 500 , cellMinWidth: 120 , height: 500 diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipMaintainRuleList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipMaintainRuleList.html" index f4867ab..829ad17 100644 --- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipMaintainRuleList.html" +++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\350\247\204\347\250\213\345\215\225/Sb_EquipMaintainRuleList.html" @@ -457,7 +457,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'}); for (var i = 0; i < data.length; i++) { if ($.inArray(data[i].name, titleData) > -1 ) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� @@ -468,6 +468,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -482,6 +489,7 @@ , data: data1.data , height: 550 , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\344\272\247\345\223\201\345\205\245\345\272\223\346\243\200\351\252\214\345\215\225/QC_LastPieceCheckBill.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\344\272\247\345\223\201\345\205\245\345\272\223\346\243\200\351\252\214\345\215\225/QC_LastPieceCheckBill.html" index 80d7010..9194bae 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\344\272\247\345\223\201\345\205\245\345\272\223\346\243\200\351\252\214\345\215\225/QC_LastPieceCheckBill.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\344\272\247\345\223\201\345\205\245\345\272\223\346\243\200\351\252\214\345\215\225/QC_LastPieceCheckBill.html" @@ -423,14 +423,15 @@ var option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , height: 500 , limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲� //,url: '/demo/table/user/' //鏁版嵁鎺ュ彛 , page: true //寮�鍚垎椤� , cols: [[ //琛ㄥご - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } - , { field: 'HQCCheckClassID', title: 'HQCCheckClassID', edit: 'text', width: 100, hide: true } + , { field: 'HQCCheckClassID', title: 'HQCCheckClassID', edit: 'text', width: 100, hide: true, totalRow: true } , { field: 'HQCCheckClassName', title: '妫�楠岄」鐩被鍒�', edit: 'text', event: "HQCCheckClassCheck", width: 100 } , { field: 'HQCCheckClassNumber', title: '妫�楠岄」鐩被鍒唬鐮�', edit: 'text', width: 100, hide: true } , { field: 'HQCCheckItemID', title: 'HQCCheckItemID', edit: 'text', hide: true } diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\344\272\247\345\223\201\345\205\245\345\272\223\346\243\200\351\252\214\345\215\225/QC_LastPieceCheckBillList.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\344\272\247\345\223\201\345\205\245\345\272\223\346\243\200\351\252\214\345\215\225/QC_LastPieceCheckBillList.html" index 6ccbe97..e590a27 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\344\272\247\345\223\201\345\205\245\345\272\223\346\243\200\351\252\214\345\215\225/QC_LastPieceCheckBillList.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\344\272\247\345\223\201\345\205\245\345\272\223\346\243\200\351\252\214\345\215\225/QC_LastPieceCheckBillList.html" @@ -165,12 +165,13 @@ , data: [] // , url: GetWEBURL()+'GetPOOrderBill' , toolbar: '#toolbarDemo' //寮�鍚ご閮ㄥ伐鍏锋爮锛屽苟涓哄叾缁戝畾宸︿晶妯℃澘 + , totalRow: true , defaultToolbar: ['filter', 'exports', 'print'] // , where: { msg: "", NowPage: 1, OnePage: 10 } , cellMinWidth: 100 , cols: [[ - { type: 'checkbox', fixed: 'left' } - , { field: 'hmainid', title: '鍗曟嵁ID', hide: true, sort: true } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } + , { field: 'hmainid', title: '鍗曟嵁ID', hide: true, sort: true, totalRow: true } , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160, sort: true } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160, sort: true } , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞', width: 160, hide: true, sort: true } diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\207\272\345\216\202\346\243\200\351\252\214\345\215\225/QC_OutCompCheckBill.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\207\272\345\216\202\346\243\200\351\252\214\345\215\225/QC_OutCompCheckBill.html" index b8ef850..a7af5f4 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\207\272\345\216\202\346\243\200\351\252\214\345\215\225/QC_OutCompCheckBill.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\207\272\345\216\202\346\243\200\351\252\214\345\215\225/QC_OutCompCheckBill.html" @@ -292,14 +292,15 @@ var option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , height: 500 , limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲� //,url: '/demo/table/user/' //鏁版嵁鎺ュ彛 , page: true //寮�鍚垎椤� , cols: [[ //琛ㄥご - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } - , { field: 'HQCCheckClassID', title: 'HQCCheckClassID', edit: 'text', width: 100, hide: true } + , { field: 'HQCCheckClassID', title: 'HQCCheckClassID', edit: 'text', width: 100, hide: true, totalRow: true } , { field: 'HQCCheckClassName', title: '妫�楠岄」鐩被鍒悕绉�', edit: 'text', event: "HQCCheckClassCheck", width: 150 } , { field: 'HQCCheckClassNumber', title: '妫�楠岄」鐩被鍒�', edit: 'text', width: 100, hide: true } , { field: 'HQCCheckItemID', title: 'HQCCheckItemID', edit: 'text', hide: true } diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\207\272\345\216\202\346\243\200\351\252\214\345\215\225/QC_OutCompCheckBillList.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\207\272\345\216\202\346\243\200\351\252\214\345\215\225/QC_OutCompCheckBillList.html" index 34648bd..a0e2c21 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\207\272\345\216\202\346\243\200\351\252\214\345\215\225/QC_OutCompCheckBillList.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\207\272\345\216\202\346\243\200\351\252\214\345\215\225/QC_OutCompCheckBillList.html" @@ -186,6 +186,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , height: 'full-50' , page: true , cellMinWidth: 90 @@ -195,8 +196,8 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } - , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } + , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true, totalRow: true } , { field: 'hsubid', title: 'hsubid', hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 170 } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170 } diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\237\272\347\241\200\345\273\272\346\250\241/Gy_ErrType.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\237\272\347\241\200\345\273\272\346\250\241/Gy_ErrType.html" index d1bfca0..4240dc8 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\237\272\347\241\200\345\273\272\346\250\241/Gy_ErrType.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\237\272\347\241\200\345\273\272\346\250\241/Gy_ErrType.html" @@ -249,7 +249,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') { if ($.inArray(data[i].name, titleData) > -1) { @@ -261,6 +261,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -271,6 +278,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , cols: [col] , data: data1.data , height: 'full-80' diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\241\346\243\200\350\256\260\345\275\225\345\215\225/QC_Add_Edit_PatrolProcCheckBill.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\241\346\243\200\350\256\260\345\275\225\345\215\225/QC_Add_Edit_PatrolProcCheckBill.html" index 5eb0d36..05babb3 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\241\346\243\200\350\256\260\345\275\225\345\215\225/QC_Add_Edit_PatrolProcCheckBill.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\241\346\243\200\350\256\260\345\275\225\345\215\225/QC_Add_Edit_PatrolProcCheckBill.html" @@ -319,11 +319,12 @@ var option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , height: 500 //,url: '/demo/table/user/' //鏁版嵁鎺ュ彛 , page: true //寮�鍚垎椤� , cols: [[ //琛ㄥご - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 75 } , { field: '妫�楠岄」鐩垎绫�', title: '妫�楠岄」鐩垎绫�', event: "", width: 120 } , { field: 'HQCCheckItemID', title: '妫�楠岄」鐩甀D', edit: 'text', hide: true } @@ -348,16 +349,17 @@ var option_BadRe = { elem: '#BadReTable' , toolbar: '#toolbarDemo2' + , totalRow: true , height: 500 //,url: '/demo/table/user/' //鏁版嵁鎺ュ彛 , page: true //寮�鍚垎椤� , cols: [[ //琛ㄥご - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 75 } , { field: 'HBadReasonID', title: '涓嶈壇鍘熷洜ID', edit: 'text', hide: true } , { field: 'HBadReasonNumber', title: '涓嶈壇鍘熷洜浠g爜', edit: 'text', width: 120, event: "HBadReason" } , { field: 'HBadReasonName', title: '涓嶈壇鍘熷洜', edit: 'text', width: 120 } - , { field: 'HQty', title: '鏁伴噺', edit: 'text', width: 120, event: "HQty" } + , { field: 'HQty', title: '鏁伴噺', edit: 'text', width: 120, event: "HQty", totalRow: true } , { field: 'HEmpID', title: '璐d换浜篒D', edit: 'text', hide: true } , { field: 'HEmpNumber', title: '璐d换浜轰唬鐮�', edit: 'text', width: 120, event: "HEmp" } , { field: 'HEmpName', title: '璐d换浜�', edit: 'text', width: 120 } diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\241\346\243\200\350\256\260\345\275\225\345\215\225/QC_PatrolProcCheckBillList.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\241\346\243\200\350\256\260\345\275\225\345\215\225/QC_PatrolProcCheckBillList.html" index b457e7a..c2220b2 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\241\346\243\200\350\256\260\345\275\225\345\215\225/QC_PatrolProcCheckBillList.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\241\346\243\200\350\256\260\345\275\225\345\215\225/QC_PatrolProcCheckBillList.html" @@ -284,6 +284,7 @@ elem: '#mainTable' , dateType: 'json' , colFilterRecord: true//鏄惁寮�鍚瓧娈电瓫閫夌殑璁板繂鍔熻兘 + , totalRow: true , data: [] // , url: GetWEBURL()+'GetPOOrderBill' , toolbar: '#toolbarDemo' //寮�鍚ご閮ㄥ伐鍏锋爮锛屽苟涓哄叾缁戝畾宸︿晶妯℃澘 @@ -291,7 +292,7 @@ // , where: { msg: "", NowPage: 1, OnePage: 10 } , cellMinWidth: 100 , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } , { field: 'hsubid', title: 'hsubid', hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 120 } diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\243\200\351\252\214\345\215\225/QC_ProcessCheckBill.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\243\200\351\252\214\345\215\225/QC_ProcessCheckBill.html" index f87e758..7c55fe1 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\243\200\351\252\214\345\215\225/QC_ProcessCheckBill.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\243\200\351\252\214\345\215\225/QC_ProcessCheckBill.html" @@ -2008,6 +2008,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲� , height: 'full-50' , cellMinWidth: 150 @@ -2025,8 +2026,8 @@ //, { field: 'HQCStd', title: '妫�楠屾爣鍑�', edit: 'text' } , { field: 'HUnit', title: '鍗曚綅', edit: 'text' } , { field: 'HQCNote', title: '妫�楠岃褰�', edit: 'text' } - , { field: 'HMax', title: '鏈�澶у��', edit: 'text' } - , { field: 'HMin', title: '鏈�灏忓��', edit: 'text' } + , { field: 'HMax', title: '鏈�澶у��', edit: 'text', totalRow: true} + , { field: 'HMin', title: '鏈�灏忓��', edit: 'text', totalRow: true } , { field: 'HAvg', title: '骞冲潎鍊�', edit: 'text', totalRow: true } //, { field: 'HRemark', title: '澶囨敞', edit: 'text' } @@ -2086,6 +2087,7 @@ , limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲� , height: 'full-50' , cellMinWidth: 150 + , totalRow: true , cols: [[ //琛ㄥご { type: 'checkbox', totalRowText: '鍚堣琛�' } , { field: 'HSEQ', title: '搴忓彿' } diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\243\200\351\252\214\345\215\225/QC_ProcessCheckBillList.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\243\200\351\252\214\345\215\225/QC_ProcessCheckBillList.html" index 828c90b..6e95e70 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\243\200\351\252\214\345\215\225/QC_ProcessCheckBillList.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\243\200\351\252\214\345\215\225/QC_ProcessCheckBillList.html" @@ -454,7 +454,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' }); for (var i = 0; i < data.length; i++) { if ($.inArray(data[i].name, titleData) > -1) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� @@ -465,6 +465,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -473,6 +480,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , height: 'full-50' , page: true //寮�鍚垎椤� , limit: 500 diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/QC_Add_Edit_POStockInCheckBillList.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/QC_Add_Edit_POStockInCheckBillList.html" index e9904b8..2c2ad75 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/QC_Add_Edit_POStockInCheckBillList.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/QC_Add_Edit_POStockInCheckBillList.html" @@ -317,14 +317,15 @@ var option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , height: 500 , limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲� //,url: '/demo/table/user/' //鏁版嵁鎺ュ彛 , page: true //寮�鍚垎椤� , cols: [[ //琛ㄥご - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe", width: 100 } - , { field: 'HQCCheckClassID', title: 'HQCCheckClassID', edit: 'text', width: 100, hide: true } + , { field: 'HQCCheckClassID', title: 'HQCCheckClassID', edit: 'text', width: 100, hide: true, totalRow: true } , { field: 'HQCCheckClassNumber', title: '妫�楠岄」鐩被鍒�', edit: 'text', event: "HQCCheckClassCheck", width: 100 } , { field: 'HQCCheckClassName', title: '妫�楠岄」鐩被鍒悕绉�', edit: 'text', width: 100, hide: true } , { field: 'HQCCheckItemID', title: 'HQCCheckItemID', edit: 'text', hide: true } diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/QC_POStockInCheckBillList.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/QC_POStockInCheckBillList.html" index 8d32de0..2a77c83 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/QC_POStockInCheckBillList.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\235\245\346\226\231\346\243\200\351\252\214\345\215\225/QC_POStockInCheckBillList.html" @@ -190,6 +190,7 @@ , toolbar: '#toolbarDemo' , height: 'full-50' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] @@ -197,8 +198,8 @@ soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } - , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } + , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true, totalRow: true } , { field: 'hsubid', title: 'hsubid', hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 170 } , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170 } diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_Add_CheckProject.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_Add_CheckProject.html" index 34f5b5b..bedb9f9 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_Add_CheckProject.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_Add_CheckProject.html" @@ -508,7 +508,7 @@ function set_InitGrid() { //琛ㄥご columns = [ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�' } , { templet: '#xuhao', title: '搴忓彿', sort: true, fixed: 'left', event: "qwe" } , { field: 'HPrjNo', title: '娆″簭鍙�', edit: 'text' } , { field: 'HQCCheckItemID', title: '妫�楠岄」鐩甀D', edit: 'text', hide: true } @@ -524,6 +524,7 @@ id: 'mainTable' , elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , page: false , cellMinWidth: 120 , height: 500 diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_CheckProjectList.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_CheckProjectList.html" index e51e777..161144c 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_CheckProjectList.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\346\243\200\351\252\214\346\226\271\346\241\210\345\215\225/QC_CheckProjectList.html" @@ -186,13 +186,14 @@ , cellMinWidth: 100 , height: 'full-50' , page: true + , totalRow: true , limit: 50 , limits: [50, 500, 5000, 20000] , done: function (res, curr, count) { soulTable.render(this); } , cols: [[ - { type: 'checkbox', fixed: 'left' } + { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'} , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } , { field: 'hsubid', title: 'hsubid', hide: true } , { field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>" } diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_FirstPassRateReport.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_FirstPassRateReport.html" index 5244556..61288b9 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_FirstPassRateReport.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_FirstPassRateReport.html" @@ -374,6 +374,7 @@ elem: '#mainTable' , toolbar: '#toolbarDemo' , height: 'full-490' + , totalRow: true , page: true , cellMinWidth: 90 , limit: 50 diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_FirstPassRateWeekReport.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_FirstPassRateWeekReport.html" index c20c190..253eff2 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_FirstPassRateWeekReport.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_FirstPassRateWeekReport.html" @@ -364,6 +364,7 @@ , toolbar: '#toolbarDemo' , height: 'full-490' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProdBadReasonStatistics.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProdBadReasonStatistics.html" index 34b1771..43ba134 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProdBadReasonStatistics.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProdBadReasonStatistics.html" @@ -386,6 +386,7 @@ , toolbar: '#toolbarDemo' , height: 'full-490' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProdBadReasonStatistics_Sum.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProdBadReasonStatistics_Sum.html" index f8aea36..06b4c11 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProdBadReasonStatistics_Sum.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProdBadReasonStatistics_Sum.html" @@ -386,6 +386,7 @@ , toolbar: '#toolbarDemo' , height: 'full-490' , page: true + , totalRow: true , cellMinWidth: 90 , limit: 50 , limits: [50, 500, 5000, 20000] diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProductQtyWarningReport.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProductQtyWarningReport.html" index b692496..0803d3f 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProductQtyWarningReport.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProductQtyWarningReport.html" @@ -170,6 +170,7 @@ elem: '#mainTable' , toolbar: '#toolbarDemo' , height: 'full-90' + , totalRow: true , page: true , cellMinWidth: 90 , limit: 50 diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_QualityTraceabilityReport.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_QualityTraceabilityReport.html" index e4ac29b..e047ca9 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_QualityTraceabilityReport.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_QualityTraceabilityReport.html" @@ -170,6 +170,7 @@ function set_InitGrid() { option_SJ = { elem: '#mainTable_SJ' + , totalRow: true //, toolbar: '#toolbarDemo' , cellMinWidth: 120 , limit: Number.MAX_VALUE // 鏁版嵁琛ㄦ牸榛樿鍏ㄩ儴鏄剧ず @@ -177,6 +178,7 @@ }; option_GCJ = { elem: '#mainTable_GXJ' + , totalRow: true //, toolbar: '#toolbarDemo' , cellMinWidth: 120 , limit: Number.MAX_VALUE // 鏁版嵁琛ㄦ牸榛樿鍏ㄩ儴鏄剧ず @@ -184,6 +186,7 @@ }; option_SC = { elem: '#mainTable_SC' + , totalRow: true //, toolbar: '#toolbarDemo' , cellMinWidth: 120 , limit: Number.MAX_VALUE // 鏁版嵁琛ㄦ牸榛樿鍏ㄩ儴鏄剧ず @@ -191,6 +194,7 @@ }; option_ZL = { elem: '#mainTable_ZL' + , totalRow: true //, toolbar: '#toolbarDemo' , cellMinWidth: 120 , limit: Number.MAX_VALUE // 鏁版嵁琛ㄦ牸榛樿鍏ㄩ儴鏄剧ず @@ -227,7 +231,7 @@ col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 120 }); break; default: - col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, width: 120 }); + col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true}); } } } @@ -274,7 +278,7 @@ col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 120 }); break; default: - col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, width: 120 }); + col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); } } } @@ -321,7 +325,7 @@ col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 120 }); break; default: - col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, width: 120 }); + col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); } } } @@ -368,7 +372,7 @@ col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 120 }); break; default: - col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, width: 120 }); + col.push({ field: data[i].name, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); } } } diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_Add_Edit_FirstPieceCheckBill.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_Add_Edit_FirstPieceCheckBill.html" index 844410d..ee440a9 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_Add_Edit_FirstPieceCheckBill.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_Add_Edit_FirstPieceCheckBill.html" @@ -2122,6 +2122,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲� , height: 'full-50' , cellMinWidth: 150 @@ -2138,8 +2139,8 @@ , { field: 'HQCStd', title: '妫�楠屾爣鍑�', edit: 'text' } , { field: 'HUnit', title: '鍗曚綅', edit: 'text' } , { field: 'HQCNote', title: '妫�楠岃褰�', edit: 'text' } - , { field: 'HMax', title: '鏈�澶у��', edit: 'text' } - , { field: 'HMin', title: '鏈�灏忓��', edit: 'text' } + , { field: 'HMax', title: '鏈�澶у��', edit: 'text', totalRow: true } + , { field: 'HMin', title: '鏈�灏忓��', edit: 'text', totalRow: true } , { field: 'HAvg', title: '骞冲潎鍊�', edit: 'text', totalRow: true } , { field: 'HSampleSchemeID', title: '鎶芥牱鏂规ID', edit: 'text', hide: true } @@ -2199,12 +2200,13 @@ , limit: 500 //姣忛〉榛樿鏄剧ず鐨勬暟閲� , height: 'full-50' , cellMinWidth: 150 + , totalRow: true , cols: [[ //琛ㄥご { type: 'checkbox', totalRowText: '鍚堣琛�' } , { field: 'HSEQ', title: '搴忓彿' } , { field: 'HInSpectResult', title: '妫�楠岀粨鏋�', templet: '#HInSpectResult' } , { field: 'HInSpectValueB', title: '妫�娴嬪�硷紙瀹氭�э級', edit: 'text', event: 'HInSpectValueB_Open' } - , { field: 'HInSpectValue', title: '妫�娴嬪�硷紙瀹氶噺锛�', edit: 'text' } + , { field: 'HInSpectValue', title: '妫�娴嬪�硷紙瀹氶噺锛�', edit: 'text', totalRow: true } , { field: 'HInSpectValueT', title: '妫�娴嬪�硷紙鍏朵粬锛�', edit: 'text' } //, { fixed: 'right', title: '鎿嶄綔', toolbar: '#barDemo' } ]] diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_FirstPieceCheckBillList.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_FirstPieceCheckBillList.html" index b522287..89f7c8d 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_FirstPieceCheckBillList.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\351\246\226\344\273\266\346\243\200\351\252\214\345\215\225/QC_FirstPieceCheckBillList.html" @@ -654,7 +654,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'}); for (var i = 0; i < data.length; i++) { if ($.inArray(data[i].name, titleData) > -1) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒� @@ -665,6 +665,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -673,6 +680,7 @@ option = { elem: '#mainTable' , toolbar: '#toolbarDemo' + , totalRow: true , height: 'full-50' , page: true //寮�鍚垎椤� , limit: 500 @@ -730,7 +738,7 @@ data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); } //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋 - col.push({ type: 'checkbox', fixed: 'left' }); + col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'}); for (var i = 0; i < data.length; i++) { // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') { if ($.inArray(data[i].name, titleData_Value) > -1) { @@ -742,6 +750,13 @@ case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd HH:mm:ss')}}</div>", width: 200 }); break; + case 'long': + case 'Int32': + case 'Int64': + case 'double': + case 'Decimal': + col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, totalRow: true }); + break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 }); } @@ -752,6 +767,7 @@ option_Value = { elem: '#mainTable_Value' //, toolbar: '#toolbarDemo2' + , totalRow: true , cols: [col] , data: data1.data , height: 550 @@ -771,6 +787,7 @@ option_Value = { elem: '#mainTable_Value' //, toolbar: '#toolbarDemo2' + , totalRow: true , cols: [] , data: "" , height: 550 diff --git "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillEdit.html" "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillEdit.html" index 9538af1..2ee3c5d 100644 --- "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillEdit.html" +++ "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillEdit.html" @@ -706,7 +706,7 @@ success: function (result) { if (result.count == 1) { var data = result.data[0]; - $("h1").html(data.HName); + $("h1").html('<b>' + data.HName + '</b>'); HPageTitle = data.HName; } else { -- Gitblit v1.9.1