- Cataloghi: BestSeller, Novità

This commit is contained in:
Surya Paolo
2024-11-28 16:04:48 +01:00
parent e10ff192bf
commit 6932590f3e
30 changed files with 1086 additions and 456 deletions

View File

@@ -12,7 +12,7 @@ import MixinBase from '@/mixins/mixin-base'
export default defineComponent({
name: 'CMyFieldRec',
emits: ['save', 'update:rec'],
emits: ['save', 'update:rec', 'update_col'],
props: {
table: {
type: String,
@@ -177,6 +177,7 @@ export default defineComponent({
}
function showandsave(row: any, col: any, newval: any, valinitial: any) {
console.log('showandsave CMyFieldDb', row, col, newval)
emit('save', props.rec, newval, col)
@@ -238,6 +239,8 @@ export default defineComponent({
function update_col(name: string, val: any) {
// console.log('update_col', name, val)
myrec.value[name] = val
emit('update_col', name, val)
}
onMounted(mounted)