lilei пре 3 година
родитељ
комит
027fa4a6fe
3 измењених фајлова са 7 додато и 7 уклоњено
  1. 1 1
      App.vue
  2. 1 1
      config/index.js
  3. 5 5
      pages/sales/salesRecord.vue

+ 1 - 1
App.vue

@@ -5,7 +5,7 @@
 			token: '',
 			changeOrg:'',
 			version: '', // 当前版本号
-			buildType: 'uat', // 打包环境对应类型,pro 生产 uat 预发布 dev 本地开发
+			buildType: 'dev', // 打包环境对应类型,pro 生产 uat 预发布 dev 本地开发
 			envTips: '', // 环境文字提示
 			theme: 'default', // 主题,default
 			isIphoneXup: false //是否iphonex以及以上的版本

+ 1 - 1
config/index.js

@@ -6,7 +6,7 @@ const getConfig = (theme) => {
 			themePath: 'default',
 			pro_URL: 'https://iscm.360arrow.com/qpls-md/', // 生产地址
 			uat_URL: 'http://p.iscm.360arrow.com/qpls-md/', // 预发布地址
-			dev_URL: 'http://192.168.16.151:8503/qpls-md/', // 本地地址
+			dev_URL: 'http://192.168.16.103:8503/qpls-md/', // 本地地址
 			appName: 'iSCM智慧供应链', // app 名称
 			company: '陕西山海高科信息技术有限公司',
 			loadText:{

+ 5 - 5
pages/sales/salesRecord.vue

@@ -10,7 +10,7 @@
 					<u-cell-item value="去选择" @click="toChooseCust">
 						<view slot="title">
 							选择客户:
-							<u-tag v-if="buyerName" :text="buyerName" closeable :show="show" @close="tagClick" shape="circle" />
+							<u-tag v-if="queryparams.buyerName" :text="queryparams.buyerName" closeable :show="show" @close="tagClick" shape="circle" />
 							<u-tag v-else :text="'全部'" shape="circle" />
 						</view>
 					</u-cell-item>
@@ -59,10 +59,10 @@
 				noDataText: '暂无销售记录',
 				scrollH: 300,
 				queryparams: {
+					buyerName:'',
 					buyerSn: undefined,
 					productSn: undefined
 				},
-				buyerName: '',
 				baseData: null,
 				show:false
 			}
@@ -71,8 +71,8 @@
 			this.queryparams.productSn = opts ? opts.productSn : undefined
 			this.baseData ={productName:opts.productName,productCode:opts.productCode}
 			uni.$on("searchSalesRecord",(data)=>{
-				this.queryparams.buyerSn = data.customerSn
-				this.buyerName = data.customerName
+				// this.queryparams.buyerSn = data.customerSn
+				this.queryparams.buyerName = data.customerName
 				this.show = true
 				this.getList(1)
 			})
@@ -102,7 +102,7 @@
 			},
 			tagClick(){
 				this.show = false
-				this.buyerName = undefined
+				this.queryparams.buyerName = undefined
 				this.queryparams.buyerSn = undefined
 				this.getList(1)
 			},