| | |
| | | <div class="body-card"> |
| | | <div class="list-view"> |
| | | <div class="bottom-tabs" > |
| | | <div class="tab-pane" @click="getTab(0)" :style="{ |
| | | background: TabsIndex == 0 ? '#2a78fb' : '#F1F3F8', |
| | | color: TabsIndex == 0 ? '#fff' : '#666' |
| | | }"> |
| | | 庄口管理 |
| | | </div> |
| | | <div class="tab-pane" @click="getTab(1)" :style="{ |
| | | background: TabsIndex == 1 ? '#2a78fb' : '#F1F3F8', |
| | | color: TabsIndex == 1 ? '#fff' : '#666' |
| | | }"> |
| | | 车间管理 |
| | | 庄口管理 |
| | | </div> |
| | | <div class="tab-pane" @click="getTab(2)" :style="{ |
| | | background: TabsIndex == 2 ? '#2a78fb' : '#F1F3F8', |
| | | color: TabsIndex == 2 ? '#fff' : '#666' |
| | | }"> |
| | | 带号颜色 |
| | | 车间管理 |
| | | </div> |
| | | <div class="tab-pane" @click="getTab(3)" :style="{ |
| | | background: TabsIndex == 3 ? '#2a78fb' : '#F1F3F8', |
| | | color: TabsIndex == 3 ? '#fff' : '#666' |
| | | }"> |
| | | 带号颜色 |
| | | </div> |
| | | <div class="tab-pane" @click="getTab(4)" :style="{ |
| | | background: TabsIndex == 4 ? '#2a78fb' : '#F1F3F8', |
| | | color: TabsIndex == 4 ? '#fff' : '#666' |
| | | }"> |
| | | 规格 |
| | | </div> |
| | |
| | | computed: {}, |
| | | data() { |
| | | return { |
| | | TabsIndex:0, |
| | | TabsIndex:1, |
| | | loading: false, |
| | | productTableList: {}, |
| | | editConfig:{ |
| | |
| | | }, |
| | | async getProductOrderInfo() { |
| | | this.getData() |
| | | if (this.TabsIndex == 0) { |
| | | if (this.TabsIndex == 1) { |
| | | // 庄口管理 |
| | | this.editConfig.dialogTitleType="庄口" |
| | | this.tableBottomColumn = this.tableColumn // 表头 |
| | | this.showBottomCol = this.showCol // 动态表头 |
| | | this.setBottomList() |
| | | }else if (this.TabsIndex == 1) { |
| | | }else if (this.TabsIndex == 2) { |
| | | // 车间管理 |
| | | this.editConfig.dialogTitleType="车间" |
| | | this.tableBottomColumn = this.workshopTableColumn |
| | | this.showBottomCol = this.showWorkshopCol |
| | | this.setBottomList() |
| | | } else if (this.TabsIndex == 2) { |
| | | } else if (this.TabsIndex == 3) { |
| | | // 带号颜色 |
| | | this.editConfig.dialogTitleType="带号颜色" |
| | | this.tableBottomColumn = this.colorTableColumn |
| | | this.showBottomCol = this.showColorCol |
| | | this.setBottomList() |
| | | |
| | | } else if (this.TabsIndex == 3) { |
| | | } else if (this.TabsIndex == 4) { |
| | | // 规格 |
| | | this.editConfig.dialogTitleType="规格" |
| | | this.tableBottomColumn = this.specsTableColumn |