feat:禅道235
This commit is contained in:
parent
f178953d86
commit
2f6f881ead
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue