소스 검색

修改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 => {