浏览代码

修改bug

chenrui 9 月之前
父节点
当前提交
a71aa4f992
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/views/easyPassManagement/shoppingProducts/editProductModal.vue

+ 0 - 4
src/views/easyPassManagement/shoppingProducts/editProductModal.vue

@@ -148,10 +148,6 @@ export default {
       const _this = this
       this.$refs.ruleForm.validate(valid => {
         if (valid) {
-          if (_this.form.price == _this.form.oldPrice) {
-            _this.$message.warning('产品售价未变更!')
-            return
-          }
           _this.spinning = true
           _this.form.shopProductSn = _this.itemSn
           shopProductSaveProduct(_this.form).then(res => {