Index: ssts-web/src/main/webapp/disinfectsystem/goodsBindingConfig/goodsBindHandler.js =================================================================== diff -u -r26498 -r26508 --- ssts-web/src/main/webapp/disinfectsystem/goodsBindingConfig/goodsBindHandler.js (.../goodsBindHandler.js) (revision 26498) +++ ssts-web/src/main/webapp/disinfectsystem/goodsBindingConfig/goodsBindHandler.js (.../goodsBindHandler.js) (revision 26508) @@ -16,7 +16,14 @@ if (materials) { materials = JSON.stringify(materials); } - var urgentAmount = 0; + //var urgentAmount = 0; + var urgentAmount = record.urgentAmount; + if(urgentAmount == 0){ + urgentAmount = null; + } + var urgentLevel = record.urgentLevel; + var urgentLevelId = record.urgentLevelId; + var transferScale = record.transferScale; var middlePackageUnit = record.middlePackageUnit; var originalPrice = record.originalPrice; @@ -45,7 +52,7 @@ top.Ext4.Msg.alert("提示消息", "申请数量大于最大可申请数量"); } addItems(id, name, count, isDisposableGoods, isApplyEntireTousse, originalPrice, price, externalCode, storageAmount, - tousseType, materials, unit, packageSpec, minApplyAmount, maxApplyAmount, urgentAmount,null,null, para, expressInvoice); + tousseType, materials, unit, packageSpec, minApplyAmount, maxApplyAmount, urgentAmount,urgentLevel,urgentLevelId, para, expressInvoice); }); return true; } @@ -63,7 +70,10 @@ goodName: curSelectedGoods.name, bindCount: top.Ext4.getCmp('count1').getValue(), goodId: curSelectedGoods.id, - goodType: curSelectedGoods.type + goodType: curSelectedGoods.type, + urgentAmount:top.Ext4.getCmp('urgentAmount').getValue(), + urgentLevel:top.Ext4.getCmp('urgentLevel').getRawValue(), + urgentLevelId:top.Ext4.getCmp('urgentLevel').getValue() }; } if (params.bindCount && params.goodId) { Index: ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsApplicationForm.js =================================================================== diff -u -r26465 -r26508 --- ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsApplicationForm.js (.../goodsApplicationForm.js) (revision 26465) +++ ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsApplicationForm.js (.../goodsApplicationForm.js) (revision 26508) @@ -603,6 +603,11 @@ listeners : { blur:function(thiz, e, eOpts){ if(thiz.getValue() != null){//设置加急级别默认值 + if(thiz.getValue() == 0){ + currentRecord.set('urgentLevel',null); + currentRecord.set('urgentLevelId',null); + return; + } var urgentLevelData = top.Ext4.getCmp('urgentLevel').getStore().data.items; for(var i = 0;i < urgentLevelData.length;i++){ var urgentDefaultValue = urgentLevelData[i].data.urgentDefaultValue; @@ -725,6 +730,11 @@ listeners : { blur:function(thiz, e, eOpts){ if(thiz.getValue() != null){//设置加急级别默认值 + if(thiz.getValue() == 0){ + currentRecord.set('urgentLevel',null); + currentRecord.set('urgentLevelId',null); + return; + } var urgentLevelData = top.Ext4.getCmp('urgentLevel').getStore().data.items; for(var i = 0;i