|
|
|
@ -175,7 +175,7 @@ |
|
|
|
layout="total, sizes, prev, pager, next, jumper"> |
|
|
|
</el-pagination> |
|
|
|
|
|
|
|
<el-dialog title="项目" :close-on-click-modal="false" @close="closeClear" v-drag :visible.sync="modalFlag" width="609px"> |
|
|
|
<el-dialog title="项目" :close-on-click-modal="false" @close="closeClear" v-drag :visible.sync="modalFlag" width="699px"> |
|
|
|
<!-- <el-form :inline="true" label-position="top" :model="modalData" :rules="rules" style="margin-left: 7px;margin-top: -5px;">--> |
|
|
|
<!-- <el-form-item label="是否在用" prop="active" :rules="rules.activeType">--> |
|
|
|
<!-- <el-select filterable v-model="modalData.active" style="width: 140px">--> |
|
|
|
@ -185,7 +185,10 @@ |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- </el-form>--> |
|
|
|
<el-form :inline="true" label-position="top" :model="modalData" :rules="rules" style="margin-left: 7px;margin-top: -5px;"> |
|
|
|
<el-form-item label="BU" prop="bu" :rules="rules.bu"> |
|
|
|
<el-form-item prop="bu" :rules="rules.bu"> |
|
|
|
<template #label> |
|
|
|
<span class="big-label">BU</span> |
|
|
|
</template> |
|
|
|
<el-select v-model="modalData.bu" placeholder="请选择" :disabled="modalDisableFlag" style="width: 130px"> |
|
|
|
<el-option |
|
|
|
v-for = "i in userBuList" |
|
|
|
@ -198,16 +201,28 @@ |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="项目编码" prop="projectNo" :rules="rules.projectNo" style="margin-left: 15px"> |
|
|
|
<el-form-item prop="projectNo" :rules="rules.projectNo" style="margin-left: 15px"> |
|
|
|
<template #label> |
|
|
|
<span class="big-label">项目编码</span> |
|
|
|
</template> |
|
|
|
<el-input v-model="modalData.projectNo" :disabled="modalPartDisableFlag" style="width: 130px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="项目名称" prop="projectDesc" v-if="!modalPartDisableFlag" :rules="rules.projectDesc" style="margin-left: 15px"> |
|
|
|
<el-form-item prop="projectDesc" v-if="!modalPartDisableFlag" :rules="rules.projectDesc" style="margin-left: 15px"> |
|
|
|
<template #label> |
|
|
|
<span class="big-label">项目名称</span> |
|
|
|
</template> |
|
|
|
<el-input v-model="modalData.projectDesc" :disabled="modalPartDisableFlag" style="width: 170px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="项目名称" prop="projectDesc" v-if="modalPartDisableFlag" :rules="rules.projectDesc" style="margin-left: 15px"> |
|
|
|
<el-form-item prop="projectDesc" v-if="modalPartDisableFlag" :rules="rules.projectDesc" style="margin-left: 15px"> |
|
|
|
<template #label> |
|
|
|
<span class="big-label">项目名称</span> |
|
|
|
</template> |
|
|
|
<el-input v-model="modalData.projectDesc" :disabled="modalPartDisableFlag" style="width: 294px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="区域" prop="cProjectRegion" v-if="!modalPartDisableFlag" :rules="rules.cProjectRegion" style="margin-left: 15px"> |
|
|
|
<el-form-item prop="cProjectRegion" v-if="!modalPartDisableFlag" :rules="rules.cProjectRegion" style="margin-left: 15px"> |
|
|
|
<template #label> |
|
|
|
<span class="big-label">区域</span> |
|
|
|
</template> |
|
|
|
<el-select v-model="modalData.cProjectRegion" placeholder="请选择" :disabled="modalPartDisableFlag" clearable style="width: 130px"> |
|
|
|
<el-option |
|
|
|
v-for = "i in cProjectRegionList" |
|
|
|
@ -220,16 +235,24 @@ |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" :model="modalData" :rules="rules" style="margin-left: 7px;margin-top: 5px;"> |
|
|
|
<el-form-item prop="customerNo"> |
|
|
|
<span slot="label" style=""> |
|
|
|
<a herf="#" @click="getBaseList(509)">客户编码</a> |
|
|
|
<template #label> |
|
|
|
<span slot="label" style="" class="big-label"> |
|
|
|
<a href="#" @click="getBaseList(509)">客户编码</a> |
|
|
|
<a herf="#" @click="newCustomer">(新客户)</a> |
|
|
|
</span> |
|
|
|
</template> |
|
|
|
<el-input v-model="modalData.customerNo" @blur="customerNoBlur" style="width: 130px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="客户名称" prop="customerDesc" style="margin-left: 15px"> |
|
|
|
<el-form-item prop="customerDesc" style="margin-left: -3px"> |
|
|
|
<template #label> |
|
|
|
<span class="big-label">客户名称</span> |
|
|
|
</template> |
|
|
|
<el-input v-model="modalData.customerDesc" disabled style="width: 329px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="优先级" prop="priority" :rules="rules.priority" style="margin-left: 15px"> |
|
|
|
<el-form-item prop="priority" :rules="rules.priority" style="margin-left: 15px"> |
|
|
|
<template #label> |
|
|
|
<span class="big-label">优先级</span> |
|
|
|
</template> |
|
|
|
<el-select v-model="modalData.priority" placeholder="请选择" clearable style="width: 130px"> |
|
|
|
<el-option |
|
|
|
v-for = "i in priorityList" |
|
|
|
@ -241,13 +264,22 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" v-if="this.modalData.flag !== '1' && this.modalData.flag !== '2'" label-position="top" :model="modalData" :rules="rules" style="margin-left: 7px;margin-top: 5px;"> |
|
|
|
<el-form-item label="项目料号" prop="testPartNo" :rules="rules.testPartNo" > |
|
|
|
<el-form-item prop="testPartNo" :rules="rules.testPartNo" > |
|
|
|
<template #label> |
|
|
|
<span class="big-label">项目料号</span> |
|
|
|
</template> |
|
|
|
<el-input v-model="modalData.testPartNo" style="width: 130px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="料号描述" prop="partDesc" :rules="rules.partDesc" style="margin-left: 15px"> |
|
|
|
<el-form-item prop="partDesc" :rules="rules.partDesc" style="margin-left: 15px"> |
|
|
|
<template #label> |
|
|
|
<span class="big-label">料号描述</span> |
|
|
|
</template> |
|
|
|
<el-input v-model="modalData.partDesc" style="width: 329px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="料号状态" prop="partType" :rules="rules.partType" style="margin-left: 15px"> |
|
|
|
<el-form-item prop="partType" :rules="rules.partType" style="margin-left: 15px"> |
|
|
|
<template #label> |
|
|
|
<span class="big-label">料号状态</span> |
|
|
|
</template> |
|
|
|
<el-select v-model="modalData.partType" clearable style="width: 130px"> |
|
|
|
<el-option label = "Active" value = "Active"></el-option> |
|
|
|
<el-option label = "On hold" value = "On hold"></el-option> |
|
|
|
@ -258,12 +290,17 @@ |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" :model="modalData" :rules="rules" style="margin-left: 7px;margin-top: 5px;"> |
|
|
|
<el-form-item prop="cQualityEngineer6Name" :rules="rules.cQualityEngineer6Name"> |
|
|
|
<span slot="label" style=""> |
|
|
|
<template> |
|
|
|
<span slot="label" style="" class="big-label"> |
|
|
|
<a herf="#" @click="getBaseList(2008)">IQC</a> |
|
|
|
</span> |
|
|
|
</template> |
|
|
|
<el-input v-model="modalData.cQualityEngineer6Name" disabled style="width: 130px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'立项日期:'" style="margin-left: 15px"> |
|
|
|
<el-form-item style="margin-left: 15px"> |
|
|
|
<template #label> |
|
|
|
<span class="big-label">立项日期</span> |
|
|
|
</template> |
|
|
|
<el-date-picker |
|
|
|
style="width: 130px" |
|
|
|
v-model="modalData.projectCreationDate" |
|
|
|
@ -272,7 +309,10 @@ |
|
|
|
placeholder="选择日期"> |
|
|
|
</el-date-picker> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="项目分类" prop="projectCategory" :rules="rules.projectCategory" style="margin-left: 15px"> |
|
|
|
<el-form-item prop="projectCategory" :rules="rules.projectCategory" style="margin-left: 15px"> |
|
|
|
<template #label> |
|
|
|
<span class="big-label">项目分类</span> |
|
|
|
</template> |
|
|
|
<el-select v-model="modalData.projectCategory" placeholder="请选择" clearable style="width: 170px"> |
|
|
|
<el-option |
|
|
|
v-for = "i in projectCategoryList" |
|
|
|
@ -282,7 +322,10 @@ |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'预计完成日期:'" :rules="rules.needDate" style="margin-left: 15px"> |
|
|
|
<el-form-item style="margin-left: 15px" :rules="rules.needDate"> |
|
|
|
<template #label> |
|
|
|
<span class="big-label">预计完成日期</span> |
|
|
|
</template> |
|
|
|
<el-date-picker |
|
|
|
style="width: 130px" |
|
|
|
v-model="modalData.needDate" |
|
|
|
@ -301,19 +344,19 @@ |
|
|
|
<!-- </el-form-item>--> |
|
|
|
|
|
|
|
<el-form-item label="PM/Sales" prop="projectManagerName" :rules="rules.projectManagerName"> |
|
|
|
<span slot="label" style="" @click="projectManagerFlag = true "><a herf="#">PM/Sales</a></span> |
|
|
|
<span slot="label" style="" @click="projectManagerFlag = true " class="big-label"><a herf="#">PM/Sales</a></span> |
|
|
|
<el-input v-model="modalData.projectManagerName" disabled style="width: 130px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="PjM" prop="projectOwner" :rules="rules.projectOwner" style="margin-left: 15px"> |
|
|
|
<span slot="label" style="" @click="projectOwnerFlag = true"><a herf="#">PjM</a></span> |
|
|
|
<span slot="label" style="" @click="projectOwnerFlag = true" class="big-label"><a herf="#">PjM</a></span> |
|
|
|
<el-input v-model="modalData.projectOwnerName" disabled style="width: 130px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="IPQC-Lam/Pri/Etch/Slit" prop="cQualityEngineer1Name" :rules="rules.cQualityEngineer1Name" style="margin-left: 15px"> |
|
|
|
<span slot="label" style="" @click="engineerFlag = true"><a herf="#">IPQC-Lam/Pri/Etch/Slit</a></span> |
|
|
|
<span slot="label" style="" @click="engineerFlag = true" class="big-label"><a herf="#">IPQC-Lam/Pri/Etch/Slit</a></span> |
|
|
|
<el-input v-model="modalData.cQualityEngineer1Name" disabled style="width: 170px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="IPQC-Converting" prop="cQualityEngineer2Name" :rules="rules.cQualityEngineer2Name" style="margin-left: 15px"> |
|
|
|
<span slot="label" style="" @click="IPQCFlag = true"><a herf="#">IPQC-Converting</a></span> |
|
|
|
<span slot="label" style="" @click="IPQCFlag = true" class="big-label"><a herf="#">IPQC-Converting</a></span> |
|
|
|
<el-input v-model="modalData.cQualityEngineer2Name" disabled style="width: 130px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<!-- <el-form-item prop="cQualityEngineer2" :rules="rules.cQualityEngineer2">--> |
|
|
|
@ -322,33 +365,33 @@ |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" :model="modalData" :rules="rules" style="margin-left: 7px;margin-top: 5px;"> |
|
|
|
<el-form-item label="FQC1" prop="cQualityEngineer3Name" :rules="rules.cQualityEngineer3Name"> |
|
|
|
<span slot="label" style="" @click="FQC1Flag = true"><a herf="#">FQC1</a></span> |
|
|
|
<span slot="label" style="" @click="FQC1Flag = true" class="big-label"><a herf="#">FQC1</a></span> |
|
|
|
<el-input v-model="modalData.cQualityEngineer3Name" disabled style="width: 130px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item prop="cQualityEngineer5Name" :rules="rules.cQualityEngineer5Name" style="margin-left: 15px"> |
|
|
|
<span slot="label" style=""> |
|
|
|
<span slot="label" style="" class="big-label"> |
|
|
|
<a herf="#" @click="getBaseList(2007)">FQC2</a> |
|
|
|
</span> |
|
|
|
<el-input v-model="modalData.cQualityEngineer5Name" disabled style="width: 130px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="Engineer" prop="engineerName" :rules="rules.engineerName" style="margin-left: 15px"> |
|
|
|
<span slot="label" style="" @click="engineer6Flag = true"><a herf="#">Engineer</a></span> |
|
|
|
<span slot="label" style="" @click="engineer6Flag = true" class="big-label"><a herf="#">Engineer</a></span> |
|
|
|
<el-input v-model="modalData.engineerName" disabled style="width: 170px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="MFG" prop="cManufactureEngineerName" :rules="rules.cManufactureEngineerName" style="margin-left: 15px"> |
|
|
|
<span slot="label" style="" @click="MFGlag = true"><a herf="#">MFG</a></span> |
|
|
|
<span slot="label" style="" @click="MFGlag = true" class="big-label"><a herf="#">MFG</a></span> |
|
|
|
<el-input v-model="modalData.cManufactureEngineerName" disabled style="width: 130px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" :model="modalData" :rules="rules" style="margin-left: 7px;margin-top: 5px;"> |
|
|
|
<el-form-item prop="cQualityEngineer4Name" :rules="rules.cQualityEngineer4Name"> |
|
|
|
<span slot="label" style=""> |
|
|
|
<span slot="label" style="" class="big-label"> |
|
|
|
<a herf="#" @click="getBaseList(2006)">SQE</a> |
|
|
|
</span> |
|
|
|
<el-input v-model="modalData.cQualityEngineer4Name" disabled style="width: 130px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="文档工程师" prop="docEngineerName" :rules="rules.docEngineerName" style="margin-left: 15px"> |
|
|
|
<span slot="label" style="" @click="docEngineerFlag = true"><a herf="#">文档工程师</a></span> |
|
|
|
<span slot="label" style="" @click="docEngineerFlag = true" class="big-label"><a herf="#">文档工程师</a></span> |
|
|
|
<el-input v-model="modalData.docEngineerName" disabled style="width: 130px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
@ -4051,4 +4094,8 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
|
padding: 10px; |
|
|
|
margin-bottom: 10px; |
|
|
|
} |
|
|
|
|
|
|
|
.big-label { |
|
|
|
font-size: medium; /* 调整字号 */ |
|
|
|
} |
|
|
|
</style> |