Commit 7f636b12 authored by 11528's avatar 11528

Merge remote-tracking branch 'origin/master' into master

parents d8b73a06 08c30023
...@@ -222,8 +222,8 @@ ...@@ -222,8 +222,8 @@
</el-row> </el-row>
</el-form> </el-form>
<div> <div>
<el-tabs type="border-card"> <el-tabs type="border-card" v-model="tabsName">
<el-tab-pane label="工单Bom"> <el-tab-pane label="工单Bom" name="bom">
<el-table <el-table
v-loading="Loading1" v-loading="Loading1"
:data="bomList" :data="bomList"
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,7 @@
@pagination="getBomTable" @pagination="getBomTable"
/> />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="工站信息"> <el-tab-pane label="工站信息" name="station">
<el-table <el-table
v-loading="Loading3" v-loading="Loading3"
:data="stationList" :data="stationList"
...@@ -356,7 +356,7 @@ ...@@ -356,7 +356,7 @@
@pagination="getStationTable" @pagination="getStationTable"
/> />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="开工信息"> <el-tab-pane label="开工信息" name="action">
<el-table <el-table
v-loading="Loading2" v-loading="Loading2"
:data="lineList" :data="lineList"
...@@ -469,6 +469,8 @@ export default { ...@@ -469,6 +469,8 @@ export default {
return { return {
// 搜索栏显示(默认显示) // 搜索栏显示(默认显示)
showSearch: true, showSearch: true,
// tabs默认选中
tabsName: 'bom',
// 搜索框参数 // 搜索框参数
queryParams: { queryParams: {
page: 1, page: 1,
...@@ -576,8 +578,8 @@ export default { ...@@ -576,8 +578,8 @@ export default {
/** 详情按钮方法 */ /** 详情按钮方法 */
handleDetail(row) { handleDetail(row) {
this.Loading4 = true this.Loading4 = true
getOrder(row.businessId).then(response => {
this.open = true this.open = true
getOrder(row.businessId).then(response => {
if (response.data === null) { if (response.data === null) {
getOrder1(row.businessId).then(response1 => { getOrder1(row.businessId).then(response1 => {
this.form = response1.data this.form = response1.data
...@@ -665,6 +667,7 @@ export default { ...@@ -665,6 +667,7 @@ export default {
this.stationList = [] this.stationList = []
this.bomList = [] this.bomList = []
this.Loading1 = true this.Loading1 = true
this.tabsName = 'bom'
}, },
/** 导入按钮方法 */ /** 导入按钮方法 */
handleImport() { handleImport() {
......
...@@ -72,8 +72,8 @@ ...@@ -72,8 +72,8 @@
</el-table-column> </el-table-column>
<el-table-column :show-overflow-tooltip="true" align="center" prop="contract"> <el-table-column :show-overflow-tooltip="true" align="center" prop="contract">
<template slot="header"> <template slot="header">
<div>区域</div> <div>工厂</div>
<div>CONTRACT</div> <div>Factory</div>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.contract || '-' }}</span> <span>{{ scope.row.contract || '-' }}</span>
......
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