|
|
@ -180,7 +180,12 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item :label="getColumnName('pm_service-schedtype')"> |
|
|
|
<el-input v-model="form['pm_service-schedtype']" placeholder="请输入" /> |
|
|
|
<el-select v-model="form['pm_service-schedtype']" clearable placeholder="请选择"> |
|
|
|
<el-option v-for="item in scheduTypeArray" |
|
|
|
:key="item['stdeftab-stdeftyp']" |
|
|
|
:label="item['stdeftab-bez']" |
|
|
|
:value="item['stdeftab-stdeftyp']" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="10" style="padding-right:2px"> |
|
|
@ -312,6 +317,7 @@ export default { |
|
|
|
descr: undefined |
|
|
|
}, |
|
|
|
argArray: [], |
|
|
|
scheduTypeArray: [], |
|
|
|
arg: '', |
|
|
|
// 是否未分配 |
|
|
|
isUnassign: false, |
|
|
@ -337,6 +343,9 @@ export default { |
|
|
|
this.options = getWorkshopList() |
|
|
|
this.getStanderOne({ statid: 'pm_parameter' }).then(res => { |
|
|
|
this.argArray = res.data |
|
|
|
}) |
|
|
|
this.getStanderOne({ statid: 'Scheduling_Type' }).then(res => { |
|
|
|
this.scheduTypeArray = res.data |
|
|
|
}) |
|
|
|
self = this |
|
|
|
}, |
|
|
@ -418,7 +427,7 @@ export default { |
|
|
|
} else { |
|
|
|
this.isUnassign = false |
|
|
|
} |
|
|
|
if (this.assignArray.length > 0 && this.arg) { |
|
|
|
if (this.assignArray.length > 0) { |
|
|
|
this.isAssign = true |
|
|
|
} else { |
|
|
|
this.isAssign = false |
|
|
@ -443,7 +452,7 @@ export default { |
|
|
|
this.assignArray.push(element) |
|
|
|
}) |
|
|
|
// this.isAssign = this.assignArray.length > 0 && this.arg |
|
|
|
if (this.assignArray.length > 0 && this.arg) { |
|
|
|
if (this.assignArray.length > 0) { |
|
|
|
this.isAssign = true |
|
|
|
} else { |
|
|
|
this.isAssign = false |
|
|
|