|
|
|
|
@ -94,7 +94,7 @@ |
|
|
|
|
<el-input disabled style="width:98%;" placeholder="请输入需求单号" v-model="addForm.requirementCode"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="提报单位" prop="reportUnit"> |
|
|
|
|
<el-input disabled style="width:98%;" placeholder="请输入提报单位" v-model="addForm.reportUnit"></el-input> |
|
|
|
|
<el-input disabled style="width:98%;" placeholder="请输入提报单位" v-model="addForm.reportUnitName"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="故障现象描述" prop="faultDescribe"> |
|
|
|
|
<el-input placeholder="请输入故障现象描述" :disabled="role_id != '1839536982874193922'" type="textarea" |
|
|
|
|
@ -362,7 +362,7 @@ |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="productId" align="center" label="物料名称"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-select @change="((val) => { changeProduct(val, scope.$index) })" |
|
|
|
|
@blur="((val) => { changeProduct(val, scope.$index) })" v-loadmore="loadmoreProduct" |
|
|
|
|
v-model="scope.row.productId" filterable remote :remote-method="remoteMethodProduct" |
|
|
|
|
@ -651,7 +651,7 @@ export default { |
|
|
|
|
{ |
|
|
|
|
label: "提报单位", |
|
|
|
|
labelWidth: 120, |
|
|
|
|
prop: "reportUnit", |
|
|
|
|
prop: "reportUnitName", |
|
|
|
|
search: true, |
|
|
|
|
overHidden: true, |
|
|
|
|
}, |
|
|
|
|
@ -1029,7 +1029,7 @@ export default { |
|
|
|
|
}) |
|
|
|
|
console.log('tableData----------->', this.tableData) |
|
|
|
|
console.log('productLists----------->', this.productLists) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
this.tableData = [] |
|
|
|
|
this.repairVisible = true |
|
|
|
|
@ -1642,18 +1642,18 @@ export default { |
|
|
|
|
customerOpinion: this.addForm.customerOpinion, |
|
|
|
|
remark: this.addForm.remark, |
|
|
|
|
} |
|
|
|
|
editData(query).then(res =>{ |
|
|
|
|
if(res.data.code == 200){ |
|
|
|
|
serviceman(manQuery).then(result =>{ |
|
|
|
|
if (result.data.code == 200) { |
|
|
|
|
this.$message.success('派单成功') |
|
|
|
|
this.dialogVisible = false |
|
|
|
|
this.onLoad() |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
// editData(query).then(res =>{ |
|
|
|
|
// if(res.data.code == 200){ |
|
|
|
|
// serviceman(manQuery).then(result =>{ |
|
|
|
|
// if (result.data.code == 200) { |
|
|
|
|
// this.$message.success('派单成功') |
|
|
|
|
// this.dialogVisible = false |
|
|
|
|
// this.onLoad() |
|
|
|
|
// } |
|
|
|
|
// }) |
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
// }) |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
query = { |
|
|
|
|
@ -1667,7 +1667,7 @@ export default { |
|
|
|
|
remark: this.addForm.remark, |
|
|
|
|
customerOpinion: this.addForm.customerOpinion |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.addForm.isNeedMaterials == 1) { |
|
|
|
|
if (this.materialsData.find(item => item.applyNum == 0)) { |
|
|
|
|
@ -1725,7 +1725,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// else { |
|
|
|
|
// if(this.role_id == '1839536982874193922'){ |
|
|
|
|
// serviceman(query).then(res =>{ |
|
|
|
|
@ -1746,7 +1746,7 @@ export default { |
|
|
|
|
// } |
|
|
|
|
// }) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
|