| | |
| | | <view class="search-bar"> |
| | | <uni-search-bar v-model="condition" placeholder=" 输入批次/编码/单号" bgColor="#EEEEEE" @confirm="search()"/> |
| | | </view> |
| | | |
| | | |
| | | <view> |
| | | <view class="padding-lr margin-top-sm"> |
| | | <block v-for="(item, index) in matList" :key="index"> |
| | |
| | | <text class="text-grey ">{{item.asnCode}}</text> |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="cu-item"> |
| | | <view class="content"> |
| | | <text class="text-black">供应商批次:</text> |
| | | </view> |
| | | <view class="action"> |
| | | <text class="text-grey ">{{item.splrBatch}}</text> |
| | | </view> |
| | | </view> |
| | | <view class="cu-item"> |
| | | <view class="content"> |
| | | <text class="text-black">现品票号:</text> |
| | | </view> |
| | | <view class="action"> |
| | | <text class="text-grey ">{{item.extendFields.crushNo}}</text> |
| | | </view> |
| | | </view> |
| | | <view class="cu-item"> |
| | |
| | | </view> |
| | | <view class="content"> |
| | | <text class="text-black">已上架数量: <text |
| | | class="text-grey ">{{item.workQty + item.qty}}</text></text> |
| | | class="text-grey ">{{item.qty}}</text></text> |
| | | </view> |
| | | </view> |
| | | <view class="cu-item"> |
| | | <view class="content"> |
| | | <text class="text-black">可组盘数量: <text |
| | | class="text-grey ">{{item.anfme - item.workQty}}</text></text> |
| | | class="text-grey ">{{item.anfme - item.workQty - item.qty}}</text></text> |
| | | </view> |
| | | </view> |
| | | |
| | |
| | | matnrCode: this.condition, |
| | | asnCode: this.condition, |
| | | code: this.condition, |
| | | fieldsIndex: this.condition, |
| | | batch: this.condition |
| | | } |
| | | this.getDet(req); |
| | |
| | | back() { |
| | | for (var i = 0; i < this.matList.length; i++) { |
| | | if(this.matList[i].selected === true){ |
| | | this.matList[i].receiptQty = this.matList[i].anfme - this.matList[i].workQty |
| | | this.selectedList.push(this.matList[i]) |
| | | } |
| | | } |
| | |
| | | matnrCode: req.matnrCode, |
| | | asnCode: req.asnCode, |
| | | code: req.code, |
| | | fieldsIndex: req.fieldsIndex, |
| | | batch: req.batch |
| | | }, "post") |
| | | if (code === 200) { |