.
This commit is contained in:
@ -41,7 +41,6 @@ function openAssignDispatch(seltype,) {
|
||||
editableSelectAssignAsset.val('');
|
||||
showmaskbg(true);
|
||||
$('#dialog_assignment .dialog-title span.title').text(GetTextByKey('P_JS_DISPATCHASSIGNMENT', 'Dispatch Assignment'));
|
||||
//$('#mask_bg').show();
|
||||
$('#dialog_assignment')
|
||||
.attr('act', 'edit')
|
||||
.css({
|
||||
|
@ -34,7 +34,7 @@ function InitEmailGridData() {
|
||||
{ name: 'DisplayName', caption: GetTextByKey("P_MV_CONTACTNAME", "Contact Name"), valueIndex: 'DisplayName', css: { 'width': 148, 'text-align': 'left' } },
|
||||
{ name: 'ContactTypeName', caption: GetTextByKey("P_MV_CONTACTTYPE", "Contact Type"), valueIndex: 'ContactTypeName', css: { 'width': 148, 'text-align': 'left' } },
|
||||
//{ name: 'Text', caption: GetTextByKey("P_MV_TEXT", "Text"), valueIndex: 'Text', type: 3, css: { 'width': 45, 'text-align': 'center' } },
|
||||
{ name: 'Email', caption: GetTextByKey("P_MV_EMAIL", "Email"), valueIndex: 'Email', type: 3, css: { 'width': 45, 'text-align': 'center' } }
|
||||
{ name: 'Email', caption: GetTextByKey("P_MV_EMAIL", "Email"), valueIndex: 'Email', type: 3, css: { 'width': 60, 'text-align': 'center' } }
|
||||
];
|
||||
var columns = [];
|
||||
// head
|
||||
@ -189,7 +189,7 @@ function onSendEmails() {
|
||||
|
||||
if (emailaddress.length == 0 && textaddress.length == 0) {
|
||||
$('#dialog_sendmail').hideDialog();
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
return;
|
||||
}
|
||||
var item = {
|
||||
@ -204,7 +204,7 @@ function onSendEmails() {
|
||||
jobsitequery('SendEmails', htmlencode(JSON.stringify(item)), function (data) {
|
||||
if (_sendType == 0) {
|
||||
$('#dialog_sendmail').hideDialog();
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
OnExit(data);
|
||||
}
|
||||
else {
|
||||
@ -214,7 +214,7 @@ function onSendEmails() {
|
||||
showAlert(GetTextByKey("P_WO_MESSAGESENT", 'Message sent'), alerttitle);
|
||||
|
||||
$('#dialog_sendmail').hideDialog();
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
}
|
||||
|
||||
if (aftersend)
|
||||
|
@ -416,7 +416,7 @@ function InitAssetGridData() {
|
||||
reset: GetTextByKey("P_GRID_RESET", "Reset")
|
||||
};
|
||||
var list_columns = [
|
||||
{ name: 'Selected', caption: "", valueIndex: 'Selected', type: 3, allcheck: true, css: { 'width': 30, 'text-align': 'center' } },
|
||||
{ name: 'Selected', caption: "", valueIndex: 'Selected', type: 3, allcheck: true, css: { 'width': 45, 'text-align': 'center' } },
|
||||
{ name: 'MakeName', caption: GetTextByKey("P_PM_MAKE", "Make"), valueIndex: 'MakeName', css: { 'width': 100, 'text-align': 'left' } },
|
||||
{ name: 'ModelName', caption: GetTextByKey("P_PM_MODEL", "Model"), valueIndex: 'ModelName', css: { 'width': 100, 'text-align': 'left' } },
|
||||
{ name: 'AssetName', caption: GetTextByKey("P_JS_ASSETNAME", "Asset Name"), valueIndex: 'AssetName', css: { 'width': 150, 'text-align': 'left' } },
|
||||
@ -598,7 +598,7 @@ function InitAllAssetGridData() {
|
||||
reset: GetTextByKey("P_GRID_RESET", "Reset")
|
||||
};
|
||||
var list_columns = [
|
||||
{ name: 'Selected', caption: "", valueIndex: 'Selected', type: 3, css: { 'width': 30, 'text-align': 'center' } },
|
||||
{ name: 'Selected', caption: "", valueIndex: 'Selected', type: 3, css: { 'width': 45, 'text-align': 'center' } },
|
||||
{ name: 'MakeName', caption: GetTextByKey("P_PM_MAKE", "Make"), valueIndex: 'MakeName', css: { 'width': 100, 'text-align': 'left' } },
|
||||
{ name: 'ModelName', caption: GetTextByKey("P_PM_MODEL", "Model"), valueIndex: 'ModelName', css: { 'width': 100, 'text-align': 'left' } },
|
||||
{ name: 'AssetName', caption: GetTextByKey("P_JS_ASSETNAME", "Asset Name"), valueIndex: 'AssetName', css: { 'width': 150, 'text-align': 'left' } },
|
||||
@ -874,7 +874,7 @@ function OnSetMachine() {
|
||||
currentRequirement.Assets = assets;
|
||||
currentRequirement.ScheduledQuantity = assets.length;
|
||||
$('#dialog_managemahchine').hide();
|
||||
$("#mask_bg").hide();
|
||||
showmaskbg(false);
|
||||
}
|
||||
|
||||
function checkQuantity() {
|
||||
|
@ -490,7 +490,7 @@ function checkSchedulerItems(alerttitle) {
|
||||
function onUpdateScheduler() {
|
||||
if (jobsiteschedulerCtrl.vue.source.length == 0) {
|
||||
$('#dialog_managescheduler').hide();
|
||||
$('#mask_bg').hide();
|
||||
showmaskbg(false);
|
||||
OnRefresh();
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user