家居行业新增记录时应该默认为家居场景
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<view class="form-item">
|
<view class="form-item">
|
||||||
<text class="form-item__label">服务次数</text>
|
<text class="form-item__label">服务次数</text>
|
||||||
<view class="form-item__text">
|
<view class="form-item__text">
|
||||||
<text>{{ formData.contactCount || 0 }}</text>
|
<text>{{ formData.recordingCount || 0 }}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="form-item">
|
<view class="form-item">
|
||||||
@@ -330,7 +330,7 @@ export default {
|
|||||||
salesId: customer.salesId ? String(customer.salesId) : this.formData.salesId,
|
salesId: customer.salesId ? String(customer.salesId) : this.formData.salesId,
|
||||||
salesName: customer.salesName || this.formData.salesName,
|
salesName: customer.salesName || this.formData.salesName,
|
||||||
salesPhone: String(resolvedSalesPhone),
|
salesPhone: String(resolvedSalesPhone),
|
||||||
recordingCount: customer.recordingCount ?? this.formData.recordingCount,
|
recordingCount: Number(customer.recordingCount) || 0,
|
||||||
intendedModel: customer.intendedModel || this.formData.intendedModel,
|
intendedModel: customer.intendedModel || this.formData.intendedModel,
|
||||||
infoCard: customer.infoCard || this.formData.infoCard,
|
infoCard: customer.infoCard || this.formData.infoCard,
|
||||||
remark: customer.remark || this.formData.remark,
|
remark: customer.remark || this.formData.remark,
|
||||||
@@ -418,7 +418,8 @@ export default {
|
|||||||
detailedAddress: this.formData.detailedAddress?.trim() || "",
|
detailedAddress: this.formData.detailedAddress?.trim() || "",
|
||||||
salesPhone: trimmedSalesPhone || "",
|
salesPhone: trimmedSalesPhone || "",
|
||||||
contactCount: Number(this.formData.contactCount) || 0,
|
contactCount: Number(this.formData.contactCount) || 0,
|
||||||
operationType: action
|
operationType: action,
|
||||||
|
scenario: "furniture"
|
||||||
};
|
};
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user