操作屏
This commit is contained in:
@@ -107,7 +107,21 @@
|
||||
</el-row>
|
||||
</div>
|
||||
<div v-show="type === 'SCANER'" class="pop-wraper" :class="{'popshow': show, 'pophide': !show}">
|
||||
<div class="pop-grid">
|
||||
<el-row class="filter-wraper" style="width: 50%" type="flex" justify="space-between">
|
||||
<el-col :span="5" class="p-label">目的地</el-col>
|
||||
<el-col :span="18" class="select-wraper">
|
||||
<el-select v-model="value1" placeholder="请选择">
|
||||
<el-option
|
||||
v-for="item in options1"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
class="option-wraper"
|
||||
/>
|
||||
</el-select>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<div class="pop-grid pop-grid_1">
|
||||
<el-table
|
||||
:data="popList"
|
||||
style="width: 100%"
|
||||
@@ -189,6 +203,8 @@ export default {
|
||||
currentRow: null,
|
||||
value: '',
|
||||
options: [{ value: 'G01', label: '钢托盘' }, { value: 'R01', label: '990mm笼框' }, { value: 'R02', label: '450mm 笼框' }, { value: 'S04', label: '1670mm料架' }, { value: 'S06', label: '1700mm料架' }],
|
||||
value1: '',
|
||||
options1: [{ value: 'G01', label: '钢托盘' }, { value: 'R01', label: '990mm笼框' }, { value: 'R02', label: '450mm 笼框' }, { value: 'S04', label: '1670mm料架' }, { value: 'S06', label: '1700mm料架' }],
|
||||
disabled: false
|
||||
}
|
||||
},
|
||||
@@ -218,6 +234,7 @@ export default {
|
||||
this.popSecList = []
|
||||
this.currentRow = null
|
||||
this.value = ''
|
||||
this.value1 = ''
|
||||
this.type = type
|
||||
this.popData = e
|
||||
if (type === 'IN') {
|
||||
@@ -273,7 +290,7 @@ export default {
|
||||
this.disabled = false
|
||||
})
|
||||
} else if (this.type === 'SCANER') {
|
||||
crudProduceScreen.sendMater({ device_code: this.popData.device_code, mater: this.popList }).then(res => {
|
||||
crudProduceScreen.sendMater({ device_code: this.popData.device_code, mater: this.popList, point_code: this.value1 }).then(res => {
|
||||
this.disabled = false
|
||||
this.$message(res.msg)
|
||||
}).catch(() => {
|
||||
|
||||
@@ -280,6 +280,9 @@
|
||||
margin-bottom: 60px;
|
||||
overflow: auto;
|
||||
}
|
||||
.pop-grid_1 {
|
||||
height: calc(100% - 172px);
|
||||
}
|
||||
.filter-wraper {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user