| | |
| | | </uni-segmented-control> --> |
| | | <view class="content"> |
| | | <!-- <view v-if="current === 0" class="headerstyle"> --> |
| | | <view class="itemstyle"> |
| | | <u-sticky> |
| | | <view style="background-color: #ffffff;"> |
| | | <uni-search-bar @confirm="search" v-model="searchValue"></uni-search-bar> |
| | | </view> |
| | | </u-sticky> |
| | | <uni-forms label-width="50"> |
| | | <uni-forms-item label="åºåºåºå"><uni-data-select v-model="value" |
| | | :localdata="range"></uni-data-select></uni-forms-item> |
| | | </uni-forms> |
| | | <uni-list :border="true"> |
| | | <uni-list-item direction="column" v-for="(item,index) in orderInfo" :key="item.dtlId"> |
| | | <template v-slot:body> |
| | | <view class="uni-list-box"> |
| | | <button type="primary" style="position: absolute;right: 1%;" size="mini" |
| | | @click="OutBound(item.id)">åºåº</button> |
| | | <view class="uni-content"> |
| | | <view style="font-size: 18px;">åæ®ç¼å·ï¼{{orderNo}}</view> |
| | | <view style="font-size: 18px;">ç©æç¼ç ï¼{{item.materielCode}}</view> |
| | | <view style="font-size: 18px;">ç©æåç§°ï¼{{item.materielName}}</view> |
| | | <view style="font-size: 18px;">åæ®æ°éï¼{{item.orderQuantity}}</view> |
| | | <!-- <view style="font-size: 18px;">å·²åé
æ°éï¼{{item.processQty}}</view> --> |
| | | <view style="font-size: 18px;">åºåºæ°éï¼{{item.overOutQuantity}}</view> |
| | | </view> |
| | | <view class="itemstyle"> |
| | | <u-sticky> |
| | | <view style="background-color: #ffffff;"> |
| | | <uni-search-bar @confirm="search" v-model="searchValue"></uni-search-bar> |
| | | </view> |
| | | </u-sticky> |
| | | <uni-forms label-width="50"> |
| | | <uni-forms-item label="åºåºåºå"><uni-data-select v-model="value" |
| | | :localdata="range"></uni-data-select></uni-forms-item> |
| | | <uni-forms-item label="è°æ¨ä»åº"> |
| | | <uni-easyinput type="text" :focus="!istrue" v-model="Warehouse" placeholder="请è¾å
¥è°æ¨ä»åº" |
| | | ref='midInput' /> |
| | | </uni-forms-item> |
| | | </uni-forms> |
| | | <uni-list :border="true"> |
| | | <uni-list-item direction="column" v-for="(item,index) in orderInfo" :key="item.dtlId"> |
| | | <template v-slot:body> |
| | | <view class="uni-list-box"> |
| | | <button type="primary" style="position: absolute;right: 1%;" size="mini" |
| | | @click="OutBound(item.id)">åºåº</button> |
| | | <view class="uni-content"> |
| | | <view style="font-size: 18px;">åæ®ç¼å·ï¼{{orderNo}}</view> |
| | | <view style="font-size: 18px;">ç©æç¼ç ï¼{{item.materielCode}}</view> |
| | | <view style="font-size: 18px;">ç©æåç§°ï¼{{item.materielName}}</view> |
| | | <view style="font-size: 18px;">åæ®æ°éï¼{{item.orderQuantity}}</view> |
| | | <!-- <view style="font-size: 18px;">å·²åé
æ°éï¼{{item.processQty}}</view> --> |
| | | <view style="font-size: 18px;">åºåºæ°éï¼{{item.overOutQuantity}}</view> |
| | | </view> |
| | | </template> |
| | | </uni-list-item> |
| | | </uni-list> |
| | | </view> |
| | | <u-toast ref="uToast" /> |
| | | </view> |
| | | </template> |
| | | </uni-list-item> |
| | | </uni-list> |
| | | </view> |
| | | <u-toast ref="uToast" /> |
| | | <!-- </view> --> |
| | | </view> |
| | | </view> |
| | |
| | | orderIds: [], |
| | | orderInfo: [], |
| | | searchValue: "", |
| | | value:"2", |
| | | value: "2", |
| | | Warehouse:"", |
| | | label: "", |
| | | range: [], |
| | | orderDetail: {}, |
| | |
| | | } |
| | | }, |
| | | OutBound(id) { |
| | | this.orderIds=[]; |
| | | this.orderIds = []; |
| | | this.orderIds.push(id); |
| | | var postData = { |
| | | AreaId: this.value, |
| | | orderIds: this.orderIds |
| | | orderIds: this.orderIds, |
| | | Warehouse:this.Warehouse, |
| | | }; |
| | | console.log(postData); |
| | | this.$u.post('/api/AllocateOutboundOrder/GenerateAllocateOutboundTask', postData).then(res => { |