Totvs - WS Fornecedor / WS Cliente / WS Pedido Compra (fixes bug #6127)
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@42775 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
e656ef99f9
commit
13b3c00dda
|
@ -469,6 +469,14 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
txtNumIEPuntoVenta.setDisabled(true);
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
String agencia = puntoVenta.getAgenciaId() == null ? "" : puntoVenta.getAgenciaId().getNumagencia();
|
||||
String[] agenciaComp = agencia == null ? null : agencia.split("-");
|
||||
txtNumAg.setValue(agencia == null ? "" : agenciaComp[0]);
|
||||
txtDigitoAg.setValue(agencia == null ? "" : agenciaComp[1]);
|
||||
} catch (Exception e) {
|
||||
}
|
||||
}
|
||||
|
||||
if (puntoVenta.getPuntoventaId() != null) {
|
||||
|
|
|
@ -195,7 +195,7 @@
|
|||
<!-- Tel1 -->
|
||||
<label
|
||||
value="${c:l('editarPuntoVentaController.lbTelefonoUno.value')}" />
|
||||
<textbox id="numtelefonouno"
|
||||
<textbox id="numtelefonouno"
|
||||
constraint="no zero" width="70%" maxlength="15"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</row>
|
||||
|
@ -277,7 +277,7 @@
|
|||
<label
|
||||
value="${c:l('editarPuntoVentaController.lbdscNumDoCPuntoVenta.value')}" />
|
||||
<textbox id="txtNumDoCPuntoVenta"
|
||||
width="70%" maxlength="20"
|
||||
width="70%" maxlength="20" constraint="no empty"
|
||||
value="@{winEditarPuntoVenta$composer.puntoVenta.numDoCPuntoVenta}"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</row>
|
||||
|
@ -286,7 +286,7 @@
|
|||
<label
|
||||
value="${c:l('editarPuntoVentaController.lbdscRazonSocial.value')}" />
|
||||
<textbox id="txtRazonSocial" width="70%"
|
||||
maxlength="40"
|
||||
maxlength="40" constraint="no empty"
|
||||
value="@{winEditarPuntoVenta$composer.puntoVenta.razonSocial}"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</row>
|
||||
|
@ -295,9 +295,8 @@
|
|||
<label
|
||||
value="${c:l('editarPuntoVentaController.lbIE.value')}" />
|
||||
<hbox>
|
||||
|
||||
<textbox id="txtNumIEPuntoVenta"
|
||||
width="100%" maxlength="20"
|
||||
<textbox id="txtNumIEPuntoVenta"
|
||||
width="100%" maxlength="20" constraint="no empty"
|
||||
value="@{winEditarPuntoVenta$composer.puntoVenta.numIEPuntoVenta}"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
|
||||
|
@ -381,7 +380,7 @@
|
|||
<!--Colonia-->
|
||||
<label
|
||||
value="${c:l('editarPuntoVentaController.lbColonia.value')}" />
|
||||
<combobox id="cmbColonia"
|
||||
<combobox id="cmbColonia" constraint="no empty"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
mold="rounded" buttonVisible="true" width="70%" />
|
||||
</row>
|
||||
|
@ -389,7 +388,7 @@
|
|||
<!--CP-->
|
||||
<label
|
||||
value="${c:l('editarPuntoVentaController.lbCP.value')}" />
|
||||
<textbox id="txtCP"
|
||||
<textbox id="txtCP"
|
||||
constraint="no empty" width="70%" maxlength="30"
|
||||
value="@{winEditarPuntoVenta$composer.puntoVenta.colonia.codpostal}" />
|
||||
</row>
|
||||
|
@ -437,7 +436,7 @@
|
|||
|
||||
|
||||
<!-- DADOS AGENCIA BANCARIA -->
|
||||
<tabpanel height="215px">
|
||||
<tabpanel >
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="30%" />
|
||||
|
@ -453,14 +452,14 @@
|
|||
<h:tr>
|
||||
|
||||
<h:td>
|
||||
<combobox id="cmbBanco"
|
||||
<combobox id="cmbBanco" constraint="no empty"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
width="60%" mold="rounded" buttonVisible="true"
|
||||
model="@{winEditarPuntoVenta$composer.lsBanco}" />
|
||||
</h:td>
|
||||
<h:td>
|
||||
<textbox
|
||||
id="txtNomeBanco" width="215px" disabled="true" />
|
||||
<textbox id="txtNomeBanco" constraint="no empty"
|
||||
width="215px" disabled="true" />
|
||||
|
||||
</h:td>
|
||||
|
||||
|
@ -478,14 +477,13 @@
|
|||
<h:tr>
|
||||
|
||||
<h:td>
|
||||
<textbox id="txtNumAg"
|
||||
<textbox id="txtNumAg" constraint="no empty"
|
||||
width="70%" maxlength="5"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||
value="@{winEditarPuntoVenta$composer.puntoVenta.agenciaId.numagencia}" />
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</h:td>
|
||||
<h:td>
|
||||
<label value=" - " />
|
||||
<textbox id="txtDigitoAg"
|
||||
<textbox id="txtDigitoAg" constraint="no empty"
|
||||
width="20%" maxlength="1"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</h:td>
|
||||
|
@ -498,7 +496,7 @@
|
|||
<row>
|
||||
<label
|
||||
value="${c:l('editarConfiguracionAgenciaBancariaController.lbTipoConta.value')}" />
|
||||
<combobox id="cmbTipoConta" width="70%"
|
||||
<combobox id="cmbTipoConta" constraint="no empty" width="70%"
|
||||
mold="rounded" buttonVisible="true" />
|
||||
</row>
|
||||
<row>
|
||||
|
@ -510,14 +508,14 @@
|
|||
<h:tr>
|
||||
|
||||
<h:td>
|
||||
<textbox id="txtConta"
|
||||
<textbox id="txtConta" constraint="no empty"
|
||||
width="250px" maxlength="9"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||
value="@{winEditarPuntoVenta$composer.puntoVenta.agenciaId.numconta}" />
|
||||
</h:td>
|
||||
<h:td>
|
||||
<label value=" - " />
|
||||
<textbox id="txtDigito"
|
||||
<textbox id="txtDigito" constraint="no empty"
|
||||
width="20%" maxlength="1"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||
value="@{winEditarPuntoVenta$composer.puntoVenta.agenciaId.digito}" />
|
||||
|
@ -531,7 +529,7 @@
|
|||
<row>
|
||||
<label
|
||||
value="${c:l('editarConfiguracionAgenciaBancariaController.lbPessoa.value')}" />
|
||||
<combobox id="cmbPessoa" width="70%"
|
||||
<combobox id="cmbPessoa" width="70%" constraint="no empty"
|
||||
mold="rounded" buttonVisible="true" />
|
||||
|
||||
</row>
|
||||
|
|
Loading…
Reference in New Issue