|
|
@@ -42,9 +42,16 @@
|
|
|
formData.reqMoldTime
|
|
|
}}</el-descriptions-item>
|
|
|
|
|
|
- <el-descriptions-item label="生产方式">{{
|
|
|
- formData.produceType == 2 ? '加工' : '装配'
|
|
|
- }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="生产方式">
|
|
|
+ <el-select v-model="formData.produceType" @change="getBomList">
|
|
|
+ <el-option
|
|
|
+ v-for="item of producedList"
|
|
|
+ :key="item.code"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.code"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-descriptions-item>
|
|
|
</el-descriptions>
|
|
|
<headerTitle title="BOM信息" class="mt20"> </headerTitle>
|
|
|
|
|
|
@@ -88,11 +95,13 @@
|
|
|
tool-class="ele-toolbar-actions"
|
|
|
max-height="360px"
|
|
|
>
|
|
|
- <template v-slot:requiredFormingNum="{ row }">
|
|
|
- <el-input v-if="row.isManual" v-model.number="row.requiredFormingNum"></el-input>
|
|
|
+ <template v-slot:requiredFormingNum="{ row }">
|
|
|
+ <el-input
|
|
|
+ v-if="row.isManual"
|
|
|
+ v-model.number="row.requiredFormingNum"
|
|
|
+ ></el-input>
|
|
|
<span v-else>{{ row.requiredFormingNum }}</span>
|
|
|
</template>
|
|
|
-
|
|
|
</ele-pro-table>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
@@ -131,6 +140,11 @@
|
|
|
|
|
|
rules: {},
|
|
|
|
|
|
+ producedList: [
|
|
|
+ { code: 2, name: '加工' },
|
|
|
+ { code: 3, name: '装配' }
|
|
|
+ ],
|
|
|
+
|
|
|
columns: [
|
|
|
{
|
|
|
columnKey: 'selection',
|