|
|
|
|
@ -141,7 +141,7 @@ |
|
|
|
|
<el-option |
|
|
|
|
v-for="(item, index) in processSetOption" |
|
|
|
|
:key="index" |
|
|
|
|
:label="item.name" |
|
|
|
|
:label="`${item.code}-${item.name}`" |
|
|
|
|
:value="item.id" |
|
|
|
|
></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
@ -167,7 +167,7 @@ |
|
|
|
|
<el-option |
|
|
|
|
v-for="(item, index) in craftAbilityOption" |
|
|
|
|
:key="index" |
|
|
|
|
:label="item.caName" |
|
|
|
|
:label="`${item.caCode}-${item.caName}`" |
|
|
|
|
:value="item.id" |
|
|
|
|
></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
@ -175,9 +175,6 @@ |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="makeMemo" label="工序描述"> |
|
|
|
|
<template #header> |
|
|
|
|
<span><i style="color: red">*</i>工序描述</span> |
|
|
|
|
</template> |
|
|
|
|
<template #default="scope"> |
|
|
|
|
<el-form-item |
|
|
|
|
:prop="`tableData1[${scope.$index}].processInfo.makeMemo`" |
|
|
|
|
@ -302,7 +299,7 @@ |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="(item, index) in projectOptions" |
|
|
|
|
:label="item.name" |
|
|
|
|
:label="`${item.code}-${item.name}`" |
|
|
|
|
:value="item.id" |
|
|
|
|
></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
@ -327,7 +324,7 @@ |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="(item, index) in standardList" |
|
|
|
|
:label="item.name" |
|
|
|
|
:label="`${item.code}-${item.name}`" |
|
|
|
|
:value="item.id" |
|
|
|
|
></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
@ -639,7 +636,6 @@ export default { |
|
|
|
|
proDes: [{ required: true, message: '请选择', trigger: ['change', 'submit'] }], |
|
|
|
|
proHours: [{ required: true, message: '请输入', trigger: ['change', 'submit'] }], |
|
|
|
|
cruxProcess: [{ required: true, message: '请选择', trigger: ['change', 'submit'] }], |
|
|
|
|
makeMemo: [{ required: true, message: '请选择', trigger: ['change', 'submit'] }], |
|
|
|
|
}, |
|
|
|
|
formRules2: { |
|
|
|
|
trialNo: [{ required: true, message: '请输入', trigger: ['change', 'submit'] }], |
|
|
|
|
@ -761,7 +757,10 @@ export default { |
|
|
|
|
processChange(row, index) { |
|
|
|
|
let selectName = this.processSetOption.find(item => item.id == row.processInfo.ppsId); |
|
|
|
|
this.form1.tableData1[index].processInfo.ppsName = selectName.name; |
|
|
|
|
if (this.form1.tableData1[index].processName&&this.form1.tableData1[index].processName.indexOf('涂色标') > -1) { |
|
|
|
|
if ( |
|
|
|
|
this.form1.tableData1[index].processName && |
|
|
|
|
this.form1.tableData1[index].processName.indexOf('涂色标') > -1 |
|
|
|
|
) { |
|
|
|
|
// tsbNum 涂色标个数 tsdNum 涂色带个数 涂箭头个数 |
|
|
|
|
let sum_ = 0; |
|
|
|
|
if (this.partInfoData.tsbNum) { |
|
|
|
|
@ -914,7 +913,9 @@ export default { |
|
|
|
|
label: `${craftInfo?.reworkOrder || '返工单'}`, |
|
|
|
|
rawData: craftInfo, |
|
|
|
|
children: processList.map(process => { |
|
|
|
|
process.processInfo.cruxProcess = process.processInfo.cruxProcess ? process.processInfo.cruxProcess : process.processInfo.isMain; |
|
|
|
|
process.processInfo.cruxProcess = process.processInfo.cruxProcess |
|
|
|
|
? process.processInfo.cruxProcess |
|
|
|
|
: process.processInfo.isMain; |
|
|
|
|
const ppsName = |
|
|
|
|
process.processInfo.ppsName || |
|
|
|
|
process.processInfo.name || |
|
|
|
|
@ -931,7 +932,7 @@ export default { |
|
|
|
|
|
|
|
|
|
return { |
|
|
|
|
...process, |
|
|
|
|
label: ppsNo+'-'+ppsName, |
|
|
|
|
label: ppsNo + '-' + ppsName, |
|
|
|
|
rawData: { |
|
|
|
|
partCode: partInfo.partCode, |
|
|
|
|
partId: partInfo.id, |
|
|
|
|
@ -1203,7 +1204,7 @@ export default { |
|
|
|
|
processMeasuringToolDeleteIds: this.form3.deleteIds, //量具删除id |
|
|
|
|
processMoldToolDeleteIds: this.form4.deleteIds, //工装删除合集 |
|
|
|
|
}; |
|
|
|
|
console.log(999999,query_) |
|
|
|
|
console.log(999999, query_); |
|
|
|
|
reworkAuthorizedAccomplish(query_).then(res => { |
|
|
|
|
this.$message.success('保存成功'); |
|
|
|
|
this.craftLoading = false; |
|
|
|
|
|