|  |  |  | 
|---|
|  |  |  | <!-- 标题 --> | 
|---|
|  |  |  | <view class="title">入库数量</view> | 
|---|
|  |  |  | <view class="popup-item"> | 
|---|
|  |  |  | <uni-number-box :value="count" :step='1' :max="9999999" color="#747474" @change="changeValue" /> | 
|---|
|  |  |  | <uni-number-box :value="count" :step='0.01' :max="9999999" color="#747474" @change="changeValue" /> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  | <view class="btn"> | 
|---|
|  |  |  | <view class="btn-left" @click="addClose">取消</view> | 
|---|
|  |  |  | 
|---|
|  |  |  | onLoad() { | 
|---|
|  |  |  | this.baseUrl = uni.getStorageSync('baseUrl'); | 
|---|
|  |  |  | this.token = uni.getStorageSync('token'); | 
|---|
|  |  |  | this.searchValue = uni.getStorageSync('bcpThreeCode'); | 
|---|
|  |  |  | this.searchValue = uni.getStorageSync('wrkNoDb'); | 
|---|
|  |  |  | this.getOrderDetlList(this.searchValue,10) | 
|---|
|  |  |  | console.log("onLoad"); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | onShow() { | 
|---|
|  |  |  | console.log(uni.getStorageSync('pakinOrderCar')); | 
|---|
|  |  |  | console.log(uni.getStorageSync('wrkNoDb')); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | onHide() { | 
|---|
|  |  |  | uni.setStorageSync('pakinOrderCar', this.orderCarList); | 
|---|
|  |  |  | uni.setStorageSync('wrkNoDb', this.orderCarList); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | methods: { | 
|---|
|  |  |  | getOrderDetlList(threeCode,limit) { | 
|---|
|  |  |  | 
|---|
|  |  |  | searchValueInput2() { | 
|---|
|  |  |  | this.dataList = [] | 
|---|
|  |  |  | this.data.curr = 1 | 
|---|
|  |  |  | uni.setStorageSync('bcpThreeCode', this.searchValue); | 
|---|
|  |  |  | uni.setStorageSync('wrkNoDb', this.searchValue); | 
|---|
|  |  |  | if (this.searchValue.length == 0) { | 
|---|
|  |  |  | this.getOrderDetlList(this.searchValue,10) | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | 
|---|
|  |  |  | console.log(data); | 
|---|
|  |  |  | if (data.data == 1) { | 
|---|
|  |  |  | _this.orderCarList = [] | 
|---|
|  |  |  | _this.getOrderDetlList(uni.getStorageSync('bcpThreeCode'),10) | 
|---|
|  |  |  | _this.getOrderDetlList(uni.getStorageSync('wrkNoDb'),10) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|