chenrui 1 рік тому
батько
коміт
215f26e4f2

+ 0 - 8
src/views/productManagement/productPricing/editModal.vue

@@ -183,14 +183,6 @@ export default {
             _this.$message.error({ content: '价格设置规则:省级价≤市级价≤特约价', duration: 5 })
             return
           }
-          if (newFormData.afterTerminalPrice && newFormData.afterTerminalPrice * 1 < newFormData.afterSpecialPrice * 1) {
-            _this.$message.error({ content: '价格设置规则:特约价≤终端价', duration: 5 })
-            return
-          }
-          if (newFormData.afterCarOwnersPrice && newFormData.afterCarOwnersPrice * 1 < newFormData.afterTerminalPrice * 1) {
-            _this.$message.error({ content: '价格设置规则:终端价≤车主价', duration: 5 })
-            return
-          }
           const form = JSON.parse(JSON.stringify(_this.form))
           form.id = this.detailData.id || undefined
           form.productSn = _this.itemSn