|
@@ -29,230 +29,7 @@
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
tableList:[],
|
|
tableList:[],
|
|
|
- // columns: [
|
|
|
|
|
- // {
|
|
|
|
|
- // columnKey: 'index',
|
|
|
|
|
- // label: '序号',
|
|
|
|
|
- // type: 'index',
|
|
|
|
|
- // width: 55,
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // slot: 'batchNo',
|
|
|
|
|
- // prop: 'batchNo',
|
|
|
|
|
- // label: '批次号',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // minWidth: 140,
|
|
|
|
|
- // sortable: true
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // slot: 'code',
|
|
|
|
|
- // prop: 'code',
|
|
|
|
|
- // action: 'code',
|
|
|
|
|
- // label: '计划编号',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
-
|
|
|
|
|
- // minWidth: 160,
|
|
|
|
|
- // sortable: true
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'salesCode',
|
|
|
|
|
- // action: 'salesCode',
|
|
|
|
|
- // label: '销售订单号',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // minWidth: 160
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'productCode',
|
|
|
|
|
- // label: '编码',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
-
|
|
|
|
|
- // minWidth: 140
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'productName',
|
|
|
|
|
- // label: '名称',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
-
|
|
|
|
|
- // minWidth: 140
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'brandNo',
|
|
|
|
|
- // label: '牌号',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'specification',
|
|
|
|
|
- // label: '规格',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // minWidth: 150,
|
|
|
|
|
-
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'model',
|
|
|
|
|
- // label: '型号',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'produceRoutingName',
|
|
|
|
|
- // label: '工艺路线',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // width: 140,
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'productNum',
|
|
|
|
|
- // label: '计划数量',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
-
|
|
|
|
|
- // slot: 'productNum'
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'productWeight',
|
|
|
|
|
- // label: '计划重量',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
-
|
|
|
|
|
- // slot: 'productWeight'
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'requiredFormingNum',
|
|
|
|
|
- // label: '要求生产数量',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
-
|
|
|
|
|
- // slot: 'requiredFormingNum'
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'newSumOrderWeight',
|
|
|
|
|
- // label: '要求生产重量',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
-
|
|
|
|
|
- // slot: 'newSumOrderWeight'
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'scheduleStatusName',
|
|
|
|
|
- // label: '进度状态',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // minWidth: 100
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: '',
|
|
|
|
|
- // label: '已排产数量',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: '',
|
|
|
|
|
- // label: '未排产数量',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: '',
|
|
|
|
|
- // label: '已生产数量',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: '',
|
|
|
|
|
- // label: '未生产数量',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'factoryName',
|
|
|
|
|
- // label: '所属工厂',
|
|
|
|
|
- // align: 'center'
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: '',
|
|
|
|
|
- // label: '合格品数',
|
|
|
|
|
- // align: 'center'
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: '',
|
|
|
|
|
- // label: '不合格品数',
|
|
|
|
|
- // align: 'center'
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: '',
|
|
|
|
|
- // label: '合格率',
|
|
|
|
|
- // align: 'center'
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'reqMoldTime',
|
|
|
|
|
- // label: '计划完成日期',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // width: 110,
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'startTime',
|
|
|
|
|
- // label: '计划开始日期',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // width: 110,
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'endTime',
|
|
|
|
|
- // label: '计划结束日期',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // width: 110,
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'version',
|
|
|
|
|
- // label: '版本',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
-
|
|
|
|
|
- // minWidth: 80
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'createTime',
|
|
|
|
|
- // label: '创建时间',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // width: 110,
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // columnKey: 'status',
|
|
|
|
|
- // slot: 'status',
|
|
|
|
|
- // label: '状态',
|
|
|
|
|
- // align: 'center'
|
|
|
|
|
- // }
|
|
|
|
|
- // ]
|
|
|
|
|
-
|
|
|
|
|
columns: [
|
|
columns: [
|
|
|
- // {
|
|
|
|
|
- // width: 45,
|
|
|
|
|
- // type: 'selection',
|
|
|
|
|
- // columnKey: 'selection',
|
|
|
|
|
- // align: 'center'
|
|
|
|
|
- // },
|
|
|
|
|
{
|
|
{
|
|
|
columnKey: 'index',
|
|
columnKey: 'index',
|
|
|
label: '序号',
|
|
label: '序号',
|
|
@@ -445,13 +222,14 @@
|
|
|
},
|
|
},
|
|
|
computed: {},
|
|
computed: {},
|
|
|
created() {
|
|
created() {
|
|
|
|
|
+ console.log('this.relationId~~~', this.relationId);
|
|
|
this.productionplanByIds()
|
|
this.productionplanByIds()
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
productionplanByIds(){
|
|
productionplanByIds(){
|
|
|
-
|
|
|
|
|
getTableList({relationId:this.relationId}).then(res=>{
|
|
getTableList({relationId:this.relationId}).then(res=>{
|
|
|
- this.tableList=res
|
|
|
|
|
|
|
+ console.log('res~~~', res);
|
|
|
|
|
+ this.tableList=res.list
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|