|
|
|
@ -3,11 +3,23 @@ |
|
|
|
|
|
|
|
<!-- 查询条件 --> |
|
|
|
<el-form :inline="true" label-position="top" :model="searchData"> |
|
|
|
<el-form-item label="物料编码"> |
|
|
|
<el-input v-model="searchData.partNo" clearable style="width: 120px"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="物料名称"> |
|
|
|
<el-input v-model="searchData.partDesc" clearable style="width: 150px"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="客户编码"> |
|
|
|
<el-input v-model="searchData.customerId" clearable style="width: 120px"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="客户名称"> |
|
|
|
<el-input v-model="searchData.customerDesc" clearable style="width: 150px"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="项目编码"> |
|
|
|
<el-input v-model="searchData.projectId" clearable style="width: 120px"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="项目名称"> |
|
|
|
<el-input v-model="searchData.projectDesc" clearable style="width: 200px"/> |
|
|
|
<el-input v-model="searchData.projectDesc" clearable style="width: 150px"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="技术参数卡编码"> |
|
|
|
<el-input v-model="searchData.codeNo" clearable style="width: 120px"/> |
|
|
|
@ -197,10 +209,11 @@ |
|
|
|
prop="" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
min-width="90" |
|
|
|
min-width="170" |
|
|
|
label="新物料编码"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input :ref="`newPartNo${scope.$index}`" v-model="scope.row.newPartNo" @keyup.enter.native="focusNextInput(scope.$index, 'newPartNo')" style="height: 11px;padding: 0px " allow-create>;width:98%"></el-input> |
|
|
|
<el-button type="primary" @click="choosePartNo(scope.row)" style="width:18%;padding: 3px 7px">· · ·</el-button> |
|
|
|
<el-input @input="(val)=>partInput(scope.row, val)" :ref="`newPartNo${scope.$index}`" v-model="scope.row.newPartNo" @keyup.enter.native="focusNextInput(scope.$index, 'newPartNo')" style="width:77%"></el-input> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
@ -210,7 +223,7 @@ |
|
|
|
min-width="90" |
|
|
|
label="新图纸编码"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input :ref="`newDrawingNo${scope.$index}`" v-model="scope.row.newDrawingNo" @keyup.enter.native="focusNextInput(scope.$index, 'newDrawingNo')" style="height: 11px;padding: 0px " allow-create>;width:98%"></el-input> |
|
|
|
<el-input :ref="`newDrawingNo${scope.$index}`" v-model="scope.row.newDrawingNo" @keyup.enter.native="focusNextInput(scope.$index, 'newDrawingNo')" style="width:98%"></el-input> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
@ -220,7 +233,7 @@ |
|
|
|
min-width="90" |
|
|
|
label="新图稿编码"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input :ref="`newDraftNo${scope.$index}`" v-model="scope.row.newDraftNo" @keyup.enter.native="focusNextInput(scope.$index, 'newDraftNo')" style="height: 11px;padding: 0px " allow-create>;width:98%"></el-input> |
|
|
|
<el-input :ref="`newDraftNo${scope.$index}`" v-model="scope.row.newDraftNo" @keyup.enter.native="focusNextInput(scope.$index, 'newDraftNo')" style="width:98%"></el-input> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
@ -654,9 +667,14 @@ |
|
|
|
pageSize: 50, |
|
|
|
totalPage: 0, |
|
|
|
activeName: 'basicInformation', |
|
|
|
tempPartRow: {}, |
|
|
|
// 条件查询 |
|
|
|
searchData: { |
|
|
|
site: this.$store.state.user.site, |
|
|
|
partNo: '', |
|
|
|
partDesc: '', |
|
|
|
customerId: '', |
|
|
|
customerDesc: '', |
|
|
|
projectId: '', |
|
|
|
projectDesc: '', |
|
|
|
codeNo: '', |
|
|
|
@ -799,6 +817,38 @@ |
|
|
|
fixed: '', |
|
|
|
columnWidth: 80 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 108001, |
|
|
|
serialNumber: '108001Table1PartNo', |
|
|
|
tableId: '108001Table1', |
|
|
|
tableName: '技术参数卡', |
|
|
|
columnProp: 'partNo', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '物料编码', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 108001, |
|
|
|
serialNumber: '108001Table1PartDesc', |
|
|
|
tableId: '108001Table1', |
|
|
|
tableName: '技术参数卡', |
|
|
|
columnProp: 'partDesc', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'left', |
|
|
|
columnLabel: '物料名称', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 180 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 108001, |
|
|
|
@ -1365,6 +1415,15 @@ |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
|
|
|
|
partInput (row, val) { |
|
|
|
row.newPartNo = val.toUpperCase() |
|
|
|
}, |
|
|
|
|
|
|
|
choosePartNo (row) { |
|
|
|
this.tempPartRow = row |
|
|
|
this.getBaseList(133) |
|
|
|
}, |
|
|
|
|
|
|
|
ecnTypeHeaderChange (val,index) { |
|
|
|
if (val === 'Y') { |
|
|
|
for (let i = 0; i < this.form[index].list.length; i++) { |
|
|
|
@ -2101,6 +2160,9 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (val === 133) { |
|
|
|
strVal = this.tempPartRow.newPartNo |
|
|
|
} |
|
|
|
this.$refs.baseList.init(val, strVal) |
|
|
|
}) |
|
|
|
}, |
|
|
|
@ -2129,6 +2191,9 @@ |
|
|
|
//this.$set(this.costImpactData,'affectedExecutorName',val.user_display) |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.tagNo === 133) { |
|
|
|
this.tempPartRow.newPartNo = val.part_no |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
// ======== 导出相关方法 ======== |
|
|
|
|