料号
@@ -104,12 +102,12 @@ export default {
return {
standId: store.getters.getStandId,
displayGoods: false,// 是否显示料号输入
- displayVehicleType1Selection: false,// 是否显示料箱类型选择
+ // displayVehicleType1Selection: false,// 是否显示料箱类型选择
// timer: '',
labelPosition: 'top',
workFormRef: ref(),
workFormEntity: reactive({
- vehicleType1: '',
+ // vehicleType1: '',
vehicleType2: '',
goodsId: '',
needNum: 0
@@ -119,7 +117,7 @@ export default {
{ required: true, message: '请输入料号' }
]
}),
- vehicleType1Options: [],
+ // vehicleType1Options: [],
vehicleType2Options: [
{
value: 'CLC一箱一料',
@@ -152,78 +150,74 @@ export default {
vehicleType2ChangeHandle() {
if (this.workFormEntity.vehicleType2 == '间接物料') {
this.displayGoods = true
- this.displayVehicleType1Selection = false
- this.vehicleType1Options = [
- {
- value: 'FB02',
- label: '分包1/2个料箱'
- },
- {
- value: 'FB03',
- label: '分包1/3个料箱'
- },
- {
- value: 'FB04',
- label: '分包1/4个料箱'
- },
- {
- value: 'FB05',
- label: '分包1/5个料箱'
- },
- {
- value: 'FB06',
- label: '分包1/6个料箱'
- }
- ]
+ // this.displayVehicleType1Selection = false
+ // this.vehicleType1Options = [
+ // {
+ // value: 'FB02',
+ // label: '分包1/2个料箱'
+ // },
+ // {
+ // value: 'FB03',
+ // label: '分包1/3个料箱'
+ // },
+ // {
+ // value: 'FB04',
+ // label: '分包1/4个料箱'
+ // },
+ // {
+ // value: 'FB05',
+ // label: '分包1/5个料箱'
+ // },
+ // {
+ // value: 'FB06',
+ // label: '分包1/6个料箱'
+ // }
+ // ]
} else if (this.workFormEntity.vehicleType2 == 'CLC一箱一料') {
this.displayGoods = false
- this.displayVehicleType1Selection = true
- this.vehicleType1Options = [
- {
- value: 'LR02',
- label: '811左右2个'
- },
- {
- value: 'FC01',
- label: '822整体1个'
- }
- ]
+ // this.displayVehicleType1Selection = false
+ // this.vehicleType1Options = [
+ // {
+ // value: 'FC01',
+ // label: '822整体1个'
+ // }
+ // ]
} else if (this.workFormEntity.vehicleType2 == 'CLC一箱两料') {
- this.displayGoods = true
- this.displayVehicleType1Selection = true
- this.vehicleType1Options = [
- {
- value: 'LR01',
- label: '810左右4个'
- },
- {
- value: 'UD01',
- label: '911上下2个'
- }
- ]
+ this.displayGoods = false
+ // this.displayVehicleType1Selection = false
+ // this.vehicleType1Options = [
+ // {
+ // value: 'LR01',
+ // label: '810左右4个'
+ // },
+ // {
+ // value: 'UD01',
+ // label: '911上下2个'
+ // }
+ // ]
} else {
this.displayGoods = false
- this.displayVehicleType1Selection = false
- this.vehicleType1Options = [
- {
- value: 'FB01',
- label: '分包1个料箱'
- },
- ]
+ // this.displayVehicleType1Selection = false
+ // this.vehicleType1Options = [
+ // {
+ // value: 'FB01',
+ // label: '分包1个料箱'
+ // },
+ // ]
}
},
resetForms() {
this.workFormEntity = reactive({
- vehicleType1: '',
+ // vehicleType1: '',
vehicleType2: '',
goodsId: '',
needNum: 0
})
},
confirmTask() {
- if (this.workFormEntity.vehicleType1 == '' && this.workFormEntity.vehicleType2 == '') {
+ if (this.workFormEntity.vehicleType2 == '') {
ElMessage({
- message: '存放类型和料箱类型至少需要一个',
+ message: '请选择物料种类',
type: 'error',
})
return
@@ -236,16 +230,17 @@ export default {
return
}
const request = {
- vehicleType1: this.workFormEntity.vehicleType1,
+ // vehicleType1: this.workFormEntity.vehicleType1,
vehicleType2: this.workFormEntity.vehicleType2,
goodsId: this.workFormEntity.goodsId,
- needNum: this.workFormEntity.needNum
+ needNum: this.workFormEntity.needNum,
+ userName: store.getters.getUserName
}
callEmptyVehicle(request).then(res => {
const response = res.data
if (response.code == 0) {
ElMessage({
- message: '出空箱成功,请等待箱子到达',
+ message: response.message,
type: 'success',
})
this.resetForms()
diff --git a/src/layout/doKitting.vue b/src/layout/doKitting.vue
index 769292f..afe1df2 100644
--- a/src/layout/doKitting.vue
+++ b/src/layout/doKitting.vue
@@ -42,7 +42,7 @@
+ controls-position="right" :min="0" width="200px" disabled />
{{ workFormEntity.goodsUnit
@@ -50,7 +50,7 @@
{
- const response = res.data
- if (response.code == 0) {
- this.workFormEntity.goodsId = response.returnData.goodsId
- this.workFormEntity.goodsUnit = response.returnData.goodsUnit
- this.workFormEntity.planPickNum = response.returnData.planPickNum
- this.workFormEntity.actualDifference = response.returnData.actualDifference
- this.workFormEntity.remark = response.returnData.remark
- this.workFormEntity.finishedRows = response.returnData.finishedRows
- this.workFormEntity.totalRows = response.returnData.totalRows
- this.workFormEntity.finishedCounts = response.returnData.finishedCounts
- this.workFormEntity.totalCounts = response.returnData.totalCounts
- this.workFormEntity.tip = response.returnData.tip
- } else {
- this.resetForms()
- ElMessage.error(response.message)
- }
- }).catch(err => {
- console.log(err)
- this.resetForms()
- ElMessage.error('查询工作信息错误')
- })
+ // const request = {
+ // standId: this.standId,
+ // goodsId: this.workFormEntity.goodsId
+ // }
+ // getWorkByStandAndGoods(request).then(res => {
+ // const response = res.data
+ // if (response.code == 0) {
+ // this.workFormEntity.goodsId = response.returnData.goodsId
+ // this.workFormEntity.goodsUnit = response.returnData.goodsUnit
+ // this.workFormEntity.planPickNum = response.returnData.planPickNum
+ // this.workFormEntity.actualDifference = response.returnData.actualDifference
+ // this.workFormEntity.remark = response.returnData.remark
+ // this.workFormEntity.finishedRows = response.returnData.finishedRows
+ // this.workFormEntity.totalRows = response.returnData.totalRows
+ // this.workFormEntity.finishedCounts = response.returnData.finishedCounts
+ // this.workFormEntity.totalCounts = response.returnData.totalCounts
+ // this.workFormEntity.tip = response.returnData.tip
+ // } else {
+ // this.resetForms()
+ // ElMessage.error(response.message)
+ // }
+ // }).catch(err => {
+ // console.log(err)
+ // this.resetForms()
+ // ElMessage.error('查询工作信息错误')
+ // })
},
resetForms() {
this.workFormEntity = reactive({
@@ -312,7 +312,7 @@ export default {
}
:deep(.el-input-number) {
- width: 270px;
+ width: 300px;
height: 130px;
font-size: 25px;
}
@@ -364,7 +364,7 @@ export default {
.display-title-div {
display: inline-flex;
justify-content: center;
- width: 280px;
+ width: 430px;
height: 80px;
margin: 5px;
padding: 5px;
@@ -380,7 +380,7 @@ export default {
.display-form-div {
display: inline-flex;
justify-content: center;
- width: 270px;
+ width: 420px;
margin: 5px;
padding: 5px;
border: 5px double #000000;
@@ -390,7 +390,7 @@ export default {
.display-form-div-left {
display: inline-flex;
justify-content: center;
- width: 170px;
+ width: 300px;
margin: 5px;
padding: 5px;
border: 5px double #000000;
@@ -399,7 +399,7 @@ export default {
.display-form-div-right {
display: inline-flex;
justify-content: center;
- width: 80px;
+ width: 100px;
margin: 5px;
padding: 5px;
background-color: #CCCCCC;
diff --git a/src/layout/goodsIn.vue b/src/layout/goodsIn.vue
index ada242e..c51e869 100644
--- a/src/layout/goodsIn.vue
+++ b/src/layout/goodsIn.vue
@@ -7,7 +7,7 @@
工作台
- 呼叫空箱
+ 物料入库
工作站:
@@ -18,7 +18,7 @@
-->
- Caterpillar CSCL ASRS Management System
+ Caterpillar CSCL ASRS Management System
-
+
{{ userName }}
@@ -42,12 +42,13 @@
-
+
+
@@ -113,7 +114,7 @@ export default {
}
.content {
- height: 95%;
+ height: 92%;
background-color: #FFFFFF;
}
@@ -174,4 +175,11 @@ export default {
height: 97% - 35px;
width: 100%;
}
+
+.example-showcase .el-dropdown-link {
+ cursor: pointer;
+ color: var(--el-color-primary);
+ display: flex;
+ align-items: center;
+}