| | |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/pakin/PakinBind", |
| | | "path": "pages/pakin/PakinBind", |
| | | "style": { |
| | | "navigationBarTitleText": "入库组托" |
| | | "navigationBarTitleText": "组托上架" |
| | | } |
| | | }, |
| | | { |
| | |
| | | anfme: 0, |
| | | }, |
| | | selectNum: null, |
| | | mats: null, |
| | | mats: [], |
| | | baseIP: '', |
| | | basePORT: '', |
| | | } |
| | |
| | | that.mats = data.data |
| | | }) |
| | | |
| | | |
| | | console.log(that.mats); |
| | | }, |
| | | methods: { |
| | | blur() { |
| | |
| | | }); |
| | | return; |
| | | } |
| | | console.log("=======>"); |
| | | console.log(this.mats[0]); |
| | | |
| | | if (this.selectNum != null) { |
| | | this.mats[0].anfme = this.selectNum |
| | | } else { |
| | |
| | | <view> |
| | | <view class="code"> |
| | | <view class="item"> |
| | | <view class="code-decs">订单号:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="orderNo" :focus="orderNoFocus" |
| | | @input="orderNoInput()"> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="code-decs">托盘码:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="barcode" :focus="barcodeFocus" |
| | | @input="barcodeInput()"> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="code-decs">物料码:</view> |
| | | <view class="code-decs">BS码:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="matnr" :focus="matFocus" @input="findMat()"> |
| | | <view class="item-right"> |
| | | <button></button> |
| | |
| | | <uni-icons type="right" color="#c1c1c1"></uni-icons> |
| | | </view> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="code-decs">台车:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="orderNo" :focus="orderNoFocus" |
| | | @input="orderNoInput()"> |
| | | </view> |
| | | </view> |
| | | <view class="mat-list-title"> |
| | | 商品列表 |
| | | </view> |
| | | </view> |
| | | <scroll-view> |
| | | <view class="list" v-for="(item,i) in dataList" :key="i"> |
| | | <view class="list-left"> |
| | |
| | | findMat() { |
| | | let that = this |
| | | uni.request({ |
| | | url: that.baseUrl + '/mobile/scan/order/mats', |
| | | url: that.baseUrl + '/mobile/cache/task/list', |
| | | method: 'POST', |
| | | data: { |
| | | orderNo: that.orderNo, |
| | | matnr: that.matnr |
| | | barcode: that.barcode, |
| | | bsCode: that.matnr |
| | | }, |
| | | header: { |
| | | 'token': uni.getStorageSync('token') |