Aggiornamento APP RISO:
✅ Inviando i RIS, deve comparire prima il Circuito della Provincia, e poi quello Nazionale ✅ Risolto problema per vecchie registrazioni, la provincia compariva "undefined".
This commit is contained in:
@@ -373,7 +373,7 @@ export default defineComponent({
|
||||
if (opt.iseuro) {
|
||||
valstr = tools.convertPriceEurToValue(valstr)
|
||||
}
|
||||
valstr = tools.removeescape(valstr)
|
||||
valstr = tools.removeescape_e_acapo(valstr)
|
||||
// valstr = tools.addslashes(valstr)
|
||||
if (!opt.primo)
|
||||
risultato += ', '
|
||||
@@ -520,11 +520,11 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
if (cmd === shared_consts.Cmd.CITIES_SERVER) {
|
||||
userStore.importToServerCmd($q, t, cmd, null)
|
||||
userStore.importToServerCmd($q, t, cmd, null, true)
|
||||
} else if ((cmd === shared_consts.Cmd.PRODUCTS) || (cmd === shared_consts.Cmd.PRODUCTS_V2)) {
|
||||
let options = { aggiornaStockQty: checkAggiornaQta.value }
|
||||
if (importasulserver.value)
|
||||
userStore.importToServerCmd($q, t, cmd, { arrdata: JSON.stringify(strris, null, 2), options })
|
||||
userStore.importToServerCmd($q, t, cmd, { arrdata: JSON.stringify(strris, null, 2), options }, true)
|
||||
}
|
||||
risultato = strris
|
||||
|
||||
@@ -569,20 +569,20 @@ export default defineComponent({
|
||||
|
||||
function eseguiCmdProduct() {
|
||||
let options = { aggiornaStockQty: checkAggiornaQta.value }
|
||||
userStore.importToServerCmd($q, t, cosafare.value, { arrdata: risultato.value, options })
|
||||
userStore.importToServerCmd($q, t, cosafare.value, { arrdata: risultato.value, options }, true)
|
||||
risultato.value = ''
|
||||
}
|
||||
|
||||
function eseguiCmdInventario() {
|
||||
let options = { aggiornaStockQty: checkAggiornaQta.value }
|
||||
userStore.importToServerCmd($q, t, cosafare.value, { arrdata: risultato.value, options })
|
||||
userStore.importToServerCmd($q, t, cosafare.value, { arrdata: risultato.value, options }, true)
|
||||
risultato.value = ''
|
||||
}
|
||||
|
||||
function eseguiCmdCatalogoJson() {
|
||||
let options = { aggiornaStockQty: checkAggiornaQta.value }
|
||||
|
||||
userStore.importToServerCmd($q, t, cosafare.value, { arrdata: risultato.value, options })
|
||||
userStore.importToServerCmd($q, t, cosafare.value, { arrdata: risultato.value, options }, true)
|
||||
risultato.value = ''
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user