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',
|
||||
|
||||
@@ -38,7 +38,7 @@ columns[3] = {
|
||||
'content' : new Array(),
|
||||
'align' : 'right',
|
||||
};
|
||||
columns[3]['content'][0] = {'name' : '', 'type': 'text', 'isNumber' : true, 'onChange' : 'checkProducts();', 'precision' : '4'};
|
||||
columns[3]['content'][0] = {'name' : '', 'type': 'text', 'isNumber' : true, 'onChange' : 'checkProducts();', 'precision' : '8'};
|
||||
//end: quantity
|
||||
//begin: unit
|
||||
columns[4] = {
|
||||
|
||||
@@ -109,7 +109,7 @@ $dictionary['EcmStockOperation']=array(
|
||||
'name' => 'quantity',
|
||||
'vname' => 'LBL_QUANTITY',
|
||||
'type' => 'decimal',
|
||||
'len' => '15,4',
|
||||
'len' => '15,8',
|
||||
'required' => true,
|
||||
'massupdate'=>false,
|
||||
),
|
||||
|
||||
@@ -97,8 +97,8 @@ $dictionary['EcmStockState']=array(
|
||||
'name' => 'quantity',
|
||||
'vname' => 'LBL_QUANTITY',
|
||||
'type' => 'decimal',
|
||||
'precision'=>4,
|
||||
'len' => '15,4',
|
||||
'precision'=>8,
|
||||
'len' => '15,8',
|
||||
'required' => true,
|
||||
'massupdate'=>false,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user