|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div :style="{ margin: '0 auto', width: '100%' }">
|
|
|
|
|
<el-row :gutter="15" class="">
|
|
|
|
|
<el-form ref="formRef" :model="dataForm" :rules="dataRule" size="small" label-width="100px" label-position="right"
|
|
|
|
|
:disabled="setting.readonly">
|
|
|
|
|
<el-form ref="formRef" :model="dataForm" :rules="dataRule" size="small" label-width="120px"
|
|
|
|
|
label-position="right" :disabled="setting.readonly">
|
|
|
|
|
<template v-if="!loading && formOperates">
|
|
|
|
|
<!-- 具体表单 -->
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<!-- <el-col :span="24">
|
|
|
|
|
<jnpf-form-tip-item>
|
|
|
|
|
<JnpfGroupTitle content="单据类型" contentPosition="left">
|
|
|
|
|
</JnpfGroupTitle>
|
|
|
|
@ -18,44 +18,71 @@
|
|
|
|
|
content=" 不同的单据类型,需要选择不同的收货信息">
|
|
|
|
|
</JnpfText>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col> -->
|
|
|
|
|
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<div style="padding:15px 0px">
|
|
|
|
|
<span style="color: #409EFF;">▋</span>
|
|
|
|
|
<span style="font-size: 14px;font-weight: 500;color:rgb(102, 102, 102);">商品类型</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<span style="font-size: 14px;font-weight: 500;color:rgb(102, 102, 102);">
|
|
|
|
|
不同的单据类型,需要选择不同的收货信息。
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="24" v-if="judgeShow('type')">
|
|
|
|
|
<jnpf-form-tip-item label="单据类型" v-if="judgeShow('type')" prop="type">
|
|
|
|
|
<JnpfRadio v-model="dataForm.type" @change="changeData('type', -1)" :disabled="judgeWrite('type')"
|
|
|
|
|
optionType="button" direction="horizontal" size="medium" :options="typeOptions" :props="typeProps">
|
|
|
|
|
<JnpfRadio v-model="dataForm.type" @change="changeData('type', -1)"
|
|
|
|
|
:disabled="judgeWrite('type')" optionType="button" direction="horizontal"
|
|
|
|
|
size="medium" :options="typeOptions" :props="typeProps">
|
|
|
|
|
</JnpfRadio>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<!-- <el-col :span="24">
|
|
|
|
|
<jnpf-form-tip-item>
|
|
|
|
|
<JnpfGroupTitle content="基础信息" contentPosition="left">
|
|
|
|
|
</JnpfGroupTitle>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col> -->
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<div style="padding:15px 0px">
|
|
|
|
|
<span style="color: #409EFF;">▋</span>
|
|
|
|
|
<span style="font-size: 14px;font-weight: 500;color:rgb(102, 102, 102);">基本信息</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="8" v-if="judgeShow('code')">
|
|
|
|
|
<jnpf-form-tip-item label="单据编号" v-if="judgeShow('code')" prop="code">
|
|
|
|
|
<JnpfInput v-model="dataForm.code" @change="changeData('code', -1)" placeholder="系统自动生成"
|
|
|
|
|
:disabled="judgeWrite('code')" readonly :style='{ "width": "100%" }'>
|
|
|
|
|
<JnpfInput v-model="dataForm.code" @change="changeData('code', -1)"
|
|
|
|
|
placeholder="系统自动生成" :disabled="judgeWrite('code')" readonly
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8" v-if="judgeShow('businessfactoryId')">
|
|
|
|
|
<jnpf-form-tip-item label="工厂名称" v-if="judgeShow('businessfactoryId')" prop="businessfactoryId">
|
|
|
|
|
<JnpfPopupSelect v-model="dataForm.businessfactoryId" @change="changeData('businessfactoryId', -1)"
|
|
|
|
|
:rowIndex="null" :formData="dataForm" :templateJson="interfaceRes.businessfactoryId" placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('businessfactoryId')" hasPage propsValue="id" popupWidth="800px" popupTitle="选择数据"
|
|
|
|
|
popupType="dialog" relationField='name' field='businessfactoryId' interfaceId="521651055751075845"
|
|
|
|
|
:pageSize="20" :columnOptions="businessfactoryIdcolumnOptions" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
<jnpf-form-tip-item label="工厂名称" v-if="judgeShow('businessfactoryId')"
|
|
|
|
|
prop="businessfactoryId">
|
|
|
|
|
<JnpfPopupSelect v-model="dataForm.businessfactoryId"
|
|
|
|
|
@change="changeData('businessfactoryId', -1)" :rowIndex="null" :formData="dataForm"
|
|
|
|
|
:templateJson="interfaceRes.businessfactoryId" placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('businessfactoryId')" hasPage propsValue="id"
|
|
|
|
|
popupWidth="800px" popupTitle="选择数据" popupType="dialog" relationField='name'
|
|
|
|
|
field='businessfactoryId' interfaceId="521651055751075845" :pageSize="20"
|
|
|
|
|
:columnOptions="businessfactoryIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8" v-if="judgeShow('businessId')">
|
|
|
|
|
<jnpf-form-tip-item label="生产线" v-if="judgeShow('businessId')" prop="businessId">
|
|
|
|
|
<JnpfPopupSelect v-model="dataForm.businessId" @change="changeData('businessId', -1)" :rowIndex="null"
|
|
|
|
|
:formData="dataForm" :templateJson="interfaceRes.businessId" placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('businessId')" hasPage propsValue="id" popupWidth="800px" popupTitle="选择数据"
|
|
|
|
|
popupType="dialog" relationField='name' field='businessId' interfaceId="517979330417001669"
|
|
|
|
|
:pageSize="20" :columnOptions="businessIdcolumnOptions" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
<JnpfPopupSelect v-model="dataForm.businessId" @change="changeData('businessId', -1)"
|
|
|
|
|
:rowIndex="null" :formData="dataForm" :templateJson="interfaceRes.businessId"
|
|
|
|
|
placeholder="请选择" :disabled="judgeWrite('businessId')" hasPage propsValue="id"
|
|
|
|
|
popupWidth="800px" popupTitle="选择数据" popupType="dialog" relationField='name'
|
|
|
|
|
field='businessId' interfaceId="517979330417001669" :pageSize="20"
|
|
|
|
|
:columnOptions="businessIdcolumnOptions" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -63,72 +90,85 @@
|
|
|
|
|
<el-col :span="8" v-if="judgeShow('workTime')">
|
|
|
|
|
<jnpf-form-tip-item label="加工时间" v-if="judgeShow('workTime')" prop="workTime">
|
|
|
|
|
<JnpfDatePicker v-model="dataForm.workTime" @change="changeData('workTime', -1)"
|
|
|
|
|
:startTime="dateTime(false, 1, 1, '', '')" :endTime="dateTime(false, 1, 1, '', '')" placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('workTime')" clearable :style='{ "width": "100%" }' type="date"
|
|
|
|
|
format="yyyy-MM-dd">
|
|
|
|
|
:startTime="dateTime(false, 1, 1, '', '')" :endTime="dateTime(false, 1, 1, '', '')"
|
|
|
|
|
placeholder="请选择" :disabled="judgeWrite('workTime')" clearable
|
|
|
|
|
:style='{ "width": "100%" }' type="date" format="yyyy-MM-dd">
|
|
|
|
|
</JnpfDatePicker>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8" v-if="judgeShow('businessCode')">
|
|
|
|
|
<jnpf-form-tip-item label="外部单据编号" v-if="judgeShow('businessCode')" prop="businessCode">
|
|
|
|
|
<JnpfInput v-model="dataForm.businessCode" @change="changeData('businessCode', -1)" placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('businessCode')" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
<JnpfInput v-model="dataForm.businessCode" @change="changeData('businessCode', -1)"
|
|
|
|
|
placeholder="请输入" :disabled="judgeWrite('businessCode')" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8" v-if="judgeShow('teamId')">
|
|
|
|
|
<jnpf-form-tip-item label="生产班组" v-if="judgeShow('teamId')" prop="teamId">
|
|
|
|
|
<JnpfPopupSelect v-model="dataForm.teamId" @change="changeData('teamId', -1)" :rowIndex="null"
|
|
|
|
|
:formData="dataForm" :templateJson="interfaceRes.teamId" placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('teamId')" hasPage propsValue="id" popupWidth="800px" popupTitle="选择数据"
|
|
|
|
|
popupType="dialog" relationField='team_name' field='teamId' interfaceId="523050983727575621"
|
|
|
|
|
:pageSize="20" :columnOptions="teamIdcolumnOptions" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
<JnpfPopupSelect v-model="dataForm.teamId" @change="changeData('teamId', -1)"
|
|
|
|
|
:rowIndex="null" :formData="dataForm" :templateJson="interfaceRes.teamId"
|
|
|
|
|
placeholder="请选择" :disabled="judgeWrite('teamId')" hasPage propsValue="id"
|
|
|
|
|
popupWidth="800px" popupTitle="选择数据" popupType="dialog" relationField='team_name'
|
|
|
|
|
field='teamId' interfaceId="523050983727575621" :pageSize="20"
|
|
|
|
|
:columnOptions="teamIdcolumnOptions" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<jnpf-form-tip-item label="状态" prop="status">
|
|
|
|
|
<JnpfRadio v-model="dataForm.status" @change="changeData('status', -1)" optionType="button"
|
|
|
|
|
direction="horizontal" size="medium" :options="statusOptions" :props="statusProps">
|
|
|
|
|
<JnpfRadio v-model="dataForm.status" @change="changeData('status', -1)"
|
|
|
|
|
optionType="button" direction="horizontal" size="medium" :options="statusOptions"
|
|
|
|
|
:props="statusProps">
|
|
|
|
|
</JnpfRadio>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="10" v-if="judgeShow('warehouseId')">
|
|
|
|
|
<el-col :span="8" v-if="judgeShow('warehouseId')">
|
|
|
|
|
<jnpf-form-tip-item label="仓库名称" v-if="judgeShow('warehouseId')" prop="warehouseId">
|
|
|
|
|
<JnpfPopupSelect v-model="dataForm.warehouseId" @change="changeData('warehouseId', -1)" :rowIndex="null"
|
|
|
|
|
:formData="dataForm" :templateJson="interfaceRes.warehouseId" placeholder="请选择" hasPage propsValue="id"
|
|
|
|
|
popupWidth="800px" popupTitle="选择数据" popupType="dialog" relationField='name' field='warehouseId'
|
|
|
|
|
interfaceId="529573170819104773" :pageSize="20" :columnOptions="warehouseIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
<JnpfPopupSelect v-model="dataForm.warehouseId"
|
|
|
|
|
@change="changeData('warehouseId', -1)" :rowIndex="null" :formData="dataForm"
|
|
|
|
|
:templateJson="interfaceRes.warehouseId" placeholder="请选择" hasPage propsValue="id"
|
|
|
|
|
popupWidth="800px" popupTitle="选择数据" popupType="dialog" relationField='name'
|
|
|
|
|
field='warehouseId' interfaceId="529573170819104773" :pageSize="20"
|
|
|
|
|
:columnOptions="warehouseIdcolumnOptions" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="24" v-if="judgeShow('remark')">
|
|
|
|
|
<jnpf-form-tip-item label="备注" v-if="judgeShow('remark')" prop="remark">
|
|
|
|
|
<JnpfInput v-model="dataForm.remark" @change="changeData('remark', -1)" placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('remark')" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
<JnpfInput v-model="dataForm.remark" @change="changeData('remark', -1)"
|
|
|
|
|
placeholder="请输入" :disabled="judgeWrite('remark')" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<!-- <el-col :span="24">
|
|
|
|
|
<jnpf-form-tip-item>
|
|
|
|
|
<JnpfGroupTitle content="加工成品" contentPosition="left">
|
|
|
|
|
</JnpfGroupTitle>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col> -->
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<div style="padding:15px 0px">
|
|
|
|
|
<span style="color: #409EFF;">▋</span>
|
|
|
|
|
<span style="font-size: 14px;font-weight: 500;color:rgb(102, 102, 102);">加工成品</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24" v-if="judgeShow('-${html.relationField}')">
|
|
|
|
|
<jnpf-form-tip-item label-width="0">
|
|
|
|
|
<!-- <div class="JNPF-common-title">
|
|
|
|
|
<h2>设计子表</h2>
|
|
|
|
|
</div> -->
|
|
|
|
|
<el-table :data="dataForm.workOrderProductList" size='mini'>
|
|
|
|
|
<el-table-column type="index" width="50" label="序号" align="center" />
|
|
|
|
|
<el-table-column label="商品名称" v-if="judgeShow('workorderproduct-productId')" prop="productId">
|
|
|
|
|
<el-table :data="dataForm.workOrderProductList" size='mini' border>
|
|
|
|
|
<el-table-column type="index" width="50" label="序号" align="center" fixed="left" />
|
|
|
|
|
<el-table-column label="商品名称" v-if="judgeShow('workorderproduct-productId')"
|
|
|
|
|
align="center" fixed="left" prop="productId" width="150px">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign" v-if="judgeRequired('workorderproductList-productId')">*</span>商品名称
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('workorderproductList-productId')">*</span>商品名称
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
@ -136,28 +176,27 @@
|
|
|
|
|
:rowIndex="scope.$index" :formData="dataForm"
|
|
|
|
|
:templateJson="interfaceRes.workorderproductproductId" placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('workorderproductList') || judgeWrite('workorderproductList-productId')"
|
|
|
|
|
hasPage propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='name' :field="'productId' + scope.$index" interfaceId="519505017699307077"
|
|
|
|
|
:pageSize="20" :columnOptions="workorderproductproductIdcolumnOptions" clearable
|
|
|
|
|
hasPage propsValue="id" popupWidth="800px" popupTitle="选择数据"
|
|
|
|
|
popupType="dialog" relationField='name' :field="'productId' + scope.$index"
|
|
|
|
|
interfaceId="519505017699307077" :pageSize="20"
|
|
|
|
|
:columnOptions="workorderproductproductIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="存货类型" prop="inventoryType">
|
|
|
|
|
|
|
|
|
|
<el-table-column label="存货类型" prop="inventoryType" width="150px" align="center">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign">*</span>存货类型
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.inventoryType" placeholder="请输入" disabled clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
<JnpfInput v-model="scope.row.inventoryType" placeholder="请输入" disabled
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="规格" prop="spec">
|
|
|
|
|
<el-table-column label="规格" prop="spec" width="200px" align="center">
|
|
|
|
|
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign">*</span>规格
|
|
|
|
@ -168,21 +207,18 @@
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="库存单位" prop="inventoryUnitIds">
|
|
|
|
|
|
|
|
|
|
<el-table-column label="库存单位" prop="inventoryUnitIds" width="150px" align="center">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign">*</span>库存单位
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.inventoryUnitIds" placeholder="请输入" disabled clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
<JnpfInput v-model="scope.row.inventoryUnitIds" placeholder="请输入" disabled
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="条码" prop="barCode">
|
|
|
|
|
<el-table-column label="条码" prop="barCode" width="250px" align="center">
|
|
|
|
|
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign">*</span>条码
|
|
|
|
@ -195,116 +231,122 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="加工单位" v-if="judgeShow('workorderproduct-unitId')" prop="unitId">
|
|
|
|
|
|
|
|
|
|
<el-table-column label="加工单位" v-if="judgeShow('workorderproduct-unitId')"
|
|
|
|
|
align="center" prop="unitId" width="150px">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign" v-if="judgeRequired('workorderproductList-unitId')">*</span>加工单位
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('workorderproductList-unitId')">*</span>加工单位
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfPopupSelect v-model="scope.row.unitId"
|
|
|
|
|
@change="changeData('workorderproduct-unitId', scope.$index)" :rowIndex="scope.$index"
|
|
|
|
|
:formData="dataForm" :templateJson="interfaceRes.workorderproductunitId" placeholder="请选择"
|
|
|
|
|
@change="changeData('workorderproduct-unitId', scope.$index)"
|
|
|
|
|
:rowIndex="scope.$index" :formData="dataForm"
|
|
|
|
|
:templateJson="interfaceRes.workorderproductunitId" placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('workorderproductList') || judgeWrite('workorderproductList-unitId')"
|
|
|
|
|
hasPage propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='unit_name' :field="'unitId' + scope.$index" interfaceId="523054191598383685"
|
|
|
|
|
:pageSize="20" :columnOptions="workorderproductunitIdcolumnOptions" clearable
|
|
|
|
|
hasPage propsValue="id" popupWidth="800px" popupTitle="选择数据"
|
|
|
|
|
popupType="dialog" relationField='unit_name' :field="'unitId' + scope.$index"
|
|
|
|
|
interfaceId="523054191598383685" :pageSize="20"
|
|
|
|
|
:columnOptions="workorderproductunitIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="加工数量" v-if="judgeShow('workorderproduct-proportionNum')" prop="proportionNum">
|
|
|
|
|
<el-table-column label="加工数量" v-if="judgeShow('workorderproduct-proportionNum')"
|
|
|
|
|
align="center" prop="proportionNum" width="180px">
|
|
|
|
|
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign" v-if="judgeRequired('workorderproductList-proportionNum')">*</span>加工数量
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('workorderproductList-proportionNum')">*</span>加工数量
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.proportionNum"
|
|
|
|
|
@change="changeData('workorderproduct-proportionNum', scope.$index)" placeholder="请输入"
|
|
|
|
|
@change="changeData('workorderproduct-proportionNum', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('workorderproductList') || judgeWrite('workorderproductList-proportionNum')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="BOM" v-if="judgeShow('workorderproduct-bomId')" prop="bomId">
|
|
|
|
|
|
|
|
|
|
<el-table-column label="BOM" v-if="judgeShow('workorderproduct-bomId')" prop="bomId"
|
|
|
|
|
align="center" width="300px">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign" v-if="judgeRequired('workorderproductList-bomId')">*</span>BOM
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('workorderproductList-bomId')">*</span>BOM
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfPopupSelect v-model="scope.row.bomId"
|
|
|
|
|
@change="changeData('workorderproduct-bomId', scope.$index)" :rowIndex="scope.$index"
|
|
|
|
|
:formData="dataForm" :templateJson="interfaceRes.workorderproductbomId" placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('workorderproductList') || judgeWrite('workorderproductList-bomId')" hasPage
|
|
|
|
|
propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog" relationField='bom_name'
|
|
|
|
|
:field="'bomId' + scope.$index" interfaceId="523054588681531973" :pageSize="20"
|
|
|
|
|
:columnOptions="workorderproductbomIdcolumnOptions" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
@change="changeData('workorderproduct-bomId', scope.$index)"
|
|
|
|
|
:rowIndex="scope.$index" :formData="dataForm"
|
|
|
|
|
:templateJson="interfaceRes.workorderproductbomId" placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('workorderproductList') || judgeWrite('workorderproductList-bomId')"
|
|
|
|
|
hasPage propsValue="id" popupWidth="800px" popupTitle="选择数据"
|
|
|
|
|
popupType="dialog" relationField='bom_name' :field="'bomId' + scope.$index"
|
|
|
|
|
interfaceId="523054588681531973" :pageSize="20"
|
|
|
|
|
:columnOptions="workorderproductbomIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="参考成本价" v-if="judgeShow('workorderproduct-cost')" prop="cost">
|
|
|
|
|
<el-table-column label="参考成本价" v-if="judgeShow('workorderproduct-cost')" prop="cost"
|
|
|
|
|
align="center" width="180px">
|
|
|
|
|
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign" v-if="judgeRequired('workorderproductList-cost')">*</span>参考成本价
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('workorderproductList-cost')">*</span>参考成本价
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.cost" @change="changeData('workorderproduct-cost', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
<JnpfInput v-model="scope.row.cost"
|
|
|
|
|
@change="changeData('workorderproduct-cost', scope.$index)" placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('workorderproductList') || judgeWrite('workorderproductList-cost')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="货区名称" v-if="judgeShow('workorderproduct-cargoId')" prop="cargoId">
|
|
|
|
|
<el-table-column label="货区名称" v-if="judgeShow('workorderproduct-cargoId')"
|
|
|
|
|
align="center" prop="cargoId" width="180px">
|
|
|
|
|
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign" v-if="judgeRequired('workorderproductList-cargoId')">*</span>货区名称
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('workorderproductList-cargoId')">*</span>货区名称
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfPopupSelect v-model="scope.row.cargoId"
|
|
|
|
|
@change="changeData('workorderproduct-cargoId', scope.$index)" :rowIndex="scope.$index"
|
|
|
|
|
:formData="dataForm" :templateJson="interfaceRes.workorderproductcargoId" placeholder="请选择"
|
|
|
|
|
hasPage propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='cargo_name' :field="'cargoId' + scope.$index" interfaceId="530700536261903749"
|
|
|
|
|
:pageSize="20" :columnOptions="workorderproductcargoIdcolumnOptions" clearable
|
|
|
|
|
@change="changeData('workorderproduct-cargoId', scope.$index)"
|
|
|
|
|
:rowIndex="scope.$index" :formData="dataForm"
|
|
|
|
|
:templateJson="interfaceRes.workorderproductcargoId" placeholder="请选择" hasPage
|
|
|
|
|
propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='cargo_name' :field="'cargoId' + scope.$index"
|
|
|
|
|
interfaceId="530700536261903749" :pageSize="20"
|
|
|
|
|
:columnOptions="workorderproductcargoIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<!-- <template slot-scope="scope">
|
|
|
|
|
<JnpfPopupSelect v-model="scope.row.cargoId"
|
|
|
|
|
@change="changeData('workorderproduct-cargoId', scope.$index)" :rowIndex="scope.$index"
|
|
|
|
|
:formData="dataForm" :templateJson="interfaceRes.workorderproductcargoId" placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('workorderproductList') || judgeWrite('workorderproductList-cargoId')"
|
|
|
|
|
hasPage propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='cargo_name' :field="'cargoId' + scope.$index" interfaceId="530700536261903749"
|
|
|
|
|
:pageSize="20" :columnOptions="workorderproductcargoIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</template> -->
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column label="备注" v-if="judgeShow('workorderproduct-remark')" prop="remark">
|
|
|
|
|
<el-table-column label="备注" v-if="judgeShow('workorderproduct-remark')"
|
|
|
|
|
align="center" prop="remark" width="200px">
|
|
|
|
|
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign" v-if="judgeRequired('workorderproductList-remark')">*</span>备注
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('workorderproductList-remark')">*</span>备注
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.remark" @change="changeData('workorderproduct-remark', scope.$index)"
|
|
|
|
|
<JnpfInput v-model="scope.row.remark"
|
|
|
|
|
@change="changeData('workorderproduct-remark', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('workorderproductList') || judgeWrite('workorderproductList-remark')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="操作" width="50" v-if="!judgeWrite('workorderproductList')">
|
|
|
|
|
<el-table-column label="操作" width="50" v-if="!judgeWrite('workorderproductList')"
|
|
|
|
|
align="center">
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button size="mini" type="text" class="JNPF-table-delBtn"
|
|
|
|
@ -315,55 +357,64 @@
|
|
|
|
|
<!-- <div class="table-actions" @click="addworkorderproductList()" v-if="!judgeWrite('workorderproductList')">
|
|
|
|
|
<el-button type="text" icon="el-icon-plus">添加</el-button>
|
|
|
|
|
</div> -->
|
|
|
|
|
<div class="table-actions" @click="choice()" v-if="!judgeWrite('workorderproductList')">
|
|
|
|
|
<div class="table-actions" @click="choice()"
|
|
|
|
|
v-if="!judgeWrite('workorderproductList')">
|
|
|
|
|
<el-button type="text" icon="el-icon-plus">添加</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<!-- <el-col :span="24">
|
|
|
|
|
<jnpf-form-tip-item>
|
|
|
|
|
<JnpfGroupTitle content="原材料" contentPosition="left">
|
|
|
|
|
</JnpfGroupTitle>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col> -->
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<div style="padding:15px 0px">
|
|
|
|
|
<span style="color: #409EFF;">▋</span>
|
|
|
|
|
<span style="font-size: 14px;font-weight: 500;color:rgb(102, 102, 102);">原材料</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="24" v-if="judgeShow('workorderproduct-${html.relationField}')">
|
|
|
|
|
<jnpf-form-tip-item label-width="0">
|
|
|
|
|
<!-- <div class="JNPF-common-title">
|
|
|
|
|
<h2>设计子表</h2>
|
|
|
|
|
</div> -->
|
|
|
|
|
<el-table :data="dataForm.workOrderPrimaryList" size='mini'>
|
|
|
|
|
<el-table-column type="index" width="50" label="序号" align="center" />
|
|
|
|
|
<el-table-column label="商品名称" v-if="judgeShow('workorderprimary-productId')" prop="productId">
|
|
|
|
|
<el-table :data="dataForm.workOrderPrimaryList" size='mini' border="">
|
|
|
|
|
<el-table-column type="index" width="50" label="序号" align="center" fixed="left" />
|
|
|
|
|
<el-table-column label="商品名称" v-if="judgeShow('workorderprimary-productId')"
|
|
|
|
|
align="center" fixed="left" prop="productId">
|
|
|
|
|
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign" v-if="judgeRequired('workorderprimaryList-productId')">*</span>商品名称
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('workorderprimaryList-productId')">*</span>商品名称
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfPopupSelect v-model="scope.row.productId" @change="changePrimaryList" :rowIndex="scope.$index"
|
|
|
|
|
:formData="dataForm" :templateJson="interfaceRes.workorderprimaryproductId" placeholder="请选择"
|
|
|
|
|
hasPage propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='name' :field="'productId' + scope.$index" interfaceId="519505017699307077"
|
|
|
|
|
:pageSize="20" :columnOptions="workorderprimaryproductIdcolumnOptions" clearable
|
|
|
|
|
<JnpfPopupSelect v-model="scope.row.productId" @change="changePrimaryList"
|
|
|
|
|
:rowIndex="scope.$index" :formData="dataForm"
|
|
|
|
|
:templateJson="interfaceRes.workorderprimaryproductId" placeholder="请选择"
|
|
|
|
|
hasPage propsValue="id" popupWidth="800px" popupTitle="选择数据"
|
|
|
|
|
popupType="dialog" relationField='name' :field="'productId' + scope.$index"
|
|
|
|
|
interfaceId="519505017699307077" :pageSize="20"
|
|
|
|
|
:columnOptions="workorderprimaryproductIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="存货类型" prop="inventoryType">
|
|
|
|
|
<el-table-column label="存货类型" prop="inventoryType" align="center">
|
|
|
|
|
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign">*</span>存货类型
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.inventoryType" placeholder="请输入" disabled clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
<JnpfInput v-model="scope.row.inventoryType" placeholder="请输入" disabled
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="规格" prop="spec">
|
|
|
|
|
<el-table-column label="规格" prop="spec" align="center">
|
|
|
|
|
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign">*</span>规格
|
|
|
|
@ -376,19 +427,19 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="库存单位" prop="lastModifyUserId">
|
|
|
|
|
<el-table-column label="库存单位" prop="lastModifyUserId" align="center">
|
|
|
|
|
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign">*</span>库存单位
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.inventoryUnitIds" placeholder="请输入" disabled clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
<JnpfInput v-model="scope.row.inventoryUnitIds" placeholder="请输入" disabled
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="条码" prop="deleteUserId">
|
|
|
|
|
<el-table-column label="条码" prop="deleteUserId" width="300px" align="center">
|
|
|
|
|
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign">*</span>条码
|
|
|
|
@ -400,10 +451,12 @@
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="理论发料量" v-if="judgeShow('workorderprimary-theoryNum')" prop="theoryNum">
|
|
|
|
|
<el-table-column label="理论发料量" v-if="judgeShow('workorderprimary-theoryNum')"
|
|
|
|
|
align="center" prop="theoryNum">
|
|
|
|
|
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign" v-if="judgeRequired('workorderprimaryList-theoryNum')">*</span>理论发料量
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('workorderprimaryList-theoryNum')">*</span>理论发料量
|
|
|
|
|
</template>
|
|
|
|
|
<!-- <template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.theoryNum"
|
|
|
|
@ -416,60 +469,57 @@
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.theoryNum"
|
|
|
|
|
@change="changeData('workorderprimary-theoryNum', scope.$index)" placeholder="请输入" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
@change="changeData('workorderprimary-theoryNum', scope.$index)"
|
|
|
|
|
placeholder="请输入" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="实际发料量" v-if="judgeShow('workorderprimary-realityNum')" prop="realityNum">
|
|
|
|
|
<el-table-column label="实际发料量" v-if="judgeShow('workorderprimary-realityNum')"
|
|
|
|
|
align="center" prop="realityNum">
|
|
|
|
|
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign" v-if="judgeRequired('workorderprimaryList-realityNum')">*</span>实际发料量
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('workorderprimaryList-realityNum')">*</span>实际发料量
|
|
|
|
|
</template>
|
|
|
|
|
<!-- <template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.realityNum"
|
|
|
|
|
@change="changeData('workorderprimary-realityNum',scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('workorderprimaryList')||judgeWrite('workorderprimaryList-realityNum')"
|
|
|
|
|
clearable :style='{"width":"100%"}'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template> -->
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.realityNum"
|
|
|
|
|
@change="changeData('workorderprimary-realityNum', scope.$index)" placeholder="请输入" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
@change="changeData('workorderprimary-realityNum', scope.$index)"
|
|
|
|
|
placeholder="请输入" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="货区名称" v-if="judgeShow('workorderprimary-cargoId')" prop="cargoId">
|
|
|
|
|
<el-table-column label="货区名称" v-if="judgeShow('workorderprimary-cargoId')"
|
|
|
|
|
align="center" prop="cargoId">
|
|
|
|
|
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign" v-if="judgeRequired('workorderprimaryList-cargoId')">*</span>货区名称
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('workorderprimaryList-cargoId')">*</span>货区名称
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfPopupSelect v-model="scope.row.cargoId"
|
|
|
|
|
@change="changeData('workorderprimary-cargoId', scope.$index)" :rowIndex="scope.$index"
|
|
|
|
|
:formData="dataForm" :templateJson="interfaceRes.workorderprimarycargoId" placeholder="请选择"
|
|
|
|
|
hasPage propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='cargo_name' :field="'cargoId' + scope.$index" interfaceId="530700536261903749"
|
|
|
|
|
:pageSize="20" :columnOptions="workorderprimarycargoIdcolumnOptions" clearable
|
|
|
|
|
@change="changeData('workorderprimary-cargoId', scope.$index)"
|
|
|
|
|
:rowIndex="scope.$index" :formData="dataForm"
|
|
|
|
|
:templateJson="interfaceRes.workorderprimarycargoId" placeholder="请选择" hasPage
|
|
|
|
|
propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='cargo_name' :field="'cargoId' + scope.$index"
|
|
|
|
|
interfaceId="530700536261903749" :pageSize="20"
|
|
|
|
|
:columnOptions="workorderprimarycargoIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="操作" width="50" v-if="!judgeWrite('workorderprimaryList')">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column label="操作" width="50px" align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button size="mini" type="text" class="JNPF-table-delBtn"
|
|
|
|
|
@click="delworkorderprimaryList(scope.$index)">删除</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
</el-table>
|
|
|
|
|
<!-- <div class="table-actions" @click="addworkorderprimaryList()">
|
|
|
|
|
<el-button type="text" icon="el-icon-plus">添加</el-button>
|
|
|
|
@ -479,20 +529,19 @@
|
|
|
|
|
<el-button type="text" icon="el-icon-plus">添加</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<!-- 表单结束 -->
|
|
|
|
|
</template>
|
|
|
|
|
<SelectDialog v-if="selectDialogVisible" :config="currTableConf" :formData="dataForm" ref="selectDialog"
|
|
|
|
|
@select="addForSelect" @close="selectDialogVisible = false" />
|
|
|
|
|
<SelectDialog v-if="selectDialogVisible" :config="currTableConf" :formData="dataForm"
|
|
|
|
|
ref="selectDialog" @select="addForSelect" @close="selectDialogVisible = false" />
|
|
|
|
|
</el-form>
|
|
|
|
|
</el-row>
|
|
|
|
|
<UserBox v-if="userBoxVisible" ref="userBox" @submit="submit" />
|
|
|
|
|
|
|
|
|
|
<BomProductGoodsBox v-if="BomgoodsBoxVisible" ref="BomGoodsBox" @refreshDataList="initList" />
|
|
|
|
|
<BomProductRawGoodsBox v-if="BomgoodsBoxRawVisible" ref="BomGoodsRawBox" @refreshDataList="initRawList" />
|
|
|
|
|
|
|
|
|
|
<BomProductRawGoodsBox v-if="BomgoodsBoxRawVisible" ref="BomGoodsRawBox"
|
|
|
|
|
@refreshDataList="initRawList" />
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|