- aggiunto il Comune di Residenza alla REgistrazione e al Tutorial
This commit is contained in:
@@ -111,6 +111,11 @@ export default defineComponent({
|
||||
required: false,
|
||||
default: '',
|
||||
},
|
||||
myclass: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: '',
|
||||
},
|
||||
field2: {
|
||||
type: String,
|
||||
required: false,
|
||||
@@ -824,7 +829,7 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
async function savefield(value: any, initialval: any, myq: any) {
|
||||
if (!props.insertMode) {
|
||||
if (!props.insertMode && !props.nosaveToDb) {
|
||||
let ret = null;
|
||||
myvalue.value = value;
|
||||
return tools.saveInDBForTypes(
|
||||
@@ -843,7 +848,7 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
async function savefield2(value: any, initialval: any, myq: any) {
|
||||
if (!props.insertMode) {
|
||||
if (!props.insertMode && !props.nosaveToDb) {
|
||||
let ret = null;
|
||||
myvalue2.value = value;
|
||||
return tools.saveInDBForTypes(
|
||||
@@ -861,49 +866,11 @@ export default defineComponent({
|
||||
);
|
||||
}
|
||||
}
|
||||
async function savefieldtosee(value: any, initialval: any, myq: any) {
|
||||
if (!props.insertMode) {
|
||||
let ret = null;
|
||||
myvalue2.value = value;
|
||||
return tools.saveInDBForTypes(
|
||||
myq,
|
||||
props.field2,
|
||||
myvalue2.value,
|
||||
props.type,
|
||||
props.serv,
|
||||
props.table,
|
||||
props.fieldsel_tosee,
|
||||
props.id,
|
||||
props.indrec,
|
||||
props.mysubsubkey,
|
||||
props.specialField
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
function annulla(val: any) {
|
||||
emit('annulla', true);
|
||||
}
|
||||
|
||||
function savefieldboolean(value: any) {
|
||||
if (myvalue.value === undefined) myvalue.value = 'true';
|
||||
else myvalue.value = value;
|
||||
|
||||
tools.saveInDBForTypes(
|
||||
$q,
|
||||
props.field,
|
||||
myvalue,
|
||||
props.type,
|
||||
props.serv,
|
||||
props.table,
|
||||
props.subfield,
|
||||
props.id,
|
||||
props.indrec,
|
||||
props.mysubsubkey,
|
||||
props.specialField
|
||||
);
|
||||
}
|
||||
|
||||
function Savedb(newVal: any, valinitial: any) {
|
||||
// console.log('Savedb', newVal)
|
||||
|
||||
@@ -950,7 +917,7 @@ export default defineComponent({
|
||||
|
||||
// console.log('Savedb', newVal)
|
||||
|
||||
emit('showandsave', props.row, props.mycol, newVal, valinitial);
|
||||
emit('showandsave', props.row, props.mycol, newVal, valinitial, myvaltosee.value);
|
||||
visueditor.value = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user