Browse Source

2025.05.26 文档收集-项目信息 项目状态可编辑

java8
jiayang yue 8 months ago
parent
commit
763c63df6e
  1. 35
      src/views/modules/eam/eamProjectInfo.vue

35
src/views/modules/eam/eamProjectInfo.vue

@ -233,8 +233,31 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-form :inline="true" label-position="top" :model="modalData" :rules="rules" style="margin-left: 7px;margin-top: 20px;">
<el-form-item prop="customerNo">
<el-form :inline="true" label-position="top" :model="modalData" :rules="rules"
style="margin-left: 7px;margin-top: 20px;">
<el-form-item prop="status" v-if="this.modalData.flag === '2'">
<template #label>
<span class="big-label">项目状态</span>
</template>
<el-select v-model="modalData.status" placeholder="请选择" style="width: 151px">
<el-option
v-for = "i in statusList"
:key = "i.status"
:label = "i.status"
:value = "i.status">
</el-option>
</el-select>
</el-form-item>
<el-form-item prop="customerNo" style="margin-left: 15px" v-if="this.modalData.flag === '2'">
<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: 151px"></el-input>
</el-form-item>
<el-form-item prop="customerNo" v-else>
<template #label> <template #label>
<span slot="label" style="" class="big-label"> <span slot="label" style="" class="big-label">
<a href="#" @click="getBaseList(509)">客户编码</a> <a href="#" @click="getBaseList(509)">客户编码</a>
@ -247,7 +270,8 @@
<template #label> <template #label>
<span class="big-label">客户名称</span> <span class="big-label">客户名称</span>
</template> </template>
<el-input v-model="modalData.customerDesc" disabled style="width: 371px"></el-input>
<el-input v-model="modalData.customerDesc" v-if="this.modalData.flag === '2'" disabled style="width: 191px"></el-input>
<el-input v-model="modalData.customerDesc" v-else disabled style="width: 371px"></el-input>
</el-form-item> </el-form-item>
<el-form-item prop="priority" :rules="rules.priority" style="margin-left: 15px"> <el-form-item prop="priority" :rules="rules.priority" style="margin-left: 15px">
<template #label> <template #label>
@ -1087,6 +1111,7 @@ import {updateColumnSize} from "../../../api/table";
finalPartDesc:'', finalPartDesc:'',
partType:'', partType:'',
wantedConfirmDate: new Date(), wantedConfirmDate: new Date(),
status: '',
// active:'', // active:'',
createBy: this.$store.state.user.name, createBy: this.$store.state.user.name,
updateBy: this.$store.state.user.name, updateBy: this.$store.state.user.name,
@ -2543,6 +2568,9 @@ import {updateColumnSize} from "../../../api/table";
}, },
{ {
status: '已量产', status: '已量产',
},
{
status: '正式量产',
} }
], ],
userBuList: [], userBuList: [],
@ -3574,6 +3602,7 @@ import {updateColumnSize} from "../../../api/table";
partType: this.modalData.partType, partType: this.modalData.partType,
testPartNo: 'P000000', testPartNo: 'P000000',
partDesc: '无物料', partDesc: '无物料',
status: this.modalData.status,
} }
if (new Date(this.modalData.needDate).getTime() < new Date().getTime()) { if (new Date(this.modalData.needDate).getTime() < new Date().getTime()) {
this.$confirm('预计完成日期小于当前日期,确定继续保存?', '提示', { this.$confirm('预计完成日期小于当前日期,确定继续保存?', '提示', {

Loading…
Cancel
Save