AGV开始值

master
Mr.sun 2 years ago
parent 343f8ace32
commit 2ca47d4f69
  1. 8
      pages/AvgCarry/index.vue
  2. 8
      pages/AvgOrderPkg/index.scss
  3. 54
      pages/AvgOrderPkg/index.vue

@ -84,11 +84,15 @@
// this.getDataList()
this.$u.api.AvgCarry.queryBillingDByContainerCode({containerCode:this.dataForm.containerCode}).then(res=>{
// console.log(res);
this.endValue = res.data
this.endValue = res.data[0].targetPoint
this.beginValue= res.data[1].startPoint
this.pointList.forEach(item=>{
if(res.data == item.value){
if(res.res.data[0].targetPoint == item.value){
this.end = item.label
}
if(res.res.data[1].startPoint == item.value){
this.begin = item.label
}
})
// this.end = res.data
this.pointList1 = this.pointList.filter(item=>item.value != this.beginValue&& item.value != this.endValue)

@ -121,7 +121,7 @@
align-items: center;
width: 70%;
.goods-title {
font-size: 28rpx;
font-size: 32rpx;
color: #555555;
}
.goods-value {
@ -152,14 +152,14 @@
// align-items: center;
// position: relative;
.item-title {
font-size: 22rpx;
font-size: 36rpx;
color: #555555;
width: 130rpx;
width: 165rpx;
text-align: right;
// right: 0;
}
.item-value {
font-size: 24rpx;
font-size: 36rpx;
color: #666666;
margin-left: 14rpx; }
}

@ -27,13 +27,13 @@
<view class="card-content-item" width="60%" style="margin-top: 1vh;">
<text class="item-title" >物料编号:</text>
<text class="item-value">{{item.ttPart}}</text>
<text class="item-value">{{item.goodNo}}</text>
</view>
</view>
<view class="card-content">
<view class="card-content-item">
<text class="item-title">物料信息:</text>
<text class="item-value">{{item.ptName}}--{{item.ptDesc}}</text>
<text class="item-value">{{item.goodName}}--{{item.specifications}}</text>
</view>
</view>
@ -47,12 +47,12 @@
<view class="card-content">
<view class="card-content-item">
<text class="item-title">缴库数量:</text>
<text class="item-value">{{item.ttQtyRct}}</text>
<text class="item-value">{{item.qty}}</text>
</view>
<view class="card-content-item">
<!-- <view class="card-content-item">
<text class="item-title">缴库数量:</text>
<text class="item-value">{{item.ttQtyRct}}</text>
</view>
</view> -->
</view>
@ -63,7 +63,7 @@
<text>数量确认</text>
</view>
<view style="width: 100%;display: flex;align-items: baseline;">
<text style="margin: 0px 20px 0px;">拣货数量:</text> <input v-model="item.ttQtyRct" style="border:1px solid #000;padding-right: 20px;"></u-input>
<text style="margin: 0px 20px 0px;">缴库数量:</text> <input v-model="item.qty" style="border:1px solid #000;padding-right: 20px;"></u-input>
</view>
<view style="width: 100%; display: flex;margin-top: 40px;font-size: 14px;">
@ -107,7 +107,28 @@
containerId:'',
dtlAddBos:[]
},
dataList: [],
dataList: [
{
"id": 3,
"orderNo": "FL20240306002",
"waveCode": "BC120240300606",
"lineId": 0,
"goodId": 14,
"locationId": 172,
"qty": 10.0000,
"packageId": 14,
"taskType": "1",
"sourceOrderNo": "FL20240306002",
"sourceLineId": "",
"upperOrderNo": "FL20240306002",
"goodNo": "L010002",
"locationCode": "20-18-0",
"specifications": "件",
"containerCode": "P10000002",
"goodName": "铝合金规格2",
"batchNo": "07144961"
}
],
query: {
current: 1,
size: 20
@ -185,10 +206,11 @@
},
enterUp(item){
console.log(item);
this.$u.api.replaceCar.upateBusinItemInDataForQty(item).then(res=>{
console.log(res);
})
this.show=false
// this.$u.api.replaceCar.upateBusinItemInDataForQty(item).then(res=>{
// console.log(res);
// })
},
/**搜索框查询*/
inputQuery() {
@ -234,10 +256,10 @@
flag = true
this.firstFocus=false
this.$u.api.replaceCar.getBusinItemInData(this.dataForm).then(res=>{
this.$u.api.pickBy.pickByContainerCode(this.dataForm).then(res=>{
if(!res.data || res.data.length == 0){
// console.log(res);
this.$u.toast("当前托盘模具不存在");
this.$u.toast("当前托盘不存在");
}else if(res.code == '200'){
// console.log(res);
res.data.forEach((item)=>{
@ -259,6 +281,12 @@
,500)
},400)
},
pickUp(){
this.$u.api.pickBy.pickAGV(this.dataForm).then(res=>{
console.log(res);
})
},
//
enterNext(item,index){

Loading…
Cancel
Save