|
|
@ -79,10 +79,10 @@ |
|
|
|
$("#Amount").change(Amount_Change); |
|
|
|
$("#thisCreateQty").change(thisCreate_Change); |
|
|
|
var YAmount = $("#YAmount").val() * 1;//单据辅计量数量 |
|
|
|
if (YAmount == 0) { |
|
|
|
$.modalMsg("源头单据辅计量数量不可0,请确认!", "warning"); |
|
|
|
return; |
|
|
|
} |
|
|
|
//if (YAmount == 0) { |
|
|
|
// $.modalMsg("源头单据辅计量数量不可0,请确认!", "warning"); |
|
|
|
// return; |
|
|
|
//} |
|
|
|
} |
|
|
|
else { |
|
|
|
//基础版原逻辑 |
|
|
@ -98,10 +98,10 @@ |
|
|
|
$("#Amount").change(Amount_Change); |
|
|
|
$("#cretePageCount").change(cretePageCount_Change); |
|
|
|
var YAmount = $("#YAmount").val() * 1;//单据辅计量数量 |
|
|
|
if (YAmount == 0) { |
|
|
|
$.modalMsg("源头单据辅计量数量不可0,请确认!", "warning"); |
|
|
|
return; |
|
|
|
} |
|
|
|
//if (YAmount == 0) { |
|
|
|
// $.modalMsg("源头单据辅计量数量不可0,请确认!", "warning"); |
|
|
|
// return; |
|
|
|
//} |
|
|
|
|
|
|
|
} |
|
|
|
else { |
|
|
|