lilei 1 рік тому
батько
коміт
be7df7851f
2 змінених файлів з 5 додано та 1 видалено
  1. 1 1
      public/version.json
  2. 4 0
      src/views/numsGoodsShelves/shelfSet/set.vue

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1719192880276
+  "version": 1719198184647
 }

+ 4 - 0
src/views/numsGoodsShelves/shelfSet/set.vue

@@ -309,6 +309,10 @@ export default {
     },
     // 导入模板成功
     saveTpl () {
+      if (!this.tplSn) {
+        this.$message.success('请选择货架模板')
+        return
+      }
       if (!this.spinning) {
         this.spinning = true
         importShelfTemplate({ shelfSn: this.$route.params.sn, templateSn: this.tplSn }).then(res => {