diff --git a/ui/src/pages/ProductionProductCostingHasCost.vue b/ui/src/pages/ProductionProductCostingHasCost.vue
index 1994b5e..b33c7eb 100644
--- a/ui/src/pages/ProductionProductCostingHasCost.vue
+++ b/ui/src/pages/ProductionProductCostingHasCost.vue
@@ -141,7 +141,7 @@
diff --git a/ui/src/pages/ProductionProductCostingHasCostDetail.vue b/ui/src/pages/ProductionProductCostingHasCostDetail.vue
index 38c1bcb..957db70 100644
--- a/ui/src/pages/ProductionProductCostingHasCostDetail.vue
+++ b/ui/src/pages/ProductionProductCostingHasCostDetail.vue
@@ -5060,13 +5060,31 @@ async function saveChanges () {
// If we created a new OnML (no-cost), switch to has-cost detail mode.
if (isNoCostDetail.value && newOnMLNo > 0) {
- router.replace({
+ await router.replace({
name: 'production-product-costing-has-cost-detail',
query: {
n_onml_no: String(newOnMLNo),
urun_kodu: String(header?.UrunKodu || productCode.value || '').trim()
}
})
+
+ $q.dialog({
+ title: 'Maliyet Kaydedildi',
+ message: 'Maliyeti olmayan urunler listesine donup kaldiginiz yerden devam etmek ister misiniz?',
+ ok: {
+ label: 'Listeye Don',
+ color: 'primary',
+ icon: 'arrow_back'
+ },
+ cancel: {
+ label: 'Bu Sayfada Devam Et',
+ color: 'grey-7',
+ flat: true
+ },
+ persistent: true
+ }).onOk(() => {
+ router.push({ name: 'production-product-costing-no-cost' })
+ })
return
}
@@ -5076,6 +5094,24 @@ async function saveChanges () {
window.setTimeout(() => {
try { refreshLast10Warnings() } catch {}
}, 1200)
+
+ $q.dialog({
+ title: 'Maliyet Guncellendi',
+ message: 'Mevcut maliyeti olan urunler listesine donup kaldiginiz yerden devam etmek ister misiniz?',
+ ok: {
+ label: 'Listeye Don',
+ color: 'primary',
+ icon: 'arrow_back'
+ },
+ cancel: {
+ label: 'Bu Sayfada Devam Et',
+ color: 'grey-7',
+ flat: true
+ },
+ persistent: true
+ }).onOk(() => {
+ router.push({ name: 'production-product-costing-has-cost' })
+ })
} catch (e) {
// Surface backend message (http.Error text) when available.
const msg = String(
diff --git a/ui/src/pages/ProductionProductCostingNoCost.vue b/ui/src/pages/ProductionProductCostingNoCost.vue
index 8dad93d..be3ae5e 100644
--- a/ui/src/pages/ProductionProductCostingNoCost.vue
+++ b/ui/src/pages/ProductionProductCostingNoCost.vue
@@ -176,7 +176,7 @@