From ebde7ca1e5518145840b0191f2332c0141ae11f5 Mon Sep 17 00:00:00 2001 From: zhangli <1109134334@qq.com> Date: Thu, 29 Jul 2021 14:25:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=87=E8=B4=AD=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E3=80=81=E8=A1=8C=E6=94=BF=E5=85=AC=E6=96=87=E4=B8=8B?= =?UTF-8?q?=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/Ass_AssetsInfoApply/FormJY.js | 22 +++--- .../Views/Ass_AssetsInfoApply/FormJYHC.js | 74 +++++++++---------- .../Views/Ass_AssetsInfoApply/FormViewJY.js | 22 +++--- .../Views/Ass_AssetsInfoApply/FormViewJYHC.js | 70 +++++++++--------- .../Ass_AssetsInfoItemApply/FormJY.cshtml | 58 +++++++-------- .../Ass_AssetsInfoItemApply/FormJYHC.cshtml | 50 ++++++------- .../Views/Sys_SendFile/Form.js | 2 +- .../Views/Sys_SendFile/Index.cshtml | 22 +++++- .../Views/Sys_SendFile/Index.js | 66 +++++++++++++++++ .../Sys_SendFile/Sys_SendFileService.cs | 36 ++++++++- 10 files changed, 271 insertions(+), 151 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormJY.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormJY.js index f7abda4f4..44e9a1a6b 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormJY.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormJY.js @@ -140,11 +140,11 @@ var bootstrap = function ($, learun) { }); } }, - { - label: '生成资产明细', name: 'AAIHasDetail', width: 80, align: 'left', formatter: function (cellvalue) { - return (cellvalue === true || cellvalue === "true") ? "" : ""; - } - }, + //{ + // label: '生成资产明细', name: 'AAIHasDetail', width: 80, align: 'left', formatter: function (cellvalue) { + // return (cellvalue === true || cellvalue === "true") ? "" : ""; + // } + //}, { label: '库房', name: 'AAIStorageId', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) { learun.clientdata.getAsync('custmerData', { @@ -196,15 +196,15 @@ var bootstrap = function ($, learun) { }); } }, - { - label: '英文名称', name: 'AAIEName', width: 100, align: 'left' - }, + //{ + // label: '英文名称', name: 'AAIEName', width: 100, align: 'left' + //}, { label: '资产型号', name: 'AAIModel', width: 100, align: 'left' }, - { - label: '生产厂家', name: 'AAIManufacturer', width: 100, align: 'left' - }, + //{ + // label: '生产厂家', name: 'AAIManufacturer', width: 100, align: 'left' + //}, { label: '资产规格', name: 'AAISpecification', width: 100, align: 'left' }, diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormJYHC.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormJYHC.js index a55d74b85..93b9f18be 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormJYHC.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormJYHC.js @@ -98,22 +98,22 @@ var bootstrap = function ($, learun) { // label: '耗材编号', name: 'AAICode', width: 150, align: 'left' //}, { - label: '资产名称', name: 'AAIName', width: 150, align: 'left' - }, - { - label: '资产类别', name: 'AAITId', width: 150, align: 'left', formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_AssetsType', - key: value, - keyId: 'atid', - callback: function (_data) { - callback(_data['aname']); - } - }); - } + label: '耗材名称', name: 'AAIName', width: 150, align: 'left' }, + //{ + // label: '资产类别', name: 'AAITId', width: 150, align: 'left', formatterAsync: function (callback, value, row, op, $cell) { + // learun.clientdata.getAsync('custmerData', { + // url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_AssetsType', + // key: value, + // keyId: 'atid', + // callback: function (_data) { + // callback(_data['aname']); + // } + // }); + // } + //}, { - label: '资产来源', name: 'AAISource', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) { + label: '耗材来源', name: 'AAISource', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) { learun.clientdata.getAsync('dataItem', { key: value, code: 'zcly', @@ -140,11 +140,11 @@ var bootstrap = function ($, learun) { }); } }, - { - label: '生成资产明细', name: 'AAIHasDetail', width: 80, align: 'left', formatter: function (cellvalue) { - return (cellvalue === true || cellvalue === "true") ? "" : ""; - } - }, + //{ + // label: '生成资产明细', name: 'AAIHasDetail', width: 80, align: 'left', formatter: function (cellvalue) { + // return (cellvalue === true || cellvalue === "true") ? "" : ""; + // } + //}, { label: '库房', name: 'AAIStorageId', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) { learun.clientdata.getAsync('custmerData', { @@ -195,33 +195,33 @@ var bootstrap = function ($, learun) { }); } }, - { - label: '英文名称', name: 'AAIEName', width: 100, align: 'left' - }, + //{ + // label: '英文名称', name: 'AAIEName', width: 100, align: 'left' + //}, { label: '资产型号', name: 'AAIModel', width: 100, align: 'left' }, - { - label: '生产厂家', name: 'AAIManufacturer', width: 100, align: 'left' - }, + //{ + // label: '生产厂家', name: 'AAIManufacturer', width: 100, align: 'left' + //}, { label: '资产规格', name: 'AAISpecification', width: 100, align: 'left' }, { label: '用途', name: 'AAIUse', width: 100, align: 'left' }, - { - label: '供应商', name: 'AAISupplierId', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_SupplierData', - key: value, - keyId: 'sid', - callback: function (_data) { - callback(_data['sname']); - } - }); - } - } + //{ + // label: '供应商', name: 'AAISupplierId', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) { + // learun.clientdata.getAsync('custmerData', { + // url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_SupplierData', + // key: value, + // keyId: 'sid', + // callback: function (_data) { + // callback(_data['sname']); + // } + // }); + // } + //} ], height: 400, mainId: 'AAIId', diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormViewJY.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormViewJY.js index 906f51e8a..f8d292c1c 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormViewJY.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormViewJY.js @@ -139,11 +139,11 @@ var bootstrap = function ($, learun) { }); } }, - { - label: '生成资产明细', name: 'AAIHasDetail', width: 80, align: 'left', formatter: function (cellvalue) { - return (cellvalue === true || cellvalue === "true") ? "" : ""; - } - }, + //{ + // label: '生成资产明细', name: 'AAIHasDetail', width: 80, align: 'left', formatter: function (cellvalue) { + // return (cellvalue === true || cellvalue === "true") ? "" : ""; + // } + //}, { label: '库房', name: 'AAIStorageId', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) { learun.clientdata.getAsync('custmerData', { @@ -169,15 +169,15 @@ var bootstrap = function ($, learun) { }); } }, - { - label: '英文名称', name: 'AAIEName', width: 100, align: 'left' - }, + //{ + // label: '英文名称', name: 'AAIEName', width: 100, align: 'left' + //}, { label: '资产型号', name: 'AAIModel', width: 100, align: 'left' }, - { - label: '生产厂家', name: 'AAIManufacturer', width: 100, align: 'left' - }, + //{ + // label: '生产厂家', name: 'AAIManufacturer', width: 100, align: 'left' + //}, { label: '资产规格', name: 'AAISpecification', width: 100, align: 'left' }, diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormViewJYHC.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormViewJYHC.js index f126ce247..48962d6f2 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormViewJYHC.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/FormViewJYHC.js @@ -90,18 +90,18 @@ var bootstrap = function ($, learun) { { label: '耗材名称', name: 'AAIName', width: 150, align: 'left' }, - { - label: '耗材类别', name: 'AAITId', width: 150, align: 'left', formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_AssetsType', - key: value, - keyId: 'atid', - callback: function (_data) { - callback(_data['aname']); - } - }); - } - }, + //{ + // label: '耗材类别', name: 'AAITId', width: 150, align: 'left', formatterAsync: function (callback, value, row, op, $cell) { + // learun.clientdata.getAsync('custmerData', { + // url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_AssetsType', + // key: value, + // keyId: 'atid', + // callback: function (_data) { + // callback(_data['aname']); + // } + // }); + // } + //}, { label: '耗材来源', name: 'AAISource', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) { learun.clientdata.getAsync('dataItem', { @@ -130,11 +130,11 @@ var bootstrap = function ($, learun) { }); } }, - { - label: '生成耗材明细', name: 'AAIHasDetail', width: 80, align: 'left', formatter: function (cellvalue) { - return (cellvalue === true || cellvalue === "true") ? "" : ""; - } - }, + //{ + // label: '生成耗材明细', name: 'AAIHasDetail', width: 80, align: 'left', formatter: function (cellvalue) { + // return (cellvalue === true || cellvalue === "true") ? "" : ""; + // } + //}, { label: '库房', name: 'AAIStorageId', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) { learun.clientdata.getAsync('custmerData', { @@ -150,33 +150,33 @@ var bootstrap = function ($, learun) { { label: '库位', name: 'AAIStoragePosition', width: 100, align: 'left' }, - { - label: '英文名称', name: 'AAIEName', width: 100, align: 'left' - }, + //{ + // label: '英文名称', name: 'AAIEName', width: 100, align: 'left' + //}, { label: '资产型号', name: 'AAIModel', width: 100, align: 'left' }, - { - label: '生产厂家', name: 'AAIManufacturer', width: 100, align: 'left' - }, + //{ + // label: '生产厂家', name: 'AAIManufacturer', width: 100, align: 'left' + //}, { label: '资产规格', name: 'AAISpecification', width: 100, align: 'left' }, { label: '用途', name: 'AAIUse', width: 100, align: 'left' }, - { - label: '供应商', name: 'AAISupplierId', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_SupplierData', - key: value, - keyId: 'sid', - callback: function (_data) { - callback(_data['sname']); - } - }); - } - } + //{ + // label: '供应商', name: 'AAISupplierId', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) { + // learun.clientdata.getAsync('custmerData', { + // url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_SupplierData', + // key: value, + // keyId: 'sid', + // callback: function (_data) { + // callback(_data['sname']); + // } + // }); + // } + //} ], height: 400, mainId: 'AAIId', diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJY.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJY.cshtml index b4c418d4a..7a9f2672f 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJY.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJY.cshtml @@ -21,33 +21,33 @@