|
|
|
|
@ -110,9 +110,7 @@ |
|
|
|
|
clearable |
|
|
|
|
filterable |
|
|
|
|
> |
|
|
|
|
<el-option label="镀种一" value="1" /> |
|
|
|
|
<el-option label="镀种二" value="2" /> |
|
|
|
|
<el-option label="镀种三" value="3" /> |
|
|
|
|
<el-option v-for="item in plateList" :label="item.label" :value="item.value"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
@ -135,9 +133,7 @@ |
|
|
|
|
clearable |
|
|
|
|
filterable |
|
|
|
|
> |
|
|
|
|
<el-option label="镀种一" value="1" /> |
|
|
|
|
<el-option label="镀种二" value="2" /> |
|
|
|
|
<el-option label="镀种三" value="3" /> |
|
|
|
|
<el-option v-for="item in plateList" :label="item.plating" :value="item.id"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
@ -329,7 +325,7 @@ |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
<script> |
|
|
|
|
import { getPartDetail, authorizedAccomplish } from '@/api/processManagement/taskProcessing'; |
|
|
|
|
import { getPartDetail, authorizedAccomplish,getPlatingList } from '@/api/processManagement/taskProcessing'; |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
components: {}, |
|
|
|
|
@ -551,6 +547,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
partType: '', |
|
|
|
|
loading: false, |
|
|
|
|
plateList:[],// |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
created() {}, |
|
|
|
|
@ -558,8 +555,14 @@ export default { |
|
|
|
|
this.disabled = this.dialogType == 'view' ? true : false; |
|
|
|
|
// this.formData = this.dsPartInfo; |
|
|
|
|
this.getPartDetails(); |
|
|
|
|
this.getPlatingList() |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
getPlatingList(){ |
|
|
|
|
getPlatingList().then(res => { |
|
|
|
|
this.plateList = res.data.data; |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
// 获取零件信息详情数据 |
|
|
|
|
getPartDetails() { |
|
|
|
|
getPartDetail(this.partId).then(res => { |
|
|
|
|
|