|
|
|
@ -61,6 +61,7 @@ |
|
|
|
fixed="right" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a type="text" size="small" @click="jumpDetail(scope.row)">详情</a> |
|
|
|
<a type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">修改</a> |
|
|
|
<a type="text" size="small" @click="deleteData(scope.row)">删除</a> |
|
|
|
</template> |
|
|
|
@ -105,122 +106,166 @@ |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" > |
|
|
|
<el-form-item :label="'ECN变更'"> |
|
|
|
<el-input v-model="infoData.ecnFlag" readonly style="width: 130px" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'ECN单据号'"> |
|
|
|
<el-input v-model="infoData.ecnNo" readonly style="width: 206px" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'ECN文档链接'"> |
|
|
|
<el-input v-model="infoData.ecnAddress" readonly style="width: 564px" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" > |
|
|
|
<el-form-item :label="'报价员'"> |
|
|
|
<el-input v-model="infoData.quotationOfficer" readonly style="width: 300px" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'工程师'"> |
|
|
|
<el-input v-model="infoData.engineer" readonly style="width: 300px" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'技术员'"> |
|
|
|
<el-input v-model="infoData.technician" readonly style="width: 300px" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" style="height: 70px"> |
|
|
|
<el-form-item :label="'备注信息'"> |
|
|
|
<el-input |
|
|
|
type="textarea" |
|
|
|
v-model="infoData.remark " |
|
|
|
:rows="3" |
|
|
|
resize='none' |
|
|
|
maxlength="120" |
|
|
|
show-word-limit |
|
|
|
readonly |
|
|
|
style="width: 926px;height: 60px"> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="6"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'ECN变更'"> |
|
|
|
<el-input v-model="infoData.ecnFlag" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="6"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'ECN单据号'"> |
|
|
|
<el-input v-model="infoData.ecnNo" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="12"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'ECN文档链接'"> |
|
|
|
<el-input v-model="infoData.ecnAddress" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
</el-row> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="8"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'报价员'"> |
|
|
|
<el-input v-model="infoData.quotationOfficer" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="8"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'工程师'"> |
|
|
|
<el-input v-model="infoData.engineer" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="8"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'技术员'"> |
|
|
|
<el-input v-model="infoData.technician" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
</el-row> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="24"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'备注信息'" style="height: 70px"> |
|
|
|
<el-input |
|
|
|
type="textarea" |
|
|
|
v-model="infoData.remark " |
|
|
|
:rows="3" |
|
|
|
resize='none' |
|
|
|
maxlength="120" |
|
|
|
show-word-limit |
|
|
|
readonly |
|
|
|
style="height: 60px"> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="客户信息" name="customerInfo"> |
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" > |
|
|
|
<el-form-item :label="'客户代码'"> |
|
|
|
<el-input v-model="customerData.customerId" readonly style="width: 150px" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'客户名称'"> |
|
|
|
<el-input v-model="customerData.customerDesc" readonly style="width: 150px" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'客户描述'"> |
|
|
|
<el-input v-model="customerData.customerDescription" readonly style="width: 600px" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" > |
|
|
|
<el-form-item :label="'终端客户'"> |
|
|
|
<el-input v-model="customerData.finalCustomer" readonly style="width: 150px" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'直接客户'"> |
|
|
|
<el-input v-model="customerData.finalCustomer" readonly style="width: 150px" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'客户版本'"> |
|
|
|
<el-input v-model="customerData.finalCustomer" readonly style="width: 150px" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'需要的认证'"> |
|
|
|
<el-input v-model="customerData.finalCustomer" readonly style="width: 150px" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" style="height: 70px"> |
|
|
|
<el-form-item :label="'客户要求'"> |
|
|
|
<el-input |
|
|
|
type="textarea" |
|
|
|
v-model="customerData.customerRemark " |
|
|
|
:rows="3" |
|
|
|
resize='none' |
|
|
|
maxlength="120" |
|
|
|
show-word-limit |
|
|
|
readonly |
|
|
|
style="width: 926px;height: 60px"> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" style="margin-top: 15px"> |
|
|
|
<el-form-item :label="'客户图纸'"> |
|
|
|
<el-input v-model="customerData.finalCustomer" readonly style="width: 926px" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" > |
|
|
|
<el-form-item :label="'客户图纸变更说明'"> |
|
|
|
<el-input v-model="customerData.finalCustomer" readonly style="width: 926px" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" style="height: 70px"> |
|
|
|
<el-form-item :label="'转量产附档说明'"> |
|
|
|
<el-input |
|
|
|
type="textarea" |
|
|
|
v-model="customerData.finalCustomer " |
|
|
|
:rows="3" |
|
|
|
resize='none' |
|
|
|
maxlength="120" |
|
|
|
show-word-limit |
|
|
|
readonly |
|
|
|
style="width: 926px;height: 60px"> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" style="height: 70px;margin-top: 15px"> |
|
|
|
<el-form-item :label="'其他特殊要求'"> |
|
|
|
<el-input |
|
|
|
type="textarea" |
|
|
|
v-model="customerData.remark " |
|
|
|
:rows="3" |
|
|
|
resize='none' |
|
|
|
maxlength="120" |
|
|
|
show-word-limit |
|
|
|
readonly |
|
|
|
style="width: 926px;height: 60px"> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form label-position="top" label-width="100px" > |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="6"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'客户代码'"> |
|
|
|
<el-input v-model="customerData.customerId" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="6"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'客户名称'"> |
|
|
|
<el-input v-model="customerData.customerDesc" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="12"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'客户描述'"> |
|
|
|
<el-input v-model="customerData.customerDescription" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
</el-row> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="6"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'终端客户'"> |
|
|
|
<el-input v-model="customerData.finalCustomer" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="6"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'直接客户'"> |
|
|
|
<el-input v-model="customerData.finalCustomer" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="6"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'客户版本'"> |
|
|
|
<el-input v-model="customerData.finalCustomer" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="6"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'需要的认证'"> |
|
|
|
<el-input v-model="customerData.finalCustomer" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
</el-row> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="24"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'客户要求'" style="height: 70px"> |
|
|
|
<el-input |
|
|
|
type="textarea" |
|
|
|
v-model="customerData.customerRemark " |
|
|
|
:rows="3" |
|
|
|
resize='none' |
|
|
|
maxlength="120" |
|
|
|
show-word-limit |
|
|
|
readonly |
|
|
|
style=";height: 60px"> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
</el-row> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="24"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'客户图纸'" style="margin-top: 15px"> |
|
|
|
<el-input v-model="customerData.finalCustomer" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
</el-row> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="24"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'客户图纸变更说明'"> |
|
|
|
<el-input v-model="customerData.finalCustomer" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="24"><div class="grid-content bg-purple" > |
|
|
|
<el-form-item :label="'转量产附档说明'" style="height: 70px"> |
|
|
|
<el-input |
|
|
|
type="textarea" |
|
|
|
v-model="customerData.finalCustomer " |
|
|
|
:rows="3" |
|
|
|
resize='none' |
|
|
|
maxlength="120" |
|
|
|
show-word-limit |
|
|
|
readonly |
|
|
|
style="height: 60px"> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="24"><div class="grid-content bg-purple" > |
|
|
|
<el-form-item :label="'其他特殊要求'" style="height: 70px;margin-top: 15px"> |
|
|
|
<el-input |
|
|
|
type="textarea" |
|
|
|
v-model="customerData.remark " |
|
|
|
:rows="3" |
|
|
|
resize='none' |
|
|
|
maxlength="120" |
|
|
|
show-word-limit |
|
|
|
readonly |
|
|
|
style="height: 60px"> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <el-form :inline="true" label-position="top" label-width="100px" style="height: 70px;margin-top: 15px">--> |
|
|
|
<!-- <el-form-item :label="'客户应用/要求'">--> |
|
|
|
<!-- <el-input--> |
|
|
|
@ -246,6 +291,7 @@ |
|
|
|
import { |
|
|
|
getTechnicalCustomerInfoData, |
|
|
|
technicalSpecificationListSearch, |
|
|
|
deleteTechnicalSpecificationList, |
|
|
|
} from "@/api/sampleManagement/technicalSpecificationList.js" |
|
|
|
import Chooselist from '@/views/modules/common/Chooselist' |
|
|
|
import AddOrUpdate from './com_technical-add-or-update' |
|
|
|
@ -658,18 +704,25 @@ |
|
|
|
this.$refs.addOrUpdate.init(id) |
|
|
|
}) |
|
|
|
}, |
|
|
|
jumpDetail(row){ |
|
|
|
let inData={ |
|
|
|
site:this.$store.state.user.site, |
|
|
|
codeNo:row.codeNo, |
|
|
|
username:this.$store.state.user.name}; |
|
|
|
localStorage.setItem('tsfData', JSON.stringify(inData)) |
|
|
|
this.$router.replace('sampleManagement-technicalSpecificationDetail/technicalSpecificationDetail') |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
deleteData(){ |
|
|
|
deleteData(row){ |
|
|
|
this.$confirm('确定要删除这条数据?', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
deleteProjectPartWithId(this.dataForm).then(({data}) => { |
|
|
|
deleteTechnicalSpecificationList(row).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
this.$message.success( '操作成功') |
|
|
|
this.searchTable(); |
|
|
|
this.search(); |
|
|
|
} else { |
|
|
|
this.$message.error(data.msg) |
|
|
|
} |