|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<el-col :span="16" :offset="6">
|
|
|
<el-form label-width="100px" ref="formRef" :model="form">
|
|
|
- <el-form-item
|
|
|
+ <!-- <el-form-item
|
|
|
label="采购员"
|
|
|
prop="technicianId"
|
|
|
style="margin-bottom: 20px"
|
|
|
@@ -25,7 +25,7 @@
|
|
|
:value="item.id"
|
|
|
/>
|
|
|
</el-select>
|
|
|
- </el-form-item>
|
|
|
+ </el-form-item> -->
|
|
|
<el-form-item
|
|
|
label="审批建议"
|
|
|
|
|
|
@@ -105,7 +105,7 @@
|
|
|
data() {
|
|
|
return {
|
|
|
form: {
|
|
|
- technicianId: '',
|
|
|
+ // technicianId: '',
|
|
|
reason: ''
|
|
|
},
|
|
|
userOptions: []
|
|
|
@@ -121,10 +121,10 @@
|
|
|
async handleAudit(status, type) {
|
|
|
//生产主管审批选择技术员
|
|
|
|
|
|
- if (!this.form.technicianId && status == 1) {
|
|
|
- this.$message.warning(`请选择采购员!`);
|
|
|
- return;
|
|
|
- }
|
|
|
+ // if (!this.form.technicianId && status == 1) {
|
|
|
+ // this.$message.warning(`请选择采购员!`);
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
|
|
|
this._approveTaskWithVariables(status);
|
|
|
},
|