Ver Fonte

Merge branch 'master' of http://git.zthymaoyi.com/gdc/yiliangyiyun-app

gjy há 2 anos atrás
pai
commit
d76aab3974
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      pages/erpbusiness/edit_quality_testing.vue

+ 3 - 1
pages/erpbusiness/edit_quality_testing.vue

@@ -747,7 +747,9 @@
 						if (res.data.data) {
 							that.goodsList = res.data.data
 							if (that.goodsList.length > 0) {
-								that.gridList.goodsName = that.goodsList[0].goodsName
+								if(!that.gridList.goodsName){
+									that.gridList.goodsName = that.goodsList[0].goodsName
+								}
 								uni.setStorageSync('purchasePriceList', that.goodsList)
 								that.purchasePriceList = uni.getStorageSync('purchasePriceList')
 							}