feat:禅道235

This commit is contained in:
shijing 2026-01-06 16:55:05 +08:00
parent f178953d86
commit 2f6f881ead
1 changed files with 25 additions and 0 deletions

View File

@ -153,6 +153,23 @@
</el-select>
</el-form-item>
</el-col>
<el-col :md="12" :sm="12" :xs="24">
<el-form-item label="绑定任务:">
<el-select
v-model="form.mtask"
placeholder="工艺路线"
clearable
style="width: 100%"
>
<el-option
v-for="item in mtaskOptions"
:key="item.id"
:label="item.number"
:value="item.id"
></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-main>
@ -240,6 +257,7 @@ export default {
materialTracking:10,
testitems:[],
options: [],
mtaskOptions:[],
bwItemForms: [],
routeOptions: [],
materialOptions: [],
@ -256,6 +274,7 @@ export default {
this.getRoute();
this.getEquipment();
this.gettestitem();
this.getMtask();
if(that.route_code=='tuomoceliang'){
//
}
@ -281,6 +300,12 @@ export default {
this.routeOriginOptions = res;
});
},
getMtask(){
let that = this;
this.$API.pm.mtask.list.req({ page: 0, mgroup: that.mgroup, state: 20 }).then((res) => {
that.mtaskOptions = res;
});
},
//
getEquipment() {
let that = this;