|
@@ -1,7 +1,11 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="ele-body">
|
|
<div class="ele-body">
|
|
|
<el-card shadow="never" class="tabs_box">
|
|
<el-card shadow="never" class="tabs_box">
|
|
|
- <el-button size="small" type="primary" class="ele-btn-icon"
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ class="ele-btn-icon"
|
|
|
|
|
+ @click="closeDetail"
|
|
|
>关闭</el-button
|
|
>关闭</el-button
|
|
|
>
|
|
>
|
|
|
<headerTitle style="margin-top: 10px" />
|
|
<headerTitle style="margin-top: 10px" />
|
|
@@ -15,25 +19,25 @@
|
|
|
<el-row :gutter="10" class="basic">
|
|
<el-row :gutter="10" class="basic">
|
|
|
<el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
<el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
|
<el-form-item label="计划编号:">
|
|
<el-form-item label="计划编号:">
|
|
|
- <el-input v-model="form.order" disabled></el-input>
|
|
|
|
|
|
|
+ <el-input v-model="form.planCode" disabled></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
<el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
|
<el-form-item label="批次号:">
|
|
<el-form-item label="批次号:">
|
|
|
- <el-input v-model="form.order" disabled></el-input>
|
|
|
|
|
|
|
+ <el-input v-model="form.batchNo" disabled></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
<el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
|
<el-form-item label="编码:">
|
|
<el-form-item label="编码:">
|
|
|
- <el-input v-model="form.order" disabled></el-input>
|
|
|
|
|
|
|
+ <el-input v-model="form.categoryCode" disabled></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
<el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
|
<el-form-item label="名称:">
|
|
<el-form-item label="名称:">
|
|
|
- <el-input v-model="form.order" disabled></el-input>
|
|
|
|
|
|
|
+ <el-input v-model="form.categoryName" disabled></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
@@ -43,48 +47,55 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
- <el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
|
|
|
|
|
+ <!-- <el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
|
<el-form-item label="计划数量:">
|
|
<el-form-item label="计划数量:">
|
|
|
<el-input v-model="form.order" disabled></el-input>
|
|
<el-input v-model="form.order" disabled></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
|
|
|
|
+ </el-col> -->
|
|
|
|
|
|
|
|
- <el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
|
|
|
|
|
+ <!-- <el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
|
<el-form-item label="BOM类型:">
|
|
<el-form-item label="BOM类型:">
|
|
|
<el-input v-model="form.order" disabled></el-input>
|
|
<el-input v-model="form.order" disabled></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
|
|
|
|
+ </el-col> -->
|
|
|
|
|
|
|
|
- <el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
|
|
|
|
|
+ <!-- <el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
|
<el-form-item label="BOM版本:">
|
|
<el-form-item label="BOM版本:">
|
|
|
<el-input v-model="form.order" disabled></el-input>
|
|
<el-input v-model="form.order" disabled></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
|
|
|
|
+ </el-col> -->
|
|
|
|
|
|
|
|
- <el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
|
|
|
|
|
+ <!-- <el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
|
<el-form-item label="投料控制清单号:">
|
|
<el-form-item label="投料控制清单号:">
|
|
|
<el-input v-model="form.order" disabled></el-input>
|
|
<el-input v-model="form.order" disabled></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
|
|
|
|
+ </el-col> -->
|
|
|
|
|
|
|
|
<el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
<el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
|
<el-form-item label="需求订单号:">
|
|
<el-form-item label="需求订单号:">
|
|
|
- <el-input v-model="form.order" disabled></el-input>
|
|
|
|
|
|
|
+ <el-input v-model="form.code" disabled></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
<el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
|
<el-form-item label="顶级产品编号:">
|
|
<el-form-item label="顶级产品编号:">
|
|
|
- <el-input v-model="form.order" disabled></el-input>
|
|
|
|
|
|
|
+ <el-input v-model="form.topCategoryName" disabled></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
<el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
|
<el-form-item label="顶级产品名称:">
|
|
<el-form-item label="顶级产品名称:">
|
|
|
- <el-input v-model="form.order" disabled></el-input>
|
|
|
|
|
|
|
+ <el-input v-model="form.topCategoryName" disabled></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :lg="8" :md="12" :sm="12" :xl="8" :xs="12">
|
|
|
|
|
|
|
+ <el-col
|
|
|
|
|
+ :lg="8"
|
|
|
|
|
+ :md="12"
|
|
|
|
|
+ :sm="12"
|
|
|
|
|
+ :xl="8"
|
|
|
|
|
+ :xs="12"
|
|
|
|
|
+ v-if="$route.query.type == 'order'"
|
|
|
|
|
+ >
|
|
|
<el-form-item label="生产工单号:">
|
|
<el-form-item label="生产工单号:">
|
|
|
<el-input v-model="form.order" disabled></el-input>
|
|
<el-input v-model="form.order" disabled></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -110,13 +121,17 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
|
+ import {
|
|
|
|
|
+ getRequirementListPlanDetail,
|
|
|
|
|
+ getRequirementListPlanDetailPage
|
|
|
|
|
+ } from '@/api/requirementListPlan';
|
|
|
export default {
|
|
export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
visible: false,
|
|
visible: false,
|
|
|
form: {},
|
|
form: {},
|
|
|
rules: {},
|
|
rules: {},
|
|
|
- tableHeight: 'calc(100vh - 665px)',
|
|
|
|
|
|
|
+ tableHeight: 'calc(100vh - 560px)',
|
|
|
selection: []
|
|
selection: []
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
@@ -141,48 +156,47 @@
|
|
|
fixed: 'left'
|
|
fixed: 'left'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'categoryLevelId',
|
|
|
label: '物料分类',
|
|
label: '物料分类',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ slot: 'categoryLevelId'
|
|
|
},
|
|
},
|
|
|
,
|
|
,
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'componentAttribute',
|
|
|
label: '属性类型',
|
|
label: '属性类型',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ slot: 'componentAttribute'
|
|
|
},
|
|
},
|
|
|
,
|
|
,
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'attributeType',
|
|
|
label: '存货类型',
|
|
label: '存货类型',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ slot: 'attributeType'
|
|
|
},
|
|
},
|
|
|
,
|
|
,
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'produceType',
|
|
|
label: '生产类型',
|
|
label: '生产类型',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ slot: 'produceType'
|
|
|
},
|
|
},
|
|
|
,
|
|
,
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'categoryCode',
|
|
|
label: '物料编码',
|
|
label: '物料编码',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
,
|
|
,
|
|
|
{
|
|
{
|
|
@@ -193,43 +207,39 @@
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
slot: 'type'
|
|
slot: 'type'
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'categoryName',
|
|
|
label: '物料名称',
|
|
label: '物料名称',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'modelType',
|
|
|
label: '型号',
|
|
label: '型号',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'specification',
|
|
|
label: '规格',
|
|
label: '规格',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'categorySize',
|
|
|
label: '尺寸',
|
|
label: '尺寸',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
prop: 'type',
|
|
prop: 'type',
|
|
|
label: '基本数量',
|
|
label: '基本数量',
|
|
@@ -238,7 +248,7 @@
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
slot: 'type'
|
|
slot: 'type'
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
prop: 'type',
|
|
prop: 'type',
|
|
|
label: '投料控制数量/定额数量',
|
|
label: '投料控制数量/定额数量',
|
|
@@ -247,124 +257,95 @@
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
slot: 'type'
|
|
slot: 'type'
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'measuringUnit',
|
|
|
label: '计量单位',
|
|
label: '计量单位',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'brandNum',
|
|
|
label: '牌号',
|
|
label: '牌号',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'weight',
|
|
|
label: '重量',
|
|
label: '重量',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'weightUnit',
|
|
|
label: '重量单位',
|
|
label: '重量单位',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
- },
|
|
|
|
|
- ,
|
|
|
|
|
- {
|
|
|
|
|
- prop: 'type',
|
|
|
|
|
- label: '机型',
|
|
|
|
|
- width: 100,
|
|
|
|
|
- align: 'center',
|
|
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
- },
|
|
|
|
|
- ,
|
|
|
|
|
- {
|
|
|
|
|
- prop: 'type',
|
|
|
|
|
- label: '颜色',
|
|
|
|
|
- width: 100,
|
|
|
|
|
- align: 'center',
|
|
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'pickQuantity',
|
|
|
label: '已领数量',
|
|
label: '已领数量',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'unPickQuantity',
|
|
|
label: '未领数量',
|
|
label: '未领数量',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'outQuantity',
|
|
|
label: '已出库数量',
|
|
label: '已出库数量',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'unOutQuantity',
|
|
|
label: '未出库数量',
|
|
label: '未出库数量',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'feedQuantity',
|
|
|
label: '已投数量',
|
|
label: '已投数量',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'unFeedQuantity',
|
|
|
label: '未投数量',
|
|
label: '未投数量',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
- prop: 'type',
|
|
|
|
|
|
|
+ prop: 'oddmentsQuantity',
|
|
|
label: '余料数量',
|
|
label: '余料数量',
|
|
|
width: 100,
|
|
width: 100,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'type'
|
|
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
prop: 'type',
|
|
prop: 'type',
|
|
|
label: '创建人',
|
|
label: '创建人',
|
|
@@ -373,7 +354,7 @@
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
slot: 'type'
|
|
slot: 'type'
|
|
|
},
|
|
},
|
|
|
- ,
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
prop: 'type',
|
|
prop: 'type',
|
|
|
label: '创建时间',
|
|
label: '创建时间',
|
|
@@ -409,6 +390,11 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
+ mounted() {
|
|
|
|
|
+ this.getDetailData();
|
|
|
|
|
+ this.getDetailPage();
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
methods: {
|
|
methods: {
|
|
|
datasource() {
|
|
datasource() {
|
|
|
return [];
|
|
return [];
|
|
@@ -424,11 +410,37 @@
|
|
|
|
|
|
|
|
search() {},
|
|
search() {},
|
|
|
|
|
|
|
|
|
|
+ closeDetail() {
|
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
|
+ this.$router.back();
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+ async getDetailData() {
|
|
|
|
|
+ const URL =
|
|
|
|
|
+ this.$route.query.type == 'plan' ? getRequirementListPlanDetail : '';
|
|
|
|
|
+
|
|
|
|
|
+ await URL(this.$route.query.id).then((res) => {
|
|
|
|
|
+ this.form = res;
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+ async getDetailPage() {
|
|
|
|
|
+ const URL =
|
|
|
|
|
+ this.$route.query.type == 'plan'
|
|
|
|
|
+ ? getRequirementListPlanDetailPage
|
|
|
|
|
+ : '';
|
|
|
|
|
+
|
|
|
|
|
+ await URL({ materialRequirementsId: this.$route.query.id }).then(
|
|
|
|
|
+ (res) => {}
|
|
|
|
|
+ );
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
fullscreenChange(fullscreen) {
|
|
fullscreenChange(fullscreen) {
|
|
|
if (fullscreen) {
|
|
if (fullscreen) {
|
|
|
this.tableHeight = 'calc(100vh - 120px)';
|
|
this.tableHeight = 'calc(100vh - 120px)';
|
|
|
} else {
|
|
} else {
|
|
|
- this.tableHeight = 'calc(100vh - 665px)';
|
|
|
|
|
|
|
+ this.tableHeight = 'calc(100vh - 560px)';
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|