|
|
@@ -57,7 +57,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="生产类型">
|
|
|
- <el-input :value="details.produceVersionName" disabled> </el-input>
|
|
|
+ <el-input :value="produceTypeText" disabled></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
@@ -65,13 +65,13 @@
|
|
|
<el-input :value="details.produceRoutingName" disabled></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
+ <!-- <el-col :span="8">
|
|
|
<el-form-item label="订单总数量">
|
|
|
<el-input :value="details.contractNum" disabled>
|
|
|
<template slot="append">{{ details.measuringUnit }}</template>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
+ </el-col> -->
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="订单重量">
|
|
|
<el-input :value="details.newSumOrderWeight" disabled>
|
|
|
@@ -176,6 +176,17 @@
|
|
|
this.getDatails(this.businessId);
|
|
|
}, 500);
|
|
|
},
|
|
|
+
|
|
|
+ computed: {
|
|
|
+ produceTypeText() {
|
|
|
+ const map = {
|
|
|
+ 1: 'PBOM',
|
|
|
+ 2: 'MBOM',
|
|
|
+ 3: 'ABOM'
|
|
|
+ };
|
|
|
+ return map[this.details.produceType] || '';
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
// 关闭时清理表单
|
|
|
handleClose() {
|