- corretto la gestione degli Sconti
- Duplicare un Catalogo
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user