瀏覽代碼

修改0元商品的问题

lex-xin 5 年之前
父節點
當前提交
811afaaa50

文件差異過大導致無法顯示
+ 0 - 0
dist/index.html


+ 0 - 1
dist/static/css/chunk-2c7693d9.5b722d11.css

@@ -1 +0,0 @@
-.el-button--primary[data-v-15e68305],.el-button--primary[data-v-15e68305]:active,.el-button--primary[data-v-15e68305]:focus,.el-button--primary[data-v-15e68305]:hover{background:#14928a;border-color:#14928a;color:#fff}.el-row[data-v-15e68305]{margin-top:40px}.el-col[data-v-15e68305]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-right:50%}.el-input-group[data-v-15e68305]{width:200px;margin:0 20px}[data-v-15e68305] .el-tree-node__content{height:40px!important}[data-v-15e68305] .avatar-uploader .el-upload{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avatar-uploader .el-upload[data-v-15e68305]:hover{border-color:#409eff}.avatar-uploader-icon[data-v-15e68305]{font-size:28px;color:#8c939d;width:120px;height:120px;line-height:120px;text-align:center}.avatar[data-v-15e68305]{width:120px;height:120px;display:block}

+ 1 - 0
dist/static/css/chunk-9808b29c.d25d6733.css

@@ -0,0 +1 @@
+.el-button--primary[data-v-fcd7a628],.el-button--primary[data-v-fcd7a628]:active,.el-button--primary[data-v-fcd7a628]:focus,.el-button--primary[data-v-fcd7a628]:hover{background:#14928a;border-color:#14928a;color:#fff}.el-row[data-v-fcd7a628]{margin-top:40px}.el-col[data-v-fcd7a628]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-right:50%}.el-input-group[data-v-fcd7a628]{width:200px;margin:0 20px}[data-v-fcd7a628] .el-tree-node__content{height:40px!important}[data-v-fcd7a628] .avatar-uploader .el-upload{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avatar-uploader .el-upload[data-v-fcd7a628]:hover{border-color:#409eff}.avatar-uploader-icon[data-v-fcd7a628]{font-size:28px;color:#8c939d;width:120px;height:120px;line-height:120px;text-align:center}.avatar[data-v-fcd7a628]{width:120px;height:120px;display:block}

文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/app.36c82b38.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-2c7693d9.ba7cb7ad.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-9808b29c.39190767.js


+ 2 - 2
src/views/businessManager/shopManager/shopOperation.vue

@@ -101,10 +101,10 @@ import { categoryListTree, goodsAdd, goodsUpdate, goodsSingleQuery } from '@/api
 // import store from '@/store'
 import { getToken } from '@/utils/auth'
 let validPrice = (rule, value, callback) => {
-  if (!value) {
+  if (value == '' && typeof value == 'string') {
     callback(new Error('请输入金额'))
   } else if (value < 0) {
-    callback(new Error('输入金额必须大于0'))
+    callback(new Error('输入金额必须大于或等于0'))
   } else if (value >= 100000) {
     callback(new Error('输入金额必须小于100000'))
   } else {

部分文件因文件數量過多而無法顯示