Commit b54d9727 by 张立顺

冲突解决

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