|  |  |  | 
|---|
|  |  |  | if (matnr[1]) { | 
|---|
|  |  |  | that.order = matnr[0] | 
|---|
|  |  |  | that.matnr = matnr[1] | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (matnr[2] === null) { | 
|---|
|  |  |  | that.batch = '' | 
|---|
|  |  |  | matnr[2] = '' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | that.anfme = matnr[3] | 
|---|
|  |  |  | } | 
|---|
|  |  |  | uni.request({ | 
|---|
|  |  |  | url: that.baseUrl + '/mat/auth', | 
|---|
|  |  |  | data: { | 
|---|
|  |  |  | 
|---|
|  |  |  | that.matData = result.data | 
|---|
|  |  |  | that.matnr = '' | 
|---|
|  |  |  | that.matData['batch'] = '' | 
|---|
|  |  |  | result.data.batch = matnr[2] | 
|---|
|  |  |  | that.matData['anfme'] = '' | 
|---|
|  |  |  | if (matnr[2] === null) { | 
|---|
|  |  |  | result.data.batch = '' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | result.data.anfme = matnr[3] | 
|---|
|  |  |  | uni.navigateTo({ | 
|---|
|  |  |  | url: "../mat/matSelected", | 
|---|
|  |  |  | // 通过eventChannel向被打开页面传送数据 | 
|---|
|  |  |  | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | min-height: 80rpx; | 
|---|
|  |  |  | background-color: #FFF; | 
|---|
|  |  |  | margin: auto 20rpx; | 
|---|
|  |  |  | margin: 30rpx 20rpx; | 
|---|
|  |  |  | padding: 10rpx; | 
|---|
|  |  |  | border-radius: 20rpx; | 
|---|
|  |  |  | box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.2); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .list:first-child { | 
|---|
|  |  |  | margin-top: 410rpx; | 
|---|
|  |  |  | margin-top: 340rpx; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .list:last-child { | 
|---|
|  |  |  | margin-bottom: 120rpx; | 
|---|