From b0e944f9adbdc44c1b1c7d13330e971a33ed7d77 Mon Sep 17 00:00:00 2001
From: tuqin <tuqin@tuqin.cn>
Date: 星期一, 02 十一月 2026 10:28:36 +0800
Subject: [PATCH] fix(erp): 修正「是否需生产」默认值,由需生产改为不需生产
---
src/views/erp/sale/order/modules/item-form.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/views/erp/sale/order/modules/item-form.vue b/src/views/erp/sale/order/modules/item-form.vue
index 6b06706..7e7c2b7 100644
--- a/src/views/erp/sale/order/modules/item-form.vue
+++ b/src/views/erp/sale/order/modules/item-form.vue
@@ -134,7 +134,9 @@
taxPrice: undefined,
totalPrice: undefined,
remark: undefined,
- needProduction: 1,
+ // 閿�鍞涓嶅啀鍒ゆ柇鏄惁闇�鐢熶骇锛涜摑缇戒负鐜拌揣鍙戣揣妯″紡锛岄粯璁ゃ�屼笉闇�鐢熶骇銆嶏紝
+ // 閬垮厤璁㈠崟瀹℃牳鍚庤嚜鍔ㄥ垱寤� MPS 鍗′綇鍙戣揣娴佺▼
+ needProduction: 0,
};
tableData.value.push(newRow);
// 閫氱煡鐖剁粍浠舵洿鏂�
@@ -189,9 +191,9 @@
erpPriceMultiply(row.totalProductPrice, (row.taxPercent || 0) / 100) ?? 0;
row.totalPrice = row.totalProductPrice + row.taxPrice;
}
- // 榛樿闇�瑕佺敓浜�
+ // 榛樿涓嶉渶鐢熶骇锛堢幇璐у彂璐фā寮忥級锛岃鍊煎凡涓嶇敱閿�鍞濉啓
if (row.needProduction === undefined) {
- row.needProduction = 1;
+ row.needProduction = 0;
}
}
--
Gitblit v1.9.3