Commit b54d9727 by 张立顺

冲突解决

1 parent 0d5922b4
......@@ -353,8 +353,7 @@ export default {
d.districtCode &&
String(d.districtCode).trim()
);
const latOk =
coordOk(d.lat) || coordOk(d.latitude);
const latOk = coordOk(d.lat) || coordOk(d.latitude);
const lngOk =
coordOk(d.lng) || coordOk(d.longitude);
if (
......@@ -364,9 +363,7 @@ export default {
!hasText
) {
callback(
new Error(
"请选择省、市、区并填写详细地址"
)
new Error("请选择省、市、区并填写详细地址")
);
return;
}
......@@ -857,14 +854,14 @@ export default {
lat != null && lat !== ""
? lat
: latitude != null && latitude !== ""
? latitude
: "";
? latitude
: "";
const lngVal =
lng != null && lng !== ""
? lng
: longitude != null && longitude !== ""
? longitude
: "";
? longitude
: "";
this.editData.detailAddress = fullAddress || "";
this.editData.provinceName = provinceName;
this.editData.provinceCode =
......@@ -876,14 +873,13 @@ export default {
? String(cityCode)
: this.editData.cityCode;
this.editData.cityName = cityName;
const tn =
townName != null ? String(townName).trim() : "";
const tn = townName != null ? String(townName).trim() : "";
const tcRaw =
townCode != null && String(townCode).trim() !== ""
? String(townCode).trim()
: cityCode != null && String(cityCode).trim() !== ""
? String(cityCode).trim()
: "";
? String(cityCode).trim()
: "";
this.editData.districtName = tn;
this.editData.districtCode = tcRaw;
this.editData.lat = latVal;
......
......@@ -794,9 +794,5 @@ export default {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
<<<<<<< HEAD
}
</style>
=======
}</style>
>>>>>>> 51b882e75b75ed65e08ea4f83054db10c815864a
......@@ -5,21 +5,11 @@
品类切换
<span class="ledger-goods-type-toolbar__controls">
<span class="select-wrapper">
<el-select
:value="String(activeType)"
class="tab-select"
popper-class="ledger-goods-type-dd--ms-ledger"
:popper-append-to-body="false"
placeholder="请选择品类"
@change="onGoodsTypeTabSelectChange"
>
<el-select :value="String(activeType)" class="tab-select" popper-class="ledger-goods-type-dd--ms-ledger"
:popper-append-to-body="false" placeholder="请选择品类" @change="onGoodsTypeTabSelectChange">
<template v-for="(item, index) in items.goodsTypeGroupRules">
<el-option
v-if="item.groupType == 1 || item.groupType == 2"
:key="index + '-goods-type-opt'"
:label="getGoodsGroupTabLabel(item, index)"
:value="String(index)"
/>
<el-option v-if="item.groupType == 1 || item.groupType == 2" :key="index + '-goods-type-opt'"
:label="getGoodsGroupTabLabel(item, index)" :value="String(index)" />
</template>
</el-select>
</span>
......@@ -553,11 +543,7 @@ export default {
if (arr[0]?.categoryType == 2) {
const length = arr.length - 1
text = arr.reduce((str, item, index) => {
<<<<<<< HEAD
str += `${item.upgradeGoodsName}(${item.merchantGoodsCode ?? ""})${index == length ? "" : "、"}`
=======
str += `${item.upgradeGoodsName}(${item.merchantGoodsCode})${index == length ? "" : "、"}`
>>>>>>> 51b882e75b75ed65e08ea4f83054db10c815864a
return str
}, '')
return text
......
......@@ -24,8 +24,8 @@
<auth-button slot="auth-button" slot-scope="scope" :show-btn-ids="['9060503']" :data="scope.scope" />
</d2-table>
</div>
<info-verify-merchant-dialog :visible.sync="infoVerifyVisible" :customer-row="null" :submit-api="submitInfoVerifyMerchant"
:merchant-type-labels="['服务商']" @success="onInfoVerifySuccess" />
<info-verify-merchant-dialog :visible.sync="infoVerifyVisible" :customer-row="null"
:submit-api="submitInfoVerifyMerchant" :merchant-type-labels="['服务商']" @success="onInfoVerifySuccess" />
</d2-container>
</template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!