Commit fd19a487 by zhangxw

测试用例评审问题修改

1 parent 44ddda36
...@@ -1192,7 +1192,7 @@ export default { ...@@ -1192,7 +1192,7 @@ export default {
}, },
// 单个商品车价区间是否正确 // 单个商品车价区间是否正确
priceIsError(minValue, maxValue) { priceIsError(minValue, maxValue) {
return !this.filterEmpty(minValue) && !this.filterEmpty(maxValue) && Number(minValue) >= Number(maxValue) return !this.filterEmpty(minValue) && !this.filterEmpty(maxValue) && Number(minValue) > Number(maxValue)
}, },
handlePriceConflict() { handlePriceConflict() {
const priceRanges = [] const priceRanges = []
......
...@@ -49,13 +49,13 @@ ...@@ -49,13 +49,13 @@
<td v-if="equitySceneType.includes(goodsInfoData.goodsType) && !baseConfig.supplierCode.includes(`${goodsInfoData.supplierCode}`)"> <td v-if="equitySceneType.includes(goodsInfoData.goodsType) && !baseConfig.supplierCode.includes(`${goodsInfoData.supplierCode}`)">
<span class="color-red">*</span> <span class="color-red">*</span>
<span>服务项目</span> <span>服务项目</span>
<img src="@/assets/icon-edit.png" style="cursor: pointer;margin-left: 5px;width: 16px;height: 16px;vertical-align: middle;" @click="serviceSelectFocus()" /> <img v-if="$$(goodsInfoData.goodsSpecificationSingleList,'length')" src="@/assets/icon-edit.png" style="cursor: pointer;margin-left: 5px;width: 16px;height: 16px;vertical-align: middle;" @click="serviceSelectFocus()" />
</td> </td>
<!-- 仅权益升级类目展示 --> <!-- 仅权益升级类目展示 -->
<td v-if="equitySceneType.includes(goodsInfoData.goodsType) && !baseConfig.supplierCode.includes(`${goodsInfoData.supplierCode}`)"> <td v-if="equitySceneType.includes(goodsInfoData.goodsType) && !baseConfig.supplierCode.includes(`${goodsInfoData.supplierCode}`)">
<span class="color-red">*</span> <span class="color-red">*</span>
<span>服务时间/年</span> <span>服务时间/年</span>
<img src="@/assets/icon-edit.png" style="cursor: pointer;margin-left: 5px;width: 16px;height: 16px;vertical-align: middle;" @click="batchServiceYears()" /> <img v-if="$$(goodsInfoData.goodsSpecificationSingleList,'length')" src="@/assets/icon-edit.png" style="cursor: pointer;margin-left: 5px;width: 16px;height: 16px;vertical-align: middle;" @click="batchServiceYears()" />
</td> </td>
<!-- 仅权益升级类目展示 --> <!-- 仅权益升级类目展示 -->
<td v-if="equitySceneType.includes(goodsInfoData.goodsType)"> <td v-if="equitySceneType.includes(goodsInfoData.goodsType)">
...@@ -804,7 +804,7 @@ export default { ...@@ -804,7 +804,7 @@ export default {
}, },
// 单个商品车价区间是否正确 // 单个商品车价区间是否正确
priceIsError(minValue, maxValue) { priceIsError(minValue, maxValue) {
return !this.filterEmpty(minValue) && !this.filterEmpty(maxValue) && Number(minValue) >= Number(maxValue) return !this.filterEmpty(minValue) && !this.filterEmpty(maxValue) && Number(minValue) > Number(maxValue)
}, },
handlePriceConflict() { handlePriceConflict() {
const priceRanges = [] const priceRanges = []
......
...@@ -947,6 +947,7 @@ export default { ...@@ -947,6 +947,7 @@ export default {
// 收入所属公司下拉框选中对象 // 收入所属公司下拉框选中对象
let incomeOwnerMerchantInfo = this.baseData?.contractAttributionList?.find(item => item['merchantId'] == _formData?.incomeOwnerMerchantId) let incomeOwnerMerchantInfo = this.baseData?.contractAttributionList?.find(item => item['merchantId'] == _formData?.incomeOwnerMerchantId)
let params = { let params = {
flag: this.addOrEdit == 'edit' ? 0 : this.addOrEdit == 'add' ? 1 : '', // 新增修改标识(0:修改,1:新增)
scene: _formData?.scene, // 业务类型 scene: _formData?.scene, // 业务类型
shopInfo: shopInfo, shopInfo: shopInfo,
shopContractInfo: { shopContractInfo: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!