|
|
@@ -9,17 +9,17 @@
|
|
|
<el-input v-model="searchInfo" placeholder="搜索产品编号或产品名称" style="width: 180px;"></el-input>
|
|
|
<el-button type="primary" icon="search" @click="onSubmit" class="search"></el-button>
|
|
|
<el-button type="primary" icon="edit" @click="onStatusClick" class="bt"><i class="el-icon-edit"></i>状态设置</el-button>
|
|
|
- <!-- <el-button type="primary" class="bt" icon="edit" @click="">工艺方案复制</el-button>-->
|
|
|
- <el-button type="primary" class="bt" icon="edit" @click="gygmClick" >工艺方案更名</el-button>
|
|
|
- <el-button type="primary" class="bt" icon="edit" @click="fjClick" >工艺方案附加</el-button>
|
|
|
- <el-button type="primary" class="bt" icon="edit" @click="jsssxzClick" >计损色数修正</el-button>
|
|
|
- <el-button type="primary" class="bt" icon="edit" @click="fjfpxsClick" >质检废品系数</el-button>
|
|
|
- <el-button type="primary" class="bt" icon="edit" @click="pccstzClick" >排产参数调整</el-button>
|
|
|
- <el-button type="primary" class="bt" icon="edit" @click="hscstzClick" >核算参数调整</el-button>
|
|
|
- <el-button type="primary" class="bt" icon="edit" @click="addcpyj_onclick" >新增印件资料</el-button>
|
|
|
- <el-button type="primary" class="bt" icon="edit" @click="addcpgy_onclick" >新增工艺资料</el-button>
|
|
|
- <el-button type="primary" class="bt" icon="Download" @click="cpexportToExcel" disabled>导出产品资料</el-button>
|
|
|
- <el-button type="primary" class="bt" icon="Download" @click="gyexportToExcel" disabled>导出工艺流程</el-button>
|
|
|
+<!-- <el-button type="primary" class="bt" icon="edit" @click="cpgyfzclick">产品工艺复制</el-button>-->
|
|
|
+ <el-button type="primary" class="bt" icon="edit" @click="gygmClick" >工艺方案更名</el-button>
|
|
|
+ <el-button type="primary" class="bt" icon="edit" @click="fjClick" >工艺方案附加</el-button>
|
|
|
+ <el-button type="primary" class="bt" icon="edit" @click="jsssxzClick" >计损色数修正</el-button>
|
|
|
+ <el-button type="primary" class="bt" icon="edit" @click="fjfpxsClick" >质检废品系数</el-button>
|
|
|
+ <el-button type="primary" class="bt" icon="edit" @click="pccstzClick" >排产参数调整</el-button>
|
|
|
+ <el-button type="primary" class="bt" icon="edit" @click="hscstzClick" >核算参数调整</el-button>
|
|
|
+ <el-button type="primary" class="bt" icon="edit" @click="addcpyj_onclick" >新增印件资料</el-button>
|
|
|
+ <el-button type="primary" class="bt" icon="edit" @click="addcpgy_onclick" >新增工艺资料</el-button>
|
|
|
+<!-- <el-button type="primary" class="bt" icon="Download" @click="cpexportToExcel" disabled>导出产品资料</el-button>-->
|
|
|
+<!-- <el-button type="primary" class="bt" icon="Download" @click="gyexportToExcel" disabled>导出工艺流程</el-button>-->
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
|
|
|
@@ -39,6 +39,34 @@
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
|
+ <!-- 产品工艺复制-->
|
|
|
+ <el-dialog v-model="cpgyfzlist" title="产品工艺复制" style="width: 35%;top: 15%;">
|
|
|
+ <el-form-item label="参照产品代号:" prop="process" class="mab">
|
|
|
+ <el-input v-model="cpgyfzformData['process']" placeholder="" style="width: 160px;"/>
|
|
|
+ <el-input v-model="cpgyfzformData['processName']" placeholder="" style="width: 360px;"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="参照工艺方案:" prop="process" class="mab">
|
|
|
+ <el-input v-model="cpgyfzformData['gongyifa']" placeholder="" style="width: 160px;"/>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
+ <el-form-item label="目标产品代号:" prop="process" class="mab">
|
|
|
+ <el-input v-model="cpgyfzformData['mubprocess']" placeholder="" style="width: 160px;"/>
|
|
|
+ <el-input v-model="cpgyfzformData['mubprocessName']" placeholder="" style="width: 360px;"/>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
+ <el-form-item label="" class="mab" >
|
|
|
+ <el-checkbox v-model="cpgyfzformData['fzgyzl']">复制工艺资料</el-checkbox>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="" class="mab" >
|
|
|
+ <el-checkbox v-model="cpgyfzformData['fzybzl']">复制印版资料</el-checkbox>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
+ <div class="dialog-footer" style="text-align: right ">
|
|
|
+ <el-button @click="cpgyfzhandleCancel">取消</el-button>
|
|
|
+ <el-button type="primary" @click="cpgyfzhandleConfirm">确定</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+
|
|
|
<!--工艺方案更名-->
|
|
|
<el-dialog v-model="gygmlist" title="工艺方案更名" style="width: 35%;top: 15%;">
|
|
|
<el-form-item label="产品代号:" prop="process" class="mab">
|
|
|
@@ -555,19 +583,19 @@
|
|
|
@row-click="tableRowClick"
|
|
|
:show-overflow-tooltip="true">
|
|
|
<el-table-column type="selection" width="30" />
|
|
|
- <el-table-column sortable align="left" label="产品编号" prop="产品编号" width="115" />
|
|
|
- <el-table-column sortable align="left" label="产品名称" prop="产品名称" width="340" />
|
|
|
- <el-table-column sortable align="left" label="版本号" prop="版本号" width="100"/>
|
|
|
- <el-table-column sortable align="left" label="成品规格" prop="成品规格" width="100" />
|
|
|
- <el-table-column sortable align="left" label="单位" prop="计量单位" width="100"/>
|
|
|
- <el-table-column sortable align="left" label="产品分类" prop="产品类别" width="100" />
|
|
|
- <el-table-column sortable align="left" label="最近接单时间" prop="receiveDate" width="160" />
|
|
|
- <el-table-column sortable align="left" label="印件数" prop="yjData" width="100" />
|
|
|
- <el-table-column sortable align="left" label="工艺" prop="gyData" width="100"/>
|
|
|
- <el-table-column sortable align="left" label="当前状态" prop="状态" width="100"/>
|
|
|
- <el-table-column sortable align="left" label="最后修改" prop="Sys_id" width="160" />
|
|
|
- <el-table-column sortable align="left" label="建档日期" prop="Sys_rq" width="160" />
|
|
|
- <el-table-column sortable align="left" label="更新日期" prop="Mod_rq" width="160" />
|
|
|
+ <el-table-column align="left" label="产品编号" prop="产品编号" width="115" />
|
|
|
+ <el-table-column align="left" label="产品名称" prop="产品名称" width="340" />
|
|
|
+ <el-table-column align="left" label="版本号" prop="版本号" width="100"/>
|
|
|
+ <el-table-column align="left" label="成品规格" prop="成品规格" width="100" />
|
|
|
+ <el-table-column align="left" label="单位" prop="计量单位" width="100"/>
|
|
|
+ <el-table-column align="left" label="产品分类" prop="产品类别" width="100" />
|
|
|
+ <el-table-column align="left" label="最近接单时间" prop="receiveDate" width="160" />
|
|
|
+ <el-table-column align="left" label="印件数" prop="yjData" width="100" />
|
|
|
+ <el-table-column align="left" label="工艺" prop="gyData" width="100"/>
|
|
|
+ <el-table-column align="left" label="当前状态" prop="状态" width="100"/>
|
|
|
+ <el-table-column align="left" label="最后修改" prop="Sys_id" width="160" />
|
|
|
+ <el-table-column align="left" label="建档日期" prop="Sys_rq" width="160" />
|
|
|
+ <el-table-column align="left" label="更新日期" prop="Mod_rq" width="160" />
|
|
|
</el-table>
|
|
|
<div class="gva-pagination">
|
|
|
<el-pagination
|
|
|
@@ -594,20 +622,20 @@
|
|
|
:header-cell-style="{ padding: '0px' }"
|
|
|
@row-dblclick="yjupdateCompanyFunc"
|
|
|
style="width: 100%;height: 40vh" border tooltip-effect="dark" :data="yjtableData" row-key="ID" @selection-change="handleSelectionChange">
|
|
|
- <el-table-column sortable type="selection" width="30" />
|
|
|
- <el-table-column sortable align="left" label="印件号" prop="yj_yjno" width="80"/>
|
|
|
- <el-table-column sortable align="left" label="印件代号" prop="yj_yjdh" width="100" />
|
|
|
- <el-table-column sortable align="left" label="印件名称" prop="yj_yjmc" width="540" />
|
|
|
- <el-table-column sortable align="left" label="纸张单号" prop="yj_zzdh" width="100"/>
|
|
|
- <el-table-column sortable align="left" label="纸张名称" prop="yj_zzmc" width="340"/>
|
|
|
- <el-table-column sortable align="left" label="投料规格" prop="yj_tlgg" width="240"/>
|
|
|
- <el-table-column sortable align="left" label="开料规格" prop="yj_klgg" width="100"/>
|
|
|
- <el-table-column sortable align="left" label="开数" prop="yj_ks" width="80" />
|
|
|
- <el-table-column sortable align="left" label="联数" prop="yj_ls" width="80" />
|
|
|
- <el-table-column sortable align="left" label="备注" prop="yj_desc" width="200" />
|
|
|
- <el-table-column sortable align="left" label="建档用户" prop="sys_id" width="130" />
|
|
|
- <el-table-column sortable align="left" label="建档日期" prop="sys_rq" width="160" />
|
|
|
- <el-table-column sortable align="left" label="更新日期" prop="mod_rq" width="160"/>
|
|
|
+ <el-table-column type="selection" width="30" />
|
|
|
+ <el-table-column align="left" label="印件号" prop="yj_yjno" width="80"/>
|
|
|
+ <el-table-column align="left" label="印件代号" prop="yj_yjdh" width="100" />
|
|
|
+ <el-table-column align="left" label="印件名称" prop="yj_yjmc" width="540" />
|
|
|
+ <el-table-column align="left" label="纸张单号" prop="yj_zzdh" width="100"/>
|
|
|
+ <el-table-column align="left" label="纸张名称" prop="yj_zzmc" width="340"/>
|
|
|
+ <el-table-column align="left" label="投料规格" prop="yj_tlgg" width="240"/>
|
|
|
+ <el-table-column align="left" label="开料规格" prop="yj_klgg" width="100"/>
|
|
|
+ <el-table-column align="left" label="开数" prop="yj_ks" width="80" />
|
|
|
+ <el-table-column align="left" label="联数" prop="yj_ls" width="80" />
|
|
|
+ <el-table-column align="left" label="备注" prop="yj_desc" width="200" />
|
|
|
+ <el-table-column align="left" label="建档用户" prop="sys_id" width="130" />
|
|
|
+ <el-table-column align="left" label="建档日期" prop="sys_rq" width="160" />
|
|
|
+ <el-table-column align="left" label="更新日期" prop="mod_rq" width="160"/>
|
|
|
</el-table>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
@@ -623,27 +651,27 @@
|
|
|
style="width: 100%;height: 40vh" border tooltip-effect="dark" :data="gytableData" row-key="ID" @selection-change="handleSelectionChange"
|
|
|
@row-click="clickybupdate">
|
|
|
<el-table-column type="selection" width="30" />
|
|
|
- <el-table-column align="left" sortable label="方案" prop="方案" width="70"/>
|
|
|
- <el-table-column align="left" sortable label="印件" prop="Gy0_yjno" width="80" />
|
|
|
- <el-table-column align="left" sortable label="工序" prop="Gy0_gxh" width="70" />
|
|
|
- <el-table-column align="left" sortable label="工序名称" prop="gy0_gxmc" width="120" />
|
|
|
- <el-table-column align="left" sortable label="工序名称" prop="add_gxmc" width="340" />
|
|
|
- <el-table-column align="left" sortable label="开数" prop="Gy0_Ks" width="70" />
|
|
|
- <el-table-column align="left" sortable label="联数" prop="Gy0_ls" width="70" />
|
|
|
- <el-table-column align="left" sortable label="备注" prop="备注" width="150" />
|
|
|
- <el-table-column align="left" sortable label="工价系数" prop="工价系数" width="100" />
|
|
|
- <el-table-column align="left" sortable label="损耗系数" prop="损耗系数" width="100" />
|
|
|
- <el-table-column align="left" sortable label="计损色数" prop="Gy0_Ms" width="100" />
|
|
|
- <el-table-column align="left" sortable label="人工检_正品版" prop="人工检_正品版" width="120" />
|
|
|
- <el-table-column align="left" sortable label="人工检_次品版" prop="人工检_正品版" width="120" />
|
|
|
- <el-table-column align="left" sortable label="人工检_废检" prop="人工检_废检" width="120"/>
|
|
|
- <el-table-column align="left" sortable label="机检_正品版" prop="机检_正品版" width="120"/>
|
|
|
- <el-table-column align="left" sortable label="机检_次品检" prop="机检_次品检" width="120"/>
|
|
|
- <el-table-column align="left" sortable label="机检_废检" prop="机检_废检" width="120"/>
|
|
|
- <el-table-column align="left" sortable label="设备编号" prop="Gy0_sbmc" width="100"/>
|
|
|
- <el-table-column align="left" sortable label="最后修改" prop="最后修改" width="160"/>
|
|
|
- <el-table-column align="left" sortable label="建档日期" prop="建档日期" width="160"/>
|
|
|
- <el-table-column align="left" sortable label="更新日期" prop="更新日期" width="160"/>
|
|
|
+ <el-table-column align="left" label="方案" prop="方案" width="70"/>
|
|
|
+ <el-table-column align="left" label="印件" prop="Gy0_yjno" width="80" />
|
|
|
+ <el-table-column align="left" label="工序" prop="Gy0_gxh" width="70" />
|
|
|
+ <el-table-column align="left" label="工序名称" prop="gy0_gxmc" width="120" />
|
|
|
+ <el-table-column align="left" label="工序名称" prop="add_gxmc" width="340" />
|
|
|
+ <el-table-column align="left" label="开数" prop="Gy0_Ks" width="70" />
|
|
|
+ <el-table-column align="left" label="联数" prop="Gy0_ls" width="70" />
|
|
|
+ <el-table-column align="left" label="备注" prop="备注" width="150" />
|
|
|
+ <el-table-column align="left" label="工价系数" prop="工价系数" width="100" />
|
|
|
+ <el-table-column align="left" label="损耗系数" prop="损耗系数" width="100" />
|
|
|
+ <el-table-column align="left" label="计损色数" prop="Gy0_Ms" width="100" />
|
|
|
+ <el-table-column align="left" label="人工检_正品版" prop="人工检_正品版" width="120" />
|
|
|
+ <el-table-column align="left" label="人工检_次品版" prop="人工检_正品版" width="120" />
|
|
|
+ <el-table-column align="left" label="人工检_废检" prop="人工检_废检" width="120"/>
|
|
|
+ <el-table-column align="left" label="机检_正品版" prop="机检_正品版" width="120"/>
|
|
|
+ <el-table-column align="left" label="机检_次品检" prop="机检_次品检" width="120"/>
|
|
|
+ <el-table-column align="left" label="机检_废检" prop="机检_废检" width="120"/>
|
|
|
+ <el-table-column align="left" label="设备编号" prop="Gy0_sbmc" width="100"/>
|
|
|
+ <el-table-column align="left" label="最后修改" prop="最后修改" width="160"/>
|
|
|
+ <el-table-column align="left" label="建档日期" prop="建档日期" width="160"/>
|
|
|
+ <el-table-column align="left" label="更新日期" prop="更新日期" width="160"/>
|
|
|
</el-table>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
@@ -658,15 +686,15 @@
|
|
|
style="width: 100%;height: 40vh" border tooltip-effect="dark" :data="ybtableData" row-key="ID" @selection-change="handleSelectionChange"
|
|
|
>
|
|
|
<el-table-column type="selection" width="30" />
|
|
|
- <el-table-column align="left" sortable label="方案" prop="YB_方案" width="70"/>
|
|
|
- <el-table-column align="left" sortable label="印件号" prop="YB_Yjno" width="80" />
|
|
|
- <el-table-column align="left" sortable label="印版类别" prop="印版类别" width="100" />
|
|
|
- <el-table-column align="left" sortable label="存货编码" prop="存货编码" width="100"/>
|
|
|
- <el-table-column align="left" sortable label="印版名称" prop="印版名称" width="440"/>
|
|
|
- <el-table-column align="left" sortable label="考核印数" prop="考核印数" width="100"/>
|
|
|
- <el-table-column align="left" sortable label="建档用户" prop="Sys_id" width="120" />
|
|
|
- <el-table-column align="left" sortable label="建档日期" prop="建档日期" width="160" />
|
|
|
- <el-table-column align="left" sortable label="更新日期" prop="更新日期" width="160" />
|
|
|
+ <el-table-column align="left" label="方案" prop="YB_方案" width="70"/>
|
|
|
+ <el-table-column align="left" label="印件号" prop="YB_Yjno" width="80" />
|
|
|
+ <el-table-column align="left" label="印版类别" prop="印版类别" width="100" />
|
|
|
+ <el-table-column align="left" label="存货编码" prop="存货编码" width="100"/>
|
|
|
+ <el-table-column align="left" label="印版名称" prop="印版名称" width="440"/>
|
|
|
+ <el-table-column align="left" label="考核印数" prop="考核印数" width="100"/>
|
|
|
+ <el-table-column align="left" label="建档用户" prop="Sys_id" width="120" />
|
|
|
+ <el-table-column align="left" label="建档日期" prop="建档日期" width="160" />
|
|
|
+ <el-table-column align="left" label="更新日期" prop="更新日期" width="160" />
|
|
|
</el-table>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
@@ -679,14 +707,14 @@
|
|
|
highlight-current-row="true"
|
|
|
style="width: 100%;height: 40vh" border tooltip-effect="dark" :data="jstableData" row-key="ID" @selection-change="handleSelectionChange">
|
|
|
<!-- <el-table-column type="selection" width="55" />-->
|
|
|
- <el-table-column align="left" sortable label="序号" prop="序号" width="120"/>
|
|
|
- <el-table-column align="left" sortable label="适用工序" prop="适用工序" width="120" />
|
|
|
- <el-table-column align="left" sortable label="备注" prop="备注" width="120" />
|
|
|
- <el-table-column align="left" sortable label="文件类型" prop="文件类型" width="120"/>
|
|
|
- <el-table-column align="left" sortable label="关联产品" prop="关联产品" width="360"/>
|
|
|
- <el-table-column align="left" sortable label="建档用户" prop="建档用户" width="120"/>
|
|
|
- <el-table-column align="left" sortable label="建档日期" prop="建档日期" width="160" />
|
|
|
- <el-table-column align="left" sortable label="更新日期" prop="更新日期" width="160" />
|
|
|
+ <el-table-column align="left" label="序号" prop="序号" width="120"/>
|
|
|
+ <el-table-column align="left" label="适用工序" prop="适用工序" width="120" />
|
|
|
+ <el-table-column align="left" label="备注" prop="备注" width="120" />
|
|
|
+ <el-table-column align="left" label="文件类型" prop="文件类型" width="120"/>
|
|
|
+ <el-table-column align="left" label="关联产品" prop="关联产品" width="360"/>
|
|
|
+ <el-table-column align="left" label="建档用户" prop="建档用户" width="120"/>
|
|
|
+ <el-table-column align="left" label="建档日期" prop="建档日期" width="160" />
|
|
|
+ <el-table-column align="left" label="更新日期" prop="更新日期" width="160" />
|
|
|
</el-table>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
@@ -860,7 +888,7 @@
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="备注说明:" prop="remark" class="mab" label-width="105px">
|
|
|
- <el-input type="textarea" v-model="yjformDataTest['yj_desc']" rows="4" placeholder="" resize="none" id="yj_desc" @keydown="yj_ent($event, '换算系数', 'yj_desc', '印件号')"/>
|
|
|
+ <el-input type="textarea" v-model="yjformDataTest['yj_desc']" rows="3" placeholder="" resize="none" id="yj_desc" @keydown="yj_ent($event, '换算系数', 'yj_desc', '印件号')"/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
@@ -938,7 +966,7 @@
|
|
|
</el-row>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
-
|
|
|
+
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="8">
|
|
|
@@ -963,16 +991,16 @@
|
|
|
<el-input v-model="add_yjzlformdata.ls" placeholder="" style="width: 140px;" id="yj_ls" @keydown="ent($event, 'yj_ks', 'yj_ls', 'yj_desc')"/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="10">
|
|
|
- <el-form-item label="换算系数(公斤到万张):" prop="address" class="mab">
|
|
|
- <el-input v-model="add_yjzlformdata.KgToPages" placeholder="" style="width: 140px;" id="yj_ls" @keydown="ent($event, 'yj_ks', 'yj_ls', 'yj_desc')"/>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="换算系数(公斤到万张):" prop="address" class="mab">
|
|
|
+ <el-input v-model="add_yjzlformdata.KgToPages" placeholder="" style="width: 140px;" id="yj_ls" @keydown="ent($event, 'yj_ks', 'yj_ls', 'yj_desc')"/>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="备注说明:" prop="remark" class="mab">
|
|
|
- <el-input v-model="add_yjzlformdata['备注说明']" type="textarea" rows="4" clearable placeholder="请输入备注说明" id="yj_desc" @keydown="ent($event, 'yj_ls', 'yj_desc', '印件号')"/>
|
|
|
+ <el-input v-model="add_yjzlformdata['备注说明']" type="textarea" rows="3" clearable placeholder="请输入备注说明" id="yj_desc" @keydown="ent($event, 'yj_ls', 'yj_desc', '印件号')"/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
@@ -986,7 +1014,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
-
|
|
|
+
|
|
|
<!-- 新增印件资料弹窗 -->
|
|
|
<!-- <el-dialog v-model="add_gdyjdialogFormVisible" :before-close="add_gdyjcloseDialog"
|
|
|
style="width: 70%;margin: 8px auto" :title="'新增印件资料'" destroy-on-close>
|
|
|
@@ -1050,7 +1078,7 @@
|
|
|
<el-input v-model="add_yjzlformdata.desc" type="textarea" resize="none" rows="3" clearable placeholder="" />
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
-
|
|
|
+
|
|
|
<template #footer>
|
|
|
<div class="dialog-footer" style="text-align: right;">
|
|
|
<el-button @click="add_dyjcloseDialog">取消</el-button>
|
|
|
@@ -1058,7 +1086,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-dialog> -->
|
|
|
-
|
|
|
+
|
|
|
<!-- 新增查询印件代码 -->
|
|
|
<el-dialog v-model="searchModel" :before-close="() => searchModel = false">
|
|
|
<el-form>
|
|
|
@@ -1075,8 +1103,8 @@
|
|
|
</div>
|
|
|
</el-form>
|
|
|
</el-dialog>
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
<!-- 新增查询印件纸张 -->
|
|
|
<el-dialog v-model="searchZhiModel" :before-close="() => searchZhiModel = false">
|
|
|
<el-form>
|
|
|
@@ -1193,7 +1221,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
-
|
|
|
+
|
|
|
<!-- 新增工艺资料 弹窗 -->
|
|
|
<el-dialog v-model="addgydialogFormVisible" :before-close="addgycloseDialog" :title="'新增工艺资料'" height="300px" width="900px" destroy-on-close>
|
|
|
<el-row>
|
|
|
@@ -1216,7 +1244,7 @@
|
|
|
<el-input v-model="add_gyformData.Gy0_ls" placeholder="" style="width: 90px;" id="Gy0_ls" @keydown="ent($event, '加工开数', 'Gy0_ls', 'gy0_site')"/>
|
|
|
</el-form-item>
|
|
|
</el-row>
|
|
|
-
|
|
|
+
|
|
|
<el-row>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="车间名称:" prop="address" class="mab">
|
|
|
@@ -1229,7 +1257,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
-
|
|
|
+
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="工序名称:" prop="address" class="mab">
|
|
|
@@ -1237,7 +1265,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
-
|
|
|
+
|
|
|
<el-row>
|
|
|
<el-form-item label="计损色数:" prop="address" class="mab">
|
|
|
<el-input v-model="add_gyformData.Gy0_Ms" placeholder="" style="width: 140px;" id="Gy0_sbbh" @keydown="ent($event, 'add_gxmc', 'Gy0_sbbh', 'sys_mc')"/>
|
|
|
@@ -1249,7 +1277,7 @@
|
|
|
<el-input v-model="add_gyformData.难度系数" placeholder="" style="width: 90px;" id="工价系数" />
|
|
|
</el-form-item>
|
|
|
</el-row>
|
|
|
-
|
|
|
+
|
|
|
<el-row>
|
|
|
<el-form-item label="标准损耗:" prop="address" class="mab">
|
|
|
<el-input v-model="add_gyformData.标准损耗" @keyup.enter="getSH()" placeholder="" style="width: 150px;" id="Gy0_shdh" />
|
|
|
@@ -1265,7 +1293,7 @@
|
|
|
<el-input v-model="add_gyformData.损耗系数" placeholder="" style="width: 90px;" id="损耗系数"/>
|
|
|
</el-form-item>
|
|
|
</el-row>
|
|
|
-
|
|
|
+
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="工序备注:" prop="remark" class="mab">
|
|
|
@@ -1293,7 +1321,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
-
|
|
|
+
|
|
|
<!-- 新增查询车间名称 -->
|
|
|
<el-dialog v-model="searchCJModel" :before-close="() => searchCJModel = false">
|
|
|
<el-form>
|
|
|
@@ -1307,11 +1335,11 @@
|
|
|
<div style="border:1px solid #eee; width:100%; height: 400px; overflow-y: auto">
|
|
|
<el-tree :data="getCJListdata" :props="defaultProps" @node-click="selectCJNode" />
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
</el-form>
|
|
|
</el-dialog>
|
|
|
-
|
|
|
+
|
|
|
<!-- 新增查询标准损耗 -->
|
|
|
<el-dialog v-model="searchSHModel" :before-close="() => searchSHModel = false">
|
|
|
<el-form>
|
|
|
@@ -1324,7 +1352,7 @@
|
|
|
</el-form-item> -->
|
|
|
<div style="border:1px solid #eee; width:100%; height: 400px; overflow-y: auto">
|
|
|
<el-tree :data="getSHListdata" :props="defaultProps" @node-click="selectSHNode" />
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</el-form>
|
|
|
</el-dialog>
|
|
|
@@ -1332,7 +1360,7 @@
|
|
|
<!-- 修改印版资料 弹窗 -->
|
|
|
<el-dialog v-model="ybdialogFormVisible" :before-close="ybcloseDialog" :title="'修改印版资料'" destroy-on-close>
|
|
|
<el-row>
|
|
|
- <el-scrollbar height="500px">
|
|
|
+ <el-scrollbar >
|
|
|
<el-form :model="ybformDataTest" label-position="right" ref="elFormRef" :rules="rule" label-width="100px" >
|
|
|
<el-row>
|
|
|
<el-col :span="8">
|
|
|
@@ -1754,6 +1782,32 @@ const fjhandleCancel = () => {
|
|
|
fjlist.value = false;
|
|
|
};
|
|
|
|
|
|
+// =========== 产品工艺复制 ===========
|
|
|
+const cpgyfzlist = ref(false);
|
|
|
+const cpgyfzformData = reactive({
|
|
|
+ process: '',
|
|
|
+ processName: '',
|
|
|
+ gongyifa:'',
|
|
|
+ mubprocess: '',
|
|
|
+ mubprocessName: '',
|
|
|
+ fzgyzl: '',
|
|
|
+ fzybzl: true,
|
|
|
+});
|
|
|
+const cpgyfzclick = async () => {
|
|
|
+ if(_product_code.value == null){
|
|
|
+ gygmlist.value = false;
|
|
|
+ ElMessage({
|
|
|
+ type: 'warning',
|
|
|
+ message: '请选择分类项目,再操作此功能'
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ cpgyfzlist.value = true;
|
|
|
+ cpgyfzformData.process = _product_code.value;
|
|
|
+ }
|
|
|
+
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
// =========== 工艺方案更名 ===========
|
|
|
const gygmlist = ref(false);
|
|
|
const _gygmstacode = ref(null);
|
|
|
@@ -1802,6 +1856,13 @@ const gygmhandleCancel = () => {gygmlist.value = false;};
|
|
|
|
|
|
// 点击工艺方案更名【执行】按钮
|
|
|
const gygmhandleConfirm = async () => {
|
|
|
+ if(gyformData.newName === ''){
|
|
|
+ ElMessage({
|
|
|
+ type: 'warning',
|
|
|
+ message: '工艺方案新名不能为空'
|
|
|
+ })
|
|
|
+ return;
|
|
|
+ }
|
|
|
gygmlist.value = false;
|
|
|
let params = {}
|
|
|
params.code = gyformData.process;
|
|
|
@@ -2127,8 +2188,8 @@ const tableRowClick = async (row) => {
|
|
|
tmp = tmp.sort((a,b)=>b-a)
|
|
|
yjzuidahaoma.value = Number(tmp[0]) + 1
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
// console.log(yjzuidahaoma.value)
|
|
|
// yjzuidahaoma.value = yjtableData.length+1
|
|
|
};
|
|
|
@@ -2366,7 +2427,7 @@ const selectZhiNode = (v) => {
|
|
|
add_yjzlformdata['zzmc'] = v.物料名称
|
|
|
console.log(v.物料代码)
|
|
|
console.log(v.物料名称)
|
|
|
-
|
|
|
+
|
|
|
} else {
|
|
|
add_yjzlformdata['zzdh' + zzdhIndex.value] = v.物料代码
|
|
|
add_yjzlformdata['zzmc' + zzdhIndex.value] = v.物料名称
|
|
|
@@ -2443,9 +2504,9 @@ const add_gdyjenterDialog = () => {
|
|
|
const res=addProductYjInfo(formattedData)
|
|
|
console.log(res)
|
|
|
// if(res.code==0){
|
|
|
-
|
|
|
+
|
|
|
// }else{
|
|
|
-
|
|
|
+
|
|
|
// }
|
|
|
// add_gdyjdialogFormVisible.value = false
|
|
|
}
|
|
|
@@ -2498,7 +2559,7 @@ const getcjmc = (code) => {
|
|
|
// if (code.key==='Tab') {
|
|
|
// setTimeout(() =>document.querySelector('#yjdhId').focus(), 50)
|
|
|
// _getCJList();
|
|
|
-
|
|
|
+
|
|
|
// }
|
|
|
_getCJList()
|
|
|
}
|
|
|
@@ -2532,10 +2593,10 @@ const _getCJList = async () => {
|
|
|
};
|
|
|
const selectCJNode = (nodeData) => {
|
|
|
console.log(nodeData.level)
|
|
|
-
|
|
|
+
|
|
|
if(nodeData.level==2){
|
|
|
console.log(nodeData.label)
|
|
|
- add_gyformData.Gy0_site=nodeData.label
|
|
|
+ add_gyformData.Gy0_site=nodeData.label
|
|
|
}
|
|
|
if(nodeData.level==3){
|
|
|
console.log(nodeData.label)
|
|
|
@@ -2561,9 +2622,9 @@ const _getSH = async () => {
|
|
|
// console.log(data)
|
|
|
// data.forEach(item => {
|
|
|
// map[item.sys_bh] = { label: `${item.sys_bh} ${item.sys_mc}`, level: 1, children: [] };
|
|
|
-
|
|
|
+
|
|
|
// });
|
|
|
-
|
|
|
+
|
|
|
|
|
|
// data.forEach(item => {
|
|
|
// if (item.Parent !== "0_") {
|
|
|
@@ -2611,9 +2672,9 @@ const addgyenterDialog = () => {
|
|
|
const res=addProductGyInfo(formattedData)
|
|
|
console.log(res)
|
|
|
if(res.code==0){
|
|
|
-
|
|
|
+
|
|
|
}else{
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
addgydialogFormVisible.value = false
|
|
|
}
|