家居行业新增记录时应该默认为家居场景

This commit is contained in:
zhonghua1
2026-01-10 15:24:43 +08:00
parent 46096dbb7e
commit 41ccbdf79c

View File

@@ -5,7 +5,7 @@
<view class="form-item">
<text class="form-item__label">服务次数</text>
<view class="form-item__text">
<text>{{ formData.contactCount || 0 }}</text>
<text>{{ formData.recordingCount || 0 }}</text>
</view>
</view>
<view class="form-item">
@@ -330,7 +330,7 @@ export default {
salesId: customer.salesId ? String(customer.salesId) : this.formData.salesId,
salesName: customer.salesName || this.formData.salesName,
salesPhone: String(resolvedSalesPhone),
recordingCount: customer.recordingCount ?? this.formData.recordingCount,
recordingCount: Number(customer.recordingCount) || 0,
intendedModel: customer.intendedModel || this.formData.intendedModel,
infoCard: customer.infoCard || this.formData.infoCard,
remark: customer.remark || this.formData.remark,
@@ -418,7 +418,8 @@ export default {
detailedAddress: this.formData.detailedAddress?.trim() || "",
salesPhone: trimmedSalesPhone || "",
contactCount: Number(this.formData.contactCount) || 0,
operationType: action
operationType: action,
scenario: "furniture"
};
try {