|
|
|
@ -2,8 +2,11 @@ |
|
|
|
<div class="mod-config"> |
|
|
|
<!-- 查询条件 --> |
|
|
|
<el-form :inline="true" label-position="top" :model="searchData" @keyup.enter.native="getDataList()"> |
|
|
|
<el-form-item :label="'物料编码'"> |
|
|
|
<el-input v-model="searchData.partNo" clearable style="width: 120px"></el-input> |
|
|
|
<el-form-item :label="'PLM物料编码'"> |
|
|
|
<el-input v-model="searchData.plmPartNo" clearable style="width: 120px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'IFS物料编码'"> |
|
|
|
<el-input v-model="searchData.ifsPartNo" clearable style="width: 120px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'物料名称'"> |
|
|
|
<el-input v-model="searchData.partDesc" clearable style="width: 120px"></el-input> |
|
|
|
@ -252,111 +255,6 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-tab-pane> |
|
|
|
|
|
|
|
<!-- <!– Recipe副产品信息页签 –>--> |
|
|
|
<!-- <el-tab-pane label="By-Products" name="by_products">--> |
|
|
|
<!-- <el-form label-position="top" style="margin-top: 5px">--> |
|
|
|
<!-- <el-form-item>--> |
|
|
|
<!-- <el-button type="primary" @click="saveByProductModal" style="margin-left: 7px">新增</el-button>--> |
|
|
|
<!-- <el-button type="primary" @click="deleteByProduct">删除</el-button>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- </el-form>--> |
|
|
|
<!-- <el-table--> |
|
|
|
<!-- :data="byProductList"--> |
|
|
|
<!-- height="256px"--> |
|
|
|
<!-- border--> |
|
|
|
<!-- ref="byProductTable"--> |
|
|
|
<!-- @row-click="byProductClickRow"--> |
|
|
|
<!-- @selection-change="byProductSelection"--> |
|
|
|
<!-- style="width:100%">--> |
|
|
|
<!-- <el-table-column type="selection" align="center" width="50"></el-table-column>--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- v-for="(item,index) in columnSubDetailList2" :key="index"--> |
|
|
|
<!-- :sortable="item.columnSortable"--> |
|
|
|
<!-- :prop="item.columnProp"--> |
|
|
|
<!-- :header-align="item.headerAlign"--> |
|
|
|
<!-- :show-overflow-tooltip="item.showOverflowTooltip"--> |
|
|
|
<!-- :align="item.align"--> |
|
|
|
<!-- :fixed="item.fixed == ''?false:item.fixed"--> |
|
|
|
<!-- :min-width="item.columnWidth"--> |
|
|
|
<!-- :label="item.columnLabel">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <span v-if="!item.columnHidden">{{scope.row[item.columnProp]}}</span>--> |
|
|
|
<!-- <span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- fixed="right"--> |
|
|
|
<!-- header-align="center"--> |
|
|
|
<!-- align="center"--> |
|
|
|
<!-- width="100"--> |
|
|
|
<!-- label="操作">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <el-link style="cursor: pointer" @click="updateByProductModal(scope.row)">编辑</el-link>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- </el-table>--> |
|
|
|
<!-- </el-tab-pane>--> |
|
|
|
|
|
|
|
<!-- <!– Recipe副产品成本分配信息页签 –>--> |
|
|
|
<!-- <el-tab-pane label="By-Product Cost Distribution" name="manuf_struct_cost_distribtion">--> |
|
|
|
<!-- <el-table--> |
|
|
|
<!-- :data="manufStructCostDistribList"--> |
|
|
|
<!-- height="280px"--> |
|
|
|
<!-- border--> |
|
|
|
<!-- style="width:100%">--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- v-for="(item,index) in columnManufStructCostDistribList" :key="index"--> |
|
|
|
<!-- :sortable="item.columnSortable"--> |
|
|
|
<!-- :prop="item.columnProp"--> |
|
|
|
<!-- :header-align="item.headerAlign"--> |
|
|
|
<!-- :show-overflow-tooltip="item.showOverflowTooltip"--> |
|
|
|
<!-- :align="item.align"--> |
|
|
|
<!-- :fixed="item.fixed == ''?false:item.fixed"--> |
|
|
|
<!-- :min-width="item.columnWidth"--> |
|
|
|
<!-- :label="item.columnLabel">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <span v-if="!item.columnHidden">{{scope.row[item.columnProp]}}</span>--> |
|
|
|
<!-- <span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- fixed="right"--> |
|
|
|
<!-- header-align="center"--> |
|
|
|
<!-- align="center"--> |
|
|
|
<!-- width="100"--> |
|
|
|
<!-- label="操作">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <el-link style="cursor: pointer" @click="updateManufStructCostDistribModal(scope.row)">编辑</el-link>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- </el-table>--> |
|
|
|
<!-- </el-tab-pane>--> |
|
|
|
|
|
|
|
<!-- <!– Recipe副产品成本分配信息页签 –>--> |
|
|
|
<!-- <el-tab-pane label="Multi Level Structure" name="multi_level_structure">--> |
|
|
|
<!-- <el-table--> |
|
|
|
<!-- :data="multiLevelStructureList"--> |
|
|
|
<!-- height="280px"--> |
|
|
|
<!-- border--> |
|
|
|
<!-- style="width:100%">--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- v-for="(item,index) in columnMultiLevelStructureList" :key="index"--> |
|
|
|
<!-- :sortable="item.columnSortable"--> |
|
|
|
<!-- :prop="item.columnProp"--> |
|
|
|
<!-- :header-align="item.headerAlign"--> |
|
|
|
<!-- :show-overflow-tooltip="item.showOverflowTooltip"--> |
|
|
|
<!-- :align="item.align"--> |
|
|
|
<!-- :fixed="item.fixed == ''?false:item.fixed"--> |
|
|
|
<!-- :min-width="item.columnWidth"--> |
|
|
|
<!-- :label="item.columnLabel">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <span v-if="!item.columnHidden">{{scope.row[item.columnProp]}}</span>--> |
|
|
|
<!-- <span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- </el-table>--> |
|
|
|
<!-- </el-tab-pane>--> |
|
|
|
</el-tabs> |
|
|
|
<el-footer style="height:30px;margin-top:20px;text-align:center"> |
|
|
|
<el-button :loading="saveAllLoading" type="primary" @click="saveData()">保存</el-button> |
|
|
|
@ -405,8 +303,11 @@ |
|
|
|
<el-dialog title="物料清单" :close-on-click-modal="false" v-drag :visible.sync="partModelFlag" width="940px"> |
|
|
|
<div class="rq"> |
|
|
|
<el-form :inline="true" label-position="top" :model="partData"> |
|
|
|
<el-form-item :label="'物料编码'"> |
|
|
|
<el-input v-model="partData.partNo" clearable style="width: 120px"></el-input> |
|
|
|
<el-form-item :label="'PLM物料编码'"> |
|
|
|
<el-input v-model="partData.plmPartNo" clearable style="width: 120px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'IFS物料编码'"> |
|
|
|
<el-input v-model="partData.ifsPartNo" clearable style="width: 120px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'物料名称'"> |
|
|
|
<el-input v-model="partData.partDesc" clearable style="width: 120px"></el-input> |
|
|
|
@ -457,8 +358,11 @@ |
|
|
|
<!-- 子明细物料模态框 --> |
|
|
|
<el-dialog title="物料清单" top="17vh" :close-on-click-modal="false" v-drag :visible.sync="componentPartModelFlag" width="940px"> |
|
|
|
<el-form :inline="true" label-position="top" :model="componentPartData"> |
|
|
|
<el-form-item :label="'物料编码'"> |
|
|
|
<el-input v-model="componentPartData.partNo" clearable style="width: 120px"></el-input> |
|
|
|
<el-form-item :label="'PLM物料编码'"> |
|
|
|
<el-input v-model="componentPartData.plmPartNo" clearable style="width: 120px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'IFS物料编码'"> |
|
|
|
<el-input v-model="componentPartData.ifsPartNo" clearable style="width: 120px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'物料名称'"> |
|
|
|
<el-input v-model="componentPartData.partDesc" clearable style="width: 120px"></el-input> |
|
|
|
@ -770,8 +674,11 @@ |
|
|
|
<!-- copy物料模态框 --> |
|
|
|
<el-dialog title="物料清单" top="17vh" :close-on-click-modal="false" v-drag :visible.sync="copyPartModelFlag" width="940px"> |
|
|
|
<el-form :inline="true" label-position="top" :model="copyPartData"> |
|
|
|
<el-form-item :label="'物料编码'"> |
|
|
|
<el-input v-model="copyPartData.partNo" clearable style="width: 120px"></el-input> |
|
|
|
<el-form-item :label="'PLM物料编码'"> |
|
|
|
<el-input v-model="copyPartData.plmPartNo" clearable style="width: 120px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'IFS物料编码'"> |
|
|
|
<el-input v-model="copyPartData.ifsPartNo" clearable style="width: 120px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'物料名称'"> |
|
|
|
<el-input v-model="copyPartData.partDesc" clearable style="width: 120px"></el-input> |
|
|
|
@ -1012,6 +919,8 @@ export default { |
|
|
|
searchData: { |
|
|
|
site: this.$store.state.user.site, |
|
|
|
partNo: '', |
|
|
|
plmPartNo: '', |
|
|
|
ifsPartNo: '', |
|
|
|
partDesc: '', |
|
|
|
bomType:'', |
|
|
|
engChgLevel:'', |
|
|
|
@ -1121,6 +1030,8 @@ export default { |
|
|
|
partData: { |
|
|
|
site: this.$store.state.user.site, |
|
|
|
partNo: '', |
|
|
|
plmPartNo: '', |
|
|
|
ifsPartNo: '', |
|
|
|
partDesc: '', |
|
|
|
page: 1, |
|
|
|
limit: 10 |
|
|
|
@ -1128,6 +1039,8 @@ export default { |
|
|
|
componentPartData: { |
|
|
|
site: this.$store.state.user.site, |
|
|
|
partNo: '', |
|
|
|
plmPartNo: '', |
|
|
|
ifsPartNo: '', |
|
|
|
partDesc: '', |
|
|
|
status: '', |
|
|
|
page: 1, |
|
|
|
@ -1137,6 +1050,8 @@ export default { |
|
|
|
type: '', |
|
|
|
site: this.$store.state.user.site, |
|
|
|
partNo: '', |
|
|
|
plmPartNo: '', |
|
|
|
ifsPartNo: '', |
|
|
|
partDesc: '', |
|
|
|
page: 1, |
|
|
|
limit: 10 |
|
|
|
@ -1233,13 +1148,31 @@ export default { |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 104002003, |
|
|
|
serialNumber: '104002003Table1PartNo', |
|
|
|
serialNumber: '104002003Table1PlmPartNo', |
|
|
|
tableId: '104002003Table1', |
|
|
|
tableName: 'Recipe信息表', |
|
|
|
columnProp: 'partNo', |
|
|
|
columnProp: 'plmPartNo', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '物料编码', |
|
|
|
columnLabel: 'PLM物料编码', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 104002003, |
|
|
|
serialNumber: '104002003Table1IfsPartNo', |
|
|
|
tableId: '104002003Table1', |
|
|
|
tableName: 'Recipe信息表', |
|
|
|
columnProp: 'ifsPartNo', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: 'IFS物料编码', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
@ -1449,10 +1382,23 @@ export default { |
|
|
|
], |
|
|
|
partColumnList: [ |
|
|
|
{ |
|
|
|
columnProp: 'partNo', |
|
|
|
columnProp: 'plmPartNo', |
|
|
|
headerAlign: "center", |
|
|
|
align: "center", |
|
|
|
columnLabel: '物料编码', |
|
|
|
columnLabel: 'PLM物料编码', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120 |
|
|
|
}, |
|
|
|
{ |
|
|
|
columnProp: 'IFSPartNo', |
|
|
|
headerAlign: "center", |
|
|
|
align: "center", |
|
|
|
columnLabel: 'IFS物料编码', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
@ -1530,10 +1476,21 @@ export default { |
|
|
|
], |
|
|
|
componentPartColumnList: [ |
|
|
|
{ |
|
|
|
columnProp: 'partNo', |
|
|
|
columnProp: 'plmPartNo', |
|
|
|
headerAlign: "center", |
|
|
|
align: "center", |
|
|
|
columnLabel: '物料编码', |
|
|
|
columnLabel: 'PLM物料编码', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120 |
|
|
|
}, |
|
|
|
{ |
|
|
|
columnProp: 'ifsPartNo', |
|
|
|
headerAlign: "center", |
|
|
|
align: "center", |
|
|
|
columnLabel: 'IFS物料编码', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
status: true, |
|
|
|
@ -3960,6 +3917,8 @@ export default { |
|
|
|
type: '1', |
|
|
|
site: this.$store.state.user.site, |
|
|
|
partNo: '', |
|
|
|
plmPartNo: '', |
|
|
|
ifsPartNo: '', |
|
|
|
partDesc: '', |
|
|
|
page: 1, |
|
|
|
limit: 10 |
|
|
|
@ -4031,6 +3990,8 @@ export default { |
|
|
|
type: '2', |
|
|
|
site: this.$store.state.user.site, |
|
|
|
partNo: '', |
|
|
|
plmPartNo: '', |
|
|
|
ifsPartNo: '', |
|
|
|
partDesc: '', |
|
|
|
page: 1, |
|
|
|
limit: 10 |
|
|
|
|