@@ -50,10 +50,7 @@
</el-col>
<el-col :span="6">
<el-form-item label="计划编号:">
- <el-input
- readonly
- v-model="planInfo.productionPlanCode"
- ></el-input>
+ <el-input readonly v-model="planInfo.code"></el-input>
</el-form-item>
@@ -52,10 +52,7 @@
+ <el-input readonly :value="planCode"></el-input>
@@ -638,6 +635,9 @@
// slot: 'action'
// }
];
+ },
+ planCode() {
+ return this.planInfo.productionPlanCode || this.planInfo.code || '';
}
},
data() {