- corretto la gestione degli Sconti

- Duplicare un Catalogo
This commit is contained in:
Surya Paolo
2025-06-11 01:05:20 +02:00
parent 56d1870bc1
commit d99ad47483
17 changed files with 296 additions and 147 deletions

View File

@@ -2506,6 +2506,12 @@ export default defineComponent({
if (cmd === costanti.CMD_CLONE) {
const myarr = serverData.value.find((rec: any) => rec._id === id)
if (myarr) {
mycolumns.value.forEach((col: IColGridTable) => {
if (col.dont_clone)
delete myarr[col.name]
})
}
newRecord.value = myarr
newRecord.value._id = 0
newRecordBool.value = true