From dbdf6f746e11d74517efd72cb015dc0f1d0b7f9c Mon Sep 17 00:00:00 2001 From: hanxuntao <641739520@qq.com> Date: Thu, 30 Mar 2023 09:09:51 +0800 Subject: [PATCH] 12 --- .../Controllers/Chfee_AuditController.cs | 6 ++++ .../CommMng/Viewsjs/Comm/BasicDataRefModel.js | 29 ++++++++++------ .../MvcShipping/DAL/MsOpApply/MsOpApplyDAL.cs | 6 ++-- .../TruckMng/Views/PcHeadEdit_WFSD/Edit.aspx | 4 ++- .../TruckMng/Viewsjs/MsWlBs/MsPcWFSDEdit.js | 34 ++++++++++++------- 5 files changed, 51 insertions(+), 28 deletions(-) diff --git a/DSWeb/Areas/Account/Controllers/Chfee_AuditController.cs b/DSWeb/Areas/Account/Controllers/Chfee_AuditController.cs index 33e8a009..a10a3587 100644 --- a/DSWeb/Areas/Account/Controllers/Chfee_AuditController.cs +++ b/DSWeb/Areas/Account/Controllers/Chfee_AuditController.cs @@ -758,6 +758,12 @@ namespace DSWeb.Areas.Account.Controllers if ((head.DetiNation == null || head.DetiNation == "")) { error = error + "
提单号:" + head.MblNoSe + "目的地不能为空"; } + if ((head.DetiNation == null || head.DetiNation == "")) + { error = error + "
提单号:" + head.MblNoSe + "目的地不能为空"; } + if ((head.BsType == null || head.BsType == "")) + { error = error + "
提单号:" + head.MblNoSe + "业务来源不能为空"; } + if ((head.EtDate == null || head.EtDate == "")) + { error = error + "
提单号:" + head.MblNoSe + "发车日期不能为空"; } } if (optype == "op_supervision_truck") diff --git a/DSWeb/Areas/CommMng/Viewsjs/Comm/BasicDataRefModel.js b/DSWeb/Areas/CommMng/Viewsjs/Comm/BasicDataRefModel.js index cec9b29a..2587172e 100644 --- a/DSWeb/Areas/CommMng/Viewsjs/Comm/BasicDataRefModel.js +++ b/DSWeb/Areas/CommMng/Viewsjs/Comm/BasicDataRefModel.js @@ -20,19 +20,26 @@ Ext.define('DsTruckMng.ux.VoyRefModel', { }); //客户资料参照Model(95004-vMsTruckClient) -Ext.define('DsTruckMng.ux.CustomRefModel', { +Ext.define('DsShipping.ux.CustomRefModel', { extend: 'Ext.data.Model', fields: [ - { name: 'GId', type: 'string' }, - { name: 'CustCode', type: 'string' }, - { name: 'CustName', type: 'string' }, - { name: 'CodeAndName', type: 'string' }, - { name: 'CodeAndFull', type: 'string' }, - { name: 'UNITPRICE', type: 'string' }, - //{ name: 'DESCRIPTION', type: 'string' }, - { name: 'KFCodename', type: 'string' }, - { name: 'ISSTOP', type: 'string' } - ] + { name: 'GId', type: 'string' }, + { name: 'CustCode', type: 'string' }, + { name: 'CustName', type: 'string' }, + { name: 'CodeAndName', type: 'string' }, + { name: 'CodeAndFull', type: 'string' }, + { name: 'DESCRIPTION', type: 'string' }, + { name: 'SALE', type: 'string' }, + { name: 'OP', type: 'string' }, + { name: 'DOC', type: 'string' }, + { name: 'CUSTSERVICE', type: 'string' }, + { name: 'SALECORPID', type: 'string' }, + { name: 'BSSOURCE', type: 'string' }, + { name: 'CONTRACTNO', type: 'string' }, + { name: 'FEEFRT', type: 'string' }, + { name: 'EMAIL', type: 'string' }, + { name: 'TEL', type: 'string' } + ] }); Ext.define('DsTruckMng.ux.CustomContactRefModel', { diff --git a/DSWeb/Areas/MvcShipping/DAL/MsOpApply/MsOpApplyDAL.cs b/DSWeb/Areas/MvcShipping/DAL/MsOpApply/MsOpApplyDAL.cs index 7da0b3e1..667d87fd 100644 --- a/DSWeb/Areas/MvcShipping/DAL/MsOpApply/MsOpApplyDAL.cs +++ b/DSWeb/Areas/MvcShipping/DAL/MsOpApply/MsOpApplyDAL.cs @@ -3084,16 +3084,16 @@ namespace DSWeb.MvcShipping.DAL.MsOpApplyDAL if (bill.BSTYPE2 == "报检") { if ((bill.INSPECTIONNO == null || bill.INSPECTIONNO == "")) - { error = error + "
提单号:" + bill.MBLNO + "报检单号不能为空"; } + { error = error + "
提单号:" + bill.MBLNO + "商检单号不能为空"; } if ((bill.INSPECTIONDATE == null || bill.INSPECTIONDATE == "")) - { error = error + "
提单号:" + bill.MBLNO + "报检日期不能为空"; } + { error = error + "
提单号:" + bill.MBLNO + "商检日期不能为空"; } if ((bill.BYCUSTOM == null || bill.BYCUSTOM == "")) { error = error + "
提单号:" + bill.MBLNO + "商检地点不能为空"; } } if ((bill.CUSTOMDATE == null || bill.CUSTOMDATE == "")) - { error = error + "
提单号:" + bill.MBLNO + "申报日期不能为空"; } + { error = error + "
提单号:" + bill.MBLNO + "报关日期不能为空"; } if ((bill.ETD == null || bill.ETD == "")) { error = error + "
提单号:" + bill.MBLNO + "开船日期不能为空"; } diff --git a/DSWeb/Areas/TruckMng/Views/PcHeadEdit_WFSD/Edit.aspx b/DSWeb/Areas/TruckMng/Views/PcHeadEdit_WFSD/Edit.aspx index 07ebf28b..de7f0d0a 100644 --- a/DSWeb/Areas/TruckMng/Views/PcHeadEdit_WFSD/Edit.aspx +++ b/DSWeb/Areas/TruckMng/Views/PcHeadEdit_WFSD/Edit.aspx @@ -67,13 +67,15 @@ - +