Browse Source

价格类型 省仓

chenrui 1 năm trước cách đây
mục cha
commit
b10a02756a
1 tập tin đã thay đổi với 8 bổ sung2 xóa
  1. 8 2
      components/select/v-select.vue

+ 8 - 2
components/select/v-select.vue

@@ -66,8 +66,14 @@ export default {
       }).then(result => {
 		  console.log(result, 'result')
         if (result && result.status + '' === '200') {
-          this.datalist = result.data.list
-          
+		let isDealerSupplierFlag = this.$store.state.vuex_userData.extInfo.dealerSupplierFlag //0 非省仓客户  1省仓客户
+		if(isDealerSupplierFlag == 1){
+			 this.datalist = result.data.list
+		}else{
+			let list = result.data.list
+			list = list.filter(item => item.dispName != '省级批发价')
+			this.datalist  = list
+		}
         }
       })
     } else {