|
@@ -50,16 +50,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
<view class='flex_btn' @click="openDetails(item.workOrderId)">出库单</view>
|
|
<view class='flex_btn' @click="openDetails(item.workOrderId)">出库单</view>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- <view class="operate_box rx-sc">
|
|
|
|
|
- <u-button size="small" class="u-reset-button" type="success"
|
|
|
|
|
- @click="handAdd(item.workOrderId)">手动添加</u-button>
|
|
|
|
|
- <u-button size="small" class="u-reset-button" type="success"
|
|
|
|
|
- @click="scanIt(item.workOrderId)">扫一扫</u-button>
|
|
|
|
|
|
|
+ <view class="operate_box ">
|
|
|
|
|
+
|
|
|
|
|
+ <u-button size="small" class="u-reset-button" type="success"
|
|
|
|
|
+ @click="handAdd(item.workOrderId)">手动添加</u-button>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <u-button size="small" class="u-reset-button" type="success"
|
|
|
|
|
+ @click="scanIt(item.workOrderId)">扫一扫</u-button>
|
|
|
|
|
+
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</u-list>
|
|
</u-list>
|
|
@@ -67,7 +68,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<view class="bottom-wrapper">
|
|
<view class="bottom-wrapper">
|
|
|
- <view class="btn_box" @click="save">一键报工</view>
|
|
|
|
|
|
|
+ <view class="btn_box" @click="save">一键投料</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -162,7 +163,7 @@
|
|
|
let palletList = [] // 舟皿
|
|
let palletList = [] // 舟皿
|
|
|
let revolvingDiskList = [] // 周转盘
|
|
let revolvingDiskList = [] // 周转盘
|
|
|
let semiProductList = [] // 半成品
|
|
let semiProductList = [] // 半成品
|
|
|
- let productionList = [] // 在制品
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
selectList.forEach(f => {
|
|
selectList.forEach(f => {
|
|
|
if (f.rootCategoryLevelId == 4) {
|
|
if (f.rootCategoryLevelId == 4) {
|
|
@@ -175,9 +176,7 @@
|
|
|
} else if (f.rootCategoryLevelId == 1) {
|
|
} else if (f.rootCategoryLevelId == 1) {
|
|
|
instanceList = instanceList.concat(f)
|
|
instanceList = instanceList.concat(f)
|
|
|
|
|
|
|
|
- } else if (f.rootCategoryLevelId == 2) {
|
|
|
|
|
- productionList = productionList.concat(f)
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
else if (f.rootCategoryLevelId == 11) {
|
|
else if (f.rootCategoryLevelId == 11) {
|
|
|
aridRegionList = aridRegionList.concat(f)
|
|
aridRegionList = aridRegionList.concat(f)
|
|
@@ -185,7 +184,7 @@
|
|
|
palletList = palletList.concat(f)
|
|
palletList = palletList.concat(f)
|
|
|
} else if (f.rootCategoryLevelId == 26) {
|
|
} else if (f.rootCategoryLevelId == 26) {
|
|
|
revolvingDiskList = revolvingDiskList.concat(f)
|
|
revolvingDiskList = revolvingDiskList.concat(f)
|
|
|
- } else if (f.rootCategoryLevelId == 23) {
|
|
|
|
|
|
|
+ } else if (f.rootCategoryLevelId == 23 || f.rootCategoryLevelId == 2) {
|
|
|
semiProductList = semiProductList.concat(f)
|
|
semiProductList = semiProductList.concat(f)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -252,7 +251,7 @@
|
|
|
|
|
|
|
|
batchSave(this.List).then(res => {
|
|
batchSave(this.List).then(res => {
|
|
|
|
|
|
|
|
- uni.navigateTo({
|
|
|
|
|
|
|
+ uni.redirectTo({
|
|
|
url: `/pages/pda/feeding/index/index?feedStatus=1`,
|
|
url: `/pages/pda/feeding/index/index?feedStatus=1`,
|
|
|
});
|
|
});
|
|
|
|
|
|
|
@@ -276,7 +275,7 @@
|
|
|
m.palletList = [] // 舟皿
|
|
m.palletList = [] // 舟皿
|
|
|
m.revolvingDiskList = [] // 周转盘
|
|
m.revolvingDiskList = [] // 周转盘
|
|
|
m.semiProductList = [] //半成品
|
|
m.semiProductList = [] //半成品
|
|
|
- m.productionList = [] // 在制品
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
if (m.pickOutInList.length > 0) {
|
|
if (m.pickOutInList.length > 0) {
|
|
|
m.pickOutInList.forEach(f => {
|
|
m.pickOutInList.forEach(f => {
|
|
@@ -294,7 +293,7 @@
|
|
|
m.palletList.push(f)
|
|
m.palletList.push(f)
|
|
|
} else if (f.rootCategoryLevelId == 26) {
|
|
} else if (f.rootCategoryLevelId == 26) {
|
|
|
m.revolvingDiskList.push(f)
|
|
m.revolvingDiskList.push(f)
|
|
|
- } else if (f.rootCategoryLevelId == 23) {
|
|
|
|
|
|
|
+ } else if (f.rootCategoryLevelId == 23 || f.rootCategoryLevelId == 2) {
|
|
|
m.semiProductList.push(f)
|
|
m.semiProductList.push(f)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -594,10 +593,16 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.operate_box {
|
|
.operate_box {
|
|
|
- padding: 10rpx 80rpx;
|
|
|
|
|
|
|
+
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ right: 0;
|
|
|
|
|
+ top: 400rpx;
|
|
|
|
|
|
|
|
/deep/ .u-button {
|
|
/deep/ .u-button {
|
|
|
- width: 160rpx;
|
|
|
|
|
|
|
+ margin-top: 20rpx;
|
|
|
|
|
+ width: 150rpx;
|
|
|
|
|
+ border-radius: 22rpx 0 0 22rpx;
|
|
|
|
|
+ opacity: 0.6;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -619,5 +624,6 @@
|
|
|
font-style: normal;
|
|
font-style: normal;
|
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
|
color: #fff;
|
|
color: #fff;
|
|
|
|
|
+ opacity: 0.6;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|