|
|
@ -47,6 +47,7 @@ |
|
|
|
v-model="form.workshop_code" |
|
|
|
placeholder="请选择" |
|
|
|
style="width: 240px;" |
|
|
|
disabled |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in workShopList" |
|
|
@ -56,16 +57,17 @@ |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="配置编码" prop="config_code"> |
|
|
|
<el-input v-model="form.config_code" style="width: 240px;" /> |
|
|
|
<el-input v-model="form.config_code" disabled style="width: 240px;" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="配置名称"> |
|
|
|
<el-input v-model="form.config_name" style="width: 240px;" /> |
|
|
|
<el-input v-model="form.config_name" disabled style="width: 240px;" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="任务取放类型"> |
|
|
|
<el-form-item label="任务取放类型" > |
|
|
|
<el-select |
|
|
|
v-model="form.task_qf_type" |
|
|
|
size="mini" |
|
|
|
placeholder="任务取放类型" |
|
|
|
disabled |
|
|
|
style="width: 240px;" |
|
|
|
> |
|
|
|
<el-option |
|
|
@ -80,6 +82,7 @@ |
|
|
|
v-model="form.acs_task_type" |
|
|
|
size="mini" |
|
|
|
placeholder="acs任务类型" |
|
|
|
disabled |
|
|
|
style="width: 240px;" |
|
|
|
> |
|
|
|
<el-option |
|
|
@ -90,16 +93,16 @@ |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="任务名字"> |
|
|
|
<el-input v-model="form.task_name" style="width: 240px;" /> |
|
|
|
<el-input v-model="form.task_name" disabled style="width: 240px;" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="任务类型"> |
|
|
|
<el-input v-model="form.task_type" style="width: 240px;" /> |
|
|
|
<el-input v-model="form.task_type" disabled style="width: 240px;" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="优先级" pro="priority"> |
|
|
|
<el-input-number |
|
|
|
v-model.number="form.priority" |
|
|
|
:min="1" |
|
|
|
:max="999" |
|
|
|
:max="100" |
|
|
|
style="width: 240px;" |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
@ -107,12 +110,12 @@ |
|
|
|
<el-input-number |
|
|
|
v-model.number="form.task_create_max_num" |
|
|
|
:min="1" |
|
|
|
:max="999" |
|
|
|
:max="100" |
|
|
|
style="width: 240px;" |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="是否自动下发"> |
|
|
|
<el-radio-group v-model="form.is_auto_issue" style="width: 240px"> |
|
|
|
<el-radio-group v-model="form.is_auto_issue" disabled style="width: 240px"> |
|
|
|
<el-radio :label="true">是</el-radio> |
|
|
|
<el-radio :label="false">否</el-radio> |
|
|
|
</el-radio-group> |
|
|
@ -121,12 +124,12 @@ |
|
|
|
<el-input-number |
|
|
|
v-model.number="form.task_issue_max_num" |
|
|
|
:min="1" |
|
|
|
:max="999" |
|
|
|
:max="100" |
|
|
|
style="width: 240px;" |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="起点区域"> |
|
|
|
<el-select v-model="form.start_region_strs" multiple placeholder="请选择" style="width: 240px;"> |
|
|
|
<el-select v-model="form.start_region_strs" disabled multiple placeholder="请选择" style="width: 240px;"> |
|
|
|
<el-option |
|
|
|
v-for="item in regionList" |
|
|
|
:key="item.region_code" |
|
|
@ -136,7 +139,7 @@ |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="终点区域"> |
|
|
|
<el-select v-model="form.next_region_strs" multiple placeholder="请选择" style="width: 240px;"> |
|
|
|
<el-select v-model="form.next_region_strs" disabled multiple placeholder="请选择" style="width: 240px;"> |
|
|
|
<el-option |
|
|
|
v-for="item in regionList" |
|
|
|
:key="item.region_code" |
|
|
@ -146,16 +149,17 @@ |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="起点前缀"> |
|
|
|
<el-input v-model="form.start_point_pre" style="width: 240px;" /> |
|
|
|
<el-input v-model="form.start_point_pre" disabled style="width: 240px;" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="终点前缀"> |
|
|
|
<el-input v-model="form.next_region_pre" style="width: 240px;" /> |
|
|
|
<el-input v-model="form.next_region_pre" disabled style="width: 240px;" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="任务方向" prop="task_direction"> |
|
|
|
<el-select |
|
|
|
v-model="form.task_direction" |
|
|
|
size="mini" |
|
|
|
placeholder="任务方向" |
|
|
|
disabled |
|
|
|
style="width: 240px;" |
|
|
|
> |
|
|
|
<el-option |
|
|
@ -166,85 +170,86 @@ |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="是否校验工单"> |
|
|
|
<el-radio-group v-model="form.is_check_workorder" style="width: 240px"> |
|
|
|
<el-radio-group v-model="form.is_check_workorder" disabled style="width: 240px"> |
|
|
|
<el-radio :label="true">是</el-radio> |
|
|
|
<el-radio :label="false">否</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="是否判断起点锁"> |
|
|
|
<el-radio-group v-model="form.is_check_start_lock" style="width: 240px"> |
|
|
|
<el-radio-group v-model="form.is_check_start_lock" disabled style="width: 240px"> |
|
|
|
<el-radio :label="true">是</el-radio> |
|
|
|
<el-radio :label="false">否</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="是否立即创建"> |
|
|
|
<el-radio-group v-model="form.is_immediate_create" style="width: 240px"> |
|
|
|
<el-radio-group v-model="form.is_immediate_create" disabled style="width: 240px"> |
|
|
|
<el-radio :label="true">是</el-radio> |
|
|
|
<el-radio :label="false">否</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="是否判断终点锁"> |
|
|
|
<el-radio-group v-model="form.is_check_next_lock" style="width: 240px"> |
|
|
|
<el-radio-group v-model="form.is_check_next_lock" disabled style="width: 240px"> |
|
|
|
<el-radio :label="true">是</el-radio> |
|
|
|
<el-radio :label="false">否</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="是否起点自动"> |
|
|
|
<el-radio-group v-model="form.is_start_auto" style="width: 240px"> |
|
|
|
<el-radio-group v-model="form.is_start_auto" disabled style="width: 240px"> |
|
|
|
<el-radio :label="true">是</el-radio> |
|
|
|
<el-radio :label="false">否</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="是否终点自动"> |
|
|
|
<el-radio-group v-model="form.is_next_auto" style="width: 240px"> |
|
|
|
<el-radio-group v-model="form.is_next_auto" disabled style="width: 240px"> |
|
|
|
<el-radio :label="true">是</el-radio> |
|
|
|
<el-radio :label="false">否</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="是否锁定起点"> |
|
|
|
<el-radio-group v-model="form.is_lock_start" style="width: 240px"> |
|
|
|
<el-radio-group v-model="form.is_lock_start" disabled style="width: 240px"> |
|
|
|
<el-radio :label="true">是</el-radio> |
|
|
|
<el-radio :label="false">否</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="是否锁定终点"> |
|
|
|
<el-radio-group v-model="form.is_lock_next" style="width: 240px"> |
|
|
|
<el-radio-group v-model="form.is_lock_next" disabled style="width: 240px"> |
|
|
|
<el-radio :label="true">是</el-radio> |
|
|
|
<el-radio :label="false">否</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item v-if="false" label="生成任务的请求参数"> |
|
|
|
<el-input v-model="form.request_param" style="width: 240px;" /> |
|
|
|
<el-input v-model="form.request_param" disabled style="width: 240px;" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item v-if="false" label="下发任务的请求参数"> |
|
|
|
<el-input v-model="form.response_param" style="width: 240px;" /> |
|
|
|
<el-input v-model="form.response_param" disabled style="width: 240px;" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item v-if="false" label="是否按组控制下发顺序"> |
|
|
|
<el-radio-group v-model="form.is_group_congrol_issue_seq" style="width: 240px"> |
|
|
|
<el-radio-group v-model="form.is_group_congrol_issue_seq" disabled style="width: 240px"> |
|
|
|
<el-radio :label="true">是</el-radio> |
|
|
|
<el-radio :label="false">否</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="路由编码" prop="route_plan_code"> |
|
|
|
<el-input v-model="form.route_plan_code" style="width: 240px;" /> |
|
|
|
<el-input v-model="form.route_plan_code" disabled style="width: 240px;" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="未完成通知时间" prop="unfinish_notify_time"> |
|
|
|
<el-input-number |
|
|
|
v-model.number="form.unfinish_notify_time" |
|
|
|
:min="0" |
|
|
|
:max="999" |
|
|
|
disabled |
|
|
|
style="width: 240px;" |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item v-if="false" label="sql配置"> |
|
|
|
<el-input v-model="form.sql_param" style="width: 240px;" /> |
|
|
|
<el-input v-model="form.sql_param" disabled style="width: 240px;" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item v-if="false" label="车间编码"> |
|
|
|
<el-input v-model="form.workshop_code" style="width: 240px;" /> |
|
|
|
<el-input v-model="form.workshop_code" disabled style="width: 240px;" /> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="备注" prop="remark"> |
|
|
|
<label slot="label">备 注:</label> |
|
|
|
<el-input v-model.trim="form.remark" style="width: 480px;" rows="2" type="textarea" :disabled="crud.status.view > 0" /> |
|
|
|
<el-input v-model.trim="form.remark" style="width: 480px;" rows="2" type="textarea" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
@ -254,7 +259,6 @@ |
|
|
|
</el-dialog> |
|
|
|
<!--表格渲染--> |
|
|
|
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler"> |
|
|
|
<el-table-column type="selection" width="55" /> |
|
|
|
<el-table-column prop="config_code" label="配置编码" :min-width="flexWidth('config_code',crud.data,'配置编码')" /> |
|
|
|
<el-table-column prop="config_name" label="配置名称" :min-width="flexWidth('config_name',crud.data,'配置名称')" /> |
|
|
|
<el-table-column prop="task_qf_type" label="任务取放类型" :min-width="flexWidth('task_qf_type',crud.data,'任务取放类型')"> |
|
|
@ -356,6 +360,7 @@ |
|
|
|
<udOperation |
|
|
|
:data="scope.row" |
|
|
|
:permission="permission" |
|
|
|
:disabled-dle="true" |
|
|
|
/> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
@ -426,9 +431,9 @@ export default { |
|
|
|
idField: 'config_id', |
|
|
|
sort: 'config_id,desc', |
|
|
|
optShow: { |
|
|
|
add: true, |
|
|
|
add: false, |
|
|
|
edit: false, |
|
|
|
del: true, |
|
|
|
del: false, |
|
|
|
download: false, |
|
|
|
reset: true |
|
|
|
}, |
|
|
|