2
3
Liuqi 6 سال پیش
والد
کامیت
e10d0fb27d

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/select/zrfwselect/basislist.vue

@@ -73,7 +73,7 @@ export default {
         })
         .then(res => {
           _this.basisList = []
-          if (res.data.items != null) {
+          if (res.data.items != null && res.data.items != '' && res.data.items != ' ') {
             _this.SupplierId = res.data.items[0].SupplierId
             _this.basisList = res.data.items
             _this.currentItemCount = res.data.currentItemCount

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/select/zrfwselect/goodslist.vue

@@ -81,7 +81,7 @@ export default {
         })
         .then(res => {
           _this.goodsList = []
-          if (res.data.items != null) {
+          if (res.data.items != null && res.data.items != '' && res.data.items != ' ') {
             _this.SupplierId = res.data.items[0].SupplierId
             _this.goodsList = res.data.items
             _this.currentItemCount = res.data.currentItemCount

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/select/zrfwselect/techlist.vue

@@ -73,7 +73,7 @@ export default {
         })
         .then(res => {
           _this.techList = []
-          if (res.data.items != null) {
+          if (res.data.items != null && res.data.items != '' && res.data.items != ' ') {
             _this.SupplierId = res.data.items[0].SupplierId
             _this.techList = res.data.items
             _this.currentItemCount = res.data.currentItemCount