跟新bug
This commit is contained in:
@@ -315,7 +315,14 @@ export default {
|
||||
{
|
||||
prop: 'status',
|
||||
label: '工单状态',
|
||||
filter: (val) => ['', '等待', '激活', '暂停', '完成', '', '', '', '', '作废'][val]
|
||||
filter: (val) => ['', '等待', '激活', '暂停', '完成', '作废', '终止', '', '', ''][val]
|
||||
},
|
||||
{
|
||||
prop: 'startProduceTime',
|
||||
label: '实际开始时间',
|
||||
filter: parseTime,
|
||||
minWidth: 150,
|
||||
showOverflowtooltip: true
|
||||
},
|
||||
{
|
||||
prop: 'planFinishTime',
|
||||
@@ -362,20 +369,20 @@ export default {
|
||||
})
|
||||
},
|
||||
refreshWorkOrder(val) {
|
||||
console.log(val)
|
||||
if (val) {
|
||||
// 预使用原料信息
|
||||
console.log('预使用原料信息')
|
||||
this.handleCancel()
|
||||
this.getDataList()
|
||||
this.materialVisible = true;
|
||||
this.addOrEditTitle = "预使用主原料信息";
|
||||
this.$nextTick(() => {
|
||||
this.$refs.material.init(val, true);
|
||||
});
|
||||
} else {
|
||||
this.successSubmit()
|
||||
}
|
||||
// if (val) {
|
||||
// // 预使用原料信息
|
||||
// console.log('预使用原料信息')
|
||||
// this.handleCancel()
|
||||
// this.getDataList()
|
||||
// this.materialVisible = true;
|
||||
// this.addOrEditTitle = "预使用主原料信息";
|
||||
// this.$nextTick(() => {
|
||||
// this.$refs.material.init(val, true);
|
||||
// });
|
||||
// } else {
|
||||
// this.successSubmit()
|
||||
// }
|
||||
this.successSubmit()
|
||||
},
|
||||
closeDetail() {
|
||||
this.detailVisible = false
|
||||
@@ -417,7 +424,7 @@ export default {
|
||||
opration = '暂停'
|
||||
}
|
||||
if (val.type === 'nullify') {
|
||||
param.status = 9
|
||||
param.status = 5
|
||||
opration = '报废'
|
||||
}
|
||||
if (val.type === 'finish') {
|
||||
|
||||
Reference in New Issue
Block a user