feat:禅道235
This commit is contained in:
parent
f178953d86
commit
2f6f881ead
|
|
@ -153,6 +153,23 @@
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</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-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
</el-main>
|
</el-main>
|
||||||
|
|
@ -240,6 +257,7 @@ export default {
|
||||||
materialTracking:10,
|
materialTracking:10,
|
||||||
testitems:[],
|
testitems:[],
|
||||||
options: [],
|
options: [],
|
||||||
|
mtaskOptions:[],
|
||||||
bwItemForms: [],
|
bwItemForms: [],
|
||||||
routeOptions: [],
|
routeOptions: [],
|
||||||
materialOptions: [],
|
materialOptions: [],
|
||||||
|
|
@ -256,6 +274,7 @@ export default {
|
||||||
this.getRoute();
|
this.getRoute();
|
||||||
this.getEquipment();
|
this.getEquipment();
|
||||||
this.gettestitem();
|
this.gettestitem();
|
||||||
|
this.getMtask();
|
||||||
if(that.route_code=='tuomoceliang'){
|
if(that.route_code=='tuomoceliang'){
|
||||||
//获取指定工序的切分数量
|
//获取指定工序的切分数量
|
||||||
}
|
}
|
||||||
|
|
@ -281,6 +300,12 @@ export default {
|
||||||
this.routeOriginOptions = res;
|
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() {
|
getEquipment() {
|
||||||
let that = this;
|
let that = this;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue