Commit 5d47ae28 authored by 旭艳's avatar 旭艳

站位计划列表样式修改

parent 9a37e807
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="站位:"> <el-form-item label="站位:">
<el-select v-model="form.postion" placeholder="站位" @change="changeFrom"> <el-select v-model="form.postion" placeholder="站位" @change="changePostion">
<el-option <el-option
v-for="(item, i) in postionList" v-for="(item, i) in postionList"
:key="item.value + i" :key="item.value + i"
...@@ -86,6 +86,10 @@ export default { ...@@ -86,6 +86,10 @@ export default {
changeFrom(val) { changeFrom(val) {
this.$emit('input', val) this.$emit('input', val)
}, },
changePostion(val) {
this.$emit('input', val)
this.$bus.$emit('getTableData', this.form)
},
getStation(val) { getStation(val) {
this.postionList = [] this.postionList = []
this.$set(this.form, 'postion', '') this.$set(this.form, 'postion', '')
......
...@@ -78,6 +78,8 @@ export default { ...@@ -78,6 +78,8 @@ export default {
mounted() { mounted() {
this.$bus.$on('getTableData', (data) => { this.$bus.$on('getTableData', (data) => {
this.$nextTick(() => { this.$nextTick(() => {
this.getLeftCount(data)
this.getRightCount(data)
const formData = { const formData = {
items: [], items: [],
operator: 'AND' operator: 'AND'
...@@ -98,10 +100,7 @@ export default { ...@@ -98,10 +100,7 @@ export default {
methods: { methods: {
rowClick(data) { rowClick(data) {
this.rowData = data this.rowData = data
this.getLeftCount(data.row.extProcessPlan)
this.getRightCount(data.row.extProcessPlan)
this.getMissInfo(data.row.extProcessPlan) this.getMissInfo(data.row.extProcessPlan)
// this.$emit('rowClick', data.row)
}, },
// getPageData(val) { // getPageData(val) {
// this.getMissInfo(this.rowData.row, val) // this.getMissInfo(this.rowData.row, val)
...@@ -113,12 +112,12 @@ export default { ...@@ -113,12 +112,12 @@ export default {
{ {
'fieldName': 'extProcessPlan.sorties', 'fieldName': 'extProcessPlan.sorties',
'operator': 'EQ', 'operator': 'EQ',
'value': obj.sorties 'value': obj.sortiesName
}, },
{ {
'fieldName': 'extProcessPlan.positionNumber', 'fieldName': 'extProcessPlan.positionNumber',
'operator': 'EQ', 'operator': 'EQ',
'value': obj.positionNumber 'value': obj.postionName
}, },
{ {
'fieldName': 'extProcessPlan.subTypeName', 'fieldName': 'extProcessPlan.subTypeName',
...@@ -151,12 +150,12 @@ export default { ...@@ -151,12 +150,12 @@ export default {
{ {
'fieldName': 'sorties', 'fieldName': 'sorties',
'operator': 'EQ', 'operator': 'EQ',
'value': obj.sorties 'value': obj.sortiesName
}, },
{ {
'fieldName': 'positionNumber', 'fieldName': 'positionNumber',
'operator': 'EQ', 'operator': 'EQ',
'value': obj.positionNumber 'value': obj.postionName
}, },
{ {
'fieldName': 'subTypeName', 'fieldName': 'subTypeName',
......
...@@ -80,7 +80,6 @@ export default { ...@@ -80,7 +80,6 @@ export default {
deep: true, deep: true,
immediate: true, immediate: true,
handler(val) { handler(val) {
console.log(1212, val)
this.detailInfo = val this.detailInfo = val
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment