|
|
|
@ -233,8 +233,31 @@ |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</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> |
|
|
|
<span slot="label" style="" class="big-label"> |
|
|
|
<a href="#" @click="getBaseList(509)">客户编码</a> |
|
|
|
@ -247,7 +270,8 @@ |
|
|
|
<template #label> |
|
|
|
<span class="big-label">客户名称</span> |
|
|
|
</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 prop="priority" :rules="rules.priority" style="margin-left: 15px"> |
|
|
|
<template #label> |
|
|
|
@ -1087,6 +1111,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
|
finalPartDesc:'', |
|
|
|
partType:'', |
|
|
|
wantedConfirmDate: new Date(), |
|
|
|
status: '', |
|
|
|
// active:'', |
|
|
|
createBy: this.$store.state.user.name, |
|
|
|
updateBy: this.$store.state.user.name, |
|
|
|
@ -2543,6 +2568,9 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
|
}, |
|
|
|
{ |
|
|
|
status: '已量产', |
|
|
|
}, |
|
|
|
{ |
|
|
|
status: '正式量产', |
|
|
|
} |
|
|
|
], |
|
|
|
userBuList: [], |
|
|
|
@ -3574,6 +3602,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
|
partType: this.modalData.partType, |
|
|
|
testPartNo: 'P000000', |
|
|
|
partDesc: '无物料', |
|
|
|
status: this.modalData.status, |
|
|
|
} |
|
|
|
if (new Date(this.modalData.needDate).getTime() < new Date().getTime()) { |
|
|
|
this.$confirm('预计完成日期小于当前日期,确定继续保存?', '提示', { |
|
|
|
|