++ aggiunta la prenotazione negli eventi. con la lista degli utenti.
This commit is contained in:
@@ -257,7 +257,7 @@ export default defineComponent({
|
||||
// console.log('crea', isFieldDb(), 'props.mycol', props.mycol)
|
||||
|
||||
if (props.mycol && props.mycol.name && props.mycol.name !== 'test') {
|
||||
col.value = {...props.mycol}
|
||||
col.value = { ...props.mycol }
|
||||
} else {
|
||||
if (col.value.name === 'test') {
|
||||
col.value.name = props.field
|
||||
@@ -369,23 +369,25 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
function changevalRec(newval: any) {
|
||||
if (col.value && col.value.allowchar === costanti.ALLOWCHAR_CODE) {
|
||||
myvalue.value = tools.removespaces_slash(newval)
|
||||
if (!props.insertMode || (props.insertMode && col.value.fieldtype !== costanti.FieldType.multioption)) {
|
||||
if (col.value && col.value.allowchar === costanti.ALLOWCHAR_CODE) {
|
||||
myvalue.value = tools.removespaces_slash(newval)
|
||||
}
|
||||
// console.log('popuppedit: changevalRec', newval, 'COLName', col.value.name)
|
||||
|
||||
// console.log('row', props.row, 'col', props.mycol, 'newval', newval)
|
||||
// console.log('row[col.value.name]', props.row[col.value.name])
|
||||
if (props.type === costanti.FieldType.image) {
|
||||
// console.log('image', newval)
|
||||
}
|
||||
|
||||
myrow.value[col.value.name] = newval
|
||||
|
||||
// console.log('changevalRec update:row', myrow.value)
|
||||
emit('update:row', myrow.value)
|
||||
if (props.isInModif)
|
||||
OpenEdit()
|
||||
}
|
||||
// console.log('popuppedit: changevalRec', newval, 'COLName', col.value.name)
|
||||
|
||||
// console.log('row', props.row, 'col', props.mycol, 'newval', newval)
|
||||
// console.log('row[col.value.name]', props.row[col.value.name])
|
||||
if (props.type === costanti.FieldType.image) {
|
||||
// console.log('image', newval)
|
||||
}
|
||||
|
||||
myrow.value[col.value.name] = newval
|
||||
|
||||
// console.log('changevalRec update:row', myrow.value)
|
||||
emit('update:row', myrow.value)
|
||||
if (props.isInModif)
|
||||
OpenEdit()
|
||||
}
|
||||
|
||||
function changevalRecHours(newval: any) {
|
||||
@@ -499,7 +501,7 @@ export default defineComponent({
|
||||
|
||||
function SaveValueInt(newVal: any, valinitial: any) {
|
||||
|
||||
console.log('SaveValueInt', newVal, valinitial)
|
||||
//console.log('SaveValueInt', newVal, valinitial)
|
||||
|
||||
if (props.tablesel) {
|
||||
if (true) {
|
||||
@@ -563,7 +565,7 @@ export default defineComponent({
|
||||
|
||||
|
||||
function Savedb(newVal: any, valinitial: any) {
|
||||
console.log('Savedb', newVal)
|
||||
// console.log('Savedb', newVal)
|
||||
|
||||
if (col.value.fieldtype === costanti.FieldType.boolean) {
|
||||
// console.log('myvalue', myvalue, newVal, myvalueprec)
|
||||
|
||||
Reference in New Issue
Block a user