YingHang
hanxuntao 4 weeks ago
parent 92465fc51f
commit cc8be6ec77

@ -4428,6 +4428,7 @@ Ext.extend(Shipping.MsChPayAppSettlementEdit, Ext.Panel, {
buttons: [{
text: '确认支付', //"确认修改",
minWidth: 70,
id: 'BtnUsdPay',
handler: function () {
var form = _this.UsdPayForm.getForm();
var PayeeCompanyName = form.findField('PayeeCompanyName').getValue();
@ -6807,7 +6808,8 @@ Ext.extend(Shipping.MsChPayAppSettlementEdit, Ext.Panel, {
},
onCreatePayFn: function () {
var BtnUsdPay = Ext.getCmp('BtnUsdPay');
BtnUsdPay.disable();
if (this.storeChfeeFile1.getCount() == 0) {
Ext.Msg.show({ title: Zi.LAN.TiShi, msg: '发票文件不能为空!', icon: Ext.Msg.INFO, buttons: Ext.Msg.OK });
return;
@ -6837,9 +6839,10 @@ Ext.extend(Shipping.MsChPayAppSettlementEdit, Ext.Panel, {
icon: Ext.MessageBox.ERROR,
buttons: Ext.Msg.OK
});
BtnUsdPay.enable();
return;
} else {
BtnUsdPay.enable();
Ext.Msg.show({ title: Zi.LAN.TiShi, msg: result.Message, icon: Ext.Msg.INFO, buttons: Ext.Msg.OK });
_this.winUsdPayShow.close();

@ -4598,6 +4598,7 @@ Ext.extend(Shipping.MsChPaySettlementBLEdit, Ext.Panel, {
buttons: [{
text: '确认支付', //"确认修改",
minWidth: 70,
id: 'BtnUsdPay',
handler: function () {
var form = _this.UsdPayForm.getForm();
var PayeeCompanyName = form.findField('PayeeCompanyName').getValue();
@ -6808,7 +6809,8 @@ Ext.extend(Shipping.MsChPaySettlementBLEdit, Ext.Panel, {
},
onCreatePayFn: function () {
var BtnUsdPay = Ext.getCmp('BtnUsdPay');
BtnUsdPay.disable();
if (this.storeChfeeFile1.getCount() == 0) {
Ext.Msg.show({ title: Zi.LAN.TiShi, msg: '发票文件不能为空!', icon: Ext.Msg.INFO, buttons: Ext.Msg.OK });
return;
@ -6838,9 +6840,10 @@ Ext.extend(Shipping.MsChPaySettlementBLEdit, Ext.Panel, {
icon: Ext.MessageBox.ERROR,
buttons: Ext.Msg.OK
});
BtnUsdPay.enable();
return;
} else {
BtnUsdPay.enable();
Ext.Msg.show({ title: Zi.LAN.TiShi, msg: result.Message, icon: Ext.Msg.INFO, buttons: Ext.Msg.OK });
_this.winUsdPayShow.close();

@ -1441,6 +1441,7 @@ Ext.extend(Shipping.MsChPaysettlementIndex, Ext.Panel, {
buttons: [{
text: '确认支付', //"确认修改",
minWidth: 70,
id:'BtnUsdPay',
handler: function () {
var form = _this.UsdPayForm.getForm();
var PayeeCompanyName = form.findField('PayeeCompanyName').getValue();
@ -2050,6 +2051,8 @@ Ext.extend(Shipping.MsChPaysettlementIndex, Ext.Panel, {
onCreatePayFn: function () {
var BtnUsdPay = Ext.getCmp('BtnUsdPay');
BtnUsdPay.disable();
if (this.storeChfeeFile1.getCount() == 0) {
Ext.Msg.show({ title: Zi.LAN.TiShi, msg: '发票文件不能为空!', icon: Ext.Msg.INFO, buttons: Ext.Msg.OK });
@ -2080,8 +2083,10 @@ Ext.extend(Shipping.MsChPaysettlementIndex, Ext.Panel, {
icon: Ext.MessageBox.ERROR,
buttons: Ext.Msg.OK
});
BtnUsdPay.enable();
return;
} else {
BtnUsdPay.enable();
Ext.Msg.show({ title: Zi.LAN.TiShi, msg: result.Message, icon: Ext.Msg.INFO, buttons: Ext.Msg.OK });
_this.onDsQuery();

@ -107,13 +107,13 @@ namespace DSWeb.MvcShipping.DAL.MsBaseInfoDAL
strSql.Append("SELECT ");
if (strLANGUAGES == "en-us")
{
strSql.Append(" GID,NAME,ENAME DESCRIPTION,MODULEURL,SORT,PARENTID,TYPE");
strSql.Append(" GID,NAME,ENAME DESCRIPTION,MODULEURL,SORT,PARENTID,TYPE,SHOWROOTSTATE");
strSql.Append(",(select ENAME from sys_module where GID=m.PARENTID) AS PARENTNAME");
}
else
{
strSql.Append(" GID,NAME,DESCRIPTION,MODULEURL,SORT,PARENTID,TYPE");
strSql.Append(" GID,NAME,DESCRIPTION,MODULEURL,SORT,PARENTID,TYPE,SHOWROOTSTATE");
strSql.Append(",(select DESCRIPTION from sys_module where GID=m.PARENTID) AS PARENTNAME");
}
strSql.Append(" from sys_module m ");
@ -317,6 +317,9 @@ namespace DSWeb.MvcShipping.DAL.MsBaseInfoDAL
if (reader["SORT"] != DBNull.Value)
data.SORT = Convert.ToInt16(reader["SORT"]);
data.TYPE = Convert.ToInt16(reader["TYPE"]);
if (reader["SHOWROOTSTATE"] != DBNull.Value)
data.SHOWROOTSTATE = Convert.ToInt16(reader["SHOWROOTSTATE"]);
if (data.MODULEURL == "#")
{
data.leaf = false;

@ -21394,8 +21394,8 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeEdiPortDAL
if (cargoid == "R")
{
if (filetype == "E")
r.WriteLine("43::::::::::" + bill.REEFERF + ":C:" + bill.TEMPSET + ":" + bill.TEMPMIN + ":" + bill.TEMPMAX + ":::::'");
else r.WriteLine("43::::::::::" + GetReeferfEDICode(bill.REEFERF, "YTEDI") + ":C:" + bill.TEMPSET + ":" + bill.TEMPMIN + ":" + bill.TEMPMAX + ":::::'");
r.WriteLine("43::::::::::" + bill.REEFERF + ":C:" + formatEdiStr("txt",bill.TEMPSET) + ":" + bill.TEMPMIN + ":" + bill.TEMPMAX + ":::::'");
else r.WriteLine("43::::::::::" + GetReeferfEDICode(bill.REEFERF, "YTEDI") + ":C:" + formatEdiStr("txt",bill.TEMPSET) + ":" + bill.TEMPMIN + ":" + bill.TEMPMAX + ":::::'");
}
else if (cargoid == "D")
{

@ -86,6 +86,8 @@ namespace DSWeb.MvcShipping.Models.ModuTreeRef
set { _sort = value; }
}
public int SHOWROOTSTATE { get; set; }
[ModelDB]
public decimal TYPE
{

@ -369,6 +369,7 @@ Ext.define('DsShipping.ux.ModuleModel', {
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'MODULEURL', type: 'string' },
{ name: 'SORT', type: 'number' },
{ name: 'SHOWROOTSTATE', type: 'number' },
{ name: 'PARENTID', type: 'string' },
{ name: 'PARENTNAME', type: 'string' },
{ name: 'TYPE', type: 'number' },

@ -163,6 +163,7 @@ Ext.extend(Shipping.MainForm, Ext.Panel, {
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'MODULEURL', type: 'string' },
{ name: 'SORT', type: 'number' },
{ name: 'SHOWROOTSTATE', type: 'number' },
{ name: 'PARENTID', type: 'string' },
{ name: 'PARENTNAME', type: 'string' },
{ name: 'TYPE', type: 'number' },
@ -1067,6 +1068,24 @@ Ext.extend(Shipping.MainForm, Ext.Panel, {
this.PubStore_storeModuleEnable.load({
params: { condition: "sys_module.MODULEURL<>'#' and sys_module.MODULEURL<>'@'" },
callback: function (r, options, success) {
if (success) {
if (this.PubStore_storeModuleEnable.getCount() > 0) {
for (var j = 0; j < this.PubStore_storeModuleEnable.getCount(); j += 1) {
var member = this.PubStore_storeModuleEnable.getAt(j);
if (member.data.SHOWROOTSTATE == 1) {
this.clicktree(member);
}
};
} else {
}
}
},
scope: this
});

@ -92,6 +92,7 @@ namespace JobCreateFee
dbcon.Close();
if (bstable.Rows.Count > 0)
{
var OpSeaeList = CreateOpSeaList(bstable);
var FeeTemplateDetailList = GetFeeTemplate(enumFeeproject.FA_ID, dbcon);
try

Loading…
Cancel
Save