Change product quantity compoent precision to 8
This commit is contained in:
@@ -275,7 +275,7 @@ ccolumns[4] = {
|
||||
ccolumns[4]['content'][0] = {
|
||||
'name' : '',
|
||||
'dataType' : 'number',
|
||||
'precision' : 6,
|
||||
'precision' : 8,
|
||||
'quantity':true,
|
||||
'attr' : {
|
||||
'type' : 'text'
|
||||
@@ -283,7 +283,7 @@ ccolumns[4]['content'][0] = {
|
||||
'css' : {
|
||||
'text-align' : 'right'
|
||||
},
|
||||
'onChange': '$(this).val(QuantityFormat($(this).val(),6));CTABLE.setRowDate(this,$(this).parent(\'td\').parent(\'tr\').index());'
|
||||
'onChange': '$(this).val(QuantityFormat($(this).val(),8));CTABLE.setRowDate(this,$(this).parent(\'td\').parent(\'tr\').index());'
|
||||
};
|
||||
ccolumns[5] = {
|
||||
'name' : 'divider',
|
||||
@@ -294,7 +294,7 @@ ccolumns[5] = {
|
||||
ccolumns[5]['content'][0] = {
|
||||
'name' : '',
|
||||
'dataType' : 'number',
|
||||
'precision' : 6,
|
||||
'precision' : 0,
|
||||
'quantity':true,
|
||||
'attr' : {
|
||||
'type' : 'text'
|
||||
@@ -302,7 +302,7 @@ ccolumns[5]['content'][0] = {
|
||||
'css' : {
|
||||
'text-align' : 'right'
|
||||
},
|
||||
'onChange': '$(this).val(QuantityFormat($(this).val(),6));CTABLE.setRowDate(this,$(this).parent(\'td\').parent(\'tr\').index());'
|
||||
'onChange': '$(this).val(QuantityFormat($(this).val(),0));CTABLE.setRowDate(this,$(this).parent(\'td\').parent(\'tr\').index());'
|
||||
};
|
||||
ccolumns[6] = {
|
||||
'name' : 'quantity',
|
||||
@@ -314,7 +314,7 @@ ccolumns[6]['content'][0] = {
|
||||
'name' : '',
|
||||
'dataType' : 'number',
|
||||
'quantity':true,
|
||||
'precision' : 6,
|
||||
'precision' : 8,
|
||||
'attr' : {
|
||||
'type' : 'text'
|
||||
},
|
||||
@@ -362,7 +362,7 @@ ccolumns[8] = {
|
||||
ccolumns[8]['content'][0] = {
|
||||
'name' : '',
|
||||
'dataType' : 'number',
|
||||
'precision' : 6,
|
||||
'precision' : 8,
|
||||
'readonly' : true,
|
||||
'attr' : {
|
||||
'type' : 'text',
|
||||
|
||||
Reference in New Issue
Block a user