| | |
| | | :table-list="tableList" |
| | | @selTableCol="selTableCol" |
| | | @tableRowClick="tableRowClick" |
| | | :showSummary="true" |
| | | > |
| | | <template slot="tableButton"> |
| | | <el-table-column label="操作" width="210" align="center"> |
| | |
| | | infomation: {} |
| | | }, |
| | | productId: this.$route.params.id, |
| | | productName: this.$route.params.name |
| | | productName: this.$route.params.name, |
| | | metaTitle: this.$route.meta.title |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | prop: "unit", |
| | | width: 120, |
| | | default: false, |
| | | isShowColumn: showcol.includes("价值") |
| | | isShowColumn: showcol.includes("单位") |
| | | }, |
| | | { |
| | | label: "价值", |
| | |
| | | pageSize: this.pagerOptions.pageSize |
| | | }).then((res) => { |
| | | if (res.code === 200) { |
| | | console.log(res.data, "接口请求成功") |
| | | const list = res.data |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.total |
| | |
| | | return val === 1 ? "草稿" : val === 3 ? "就绪" : "完成" |
| | | }, |
| | | // 历史 |
| | | handleHistoryClick() {}, |
| | | handleHistoryClick(row) { |
| | | this.$router.push({ |
| | | name: "inboundOutboundDetail", |
| | | params: { |
| | | id: row.produceId, |
| | | name: "报表" |
| | | } |
| | | }) |
| | | }, |
| | | // 补货 |
| | | handleAddGoods() {} |
| | | } |