|
|
|
|
@ -117,14 +117,7 @@ |
|
|
|
|
>重置</el-button> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
<div class="opt-box"> |
|
|
|
|
<div class="opt-box-right"> |
|
|
|
|
<el-button |
|
|
|
|
type="primary" |
|
|
|
|
@click="handleAdd" |
|
|
|
|
>新增</el-button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="layout-full"> |
|
|
|
|
<heavy-table |
|
|
|
|
class="heavy-table tablem" |
|
|
|
|
@ -199,8 +192,6 @@ |
|
|
|
|
:value="item.id" |
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
<!-- <el-option v-model="form.pointName"> |
|
|
|
|
</el-option> --> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item |
|
|
|
|
@ -276,7 +267,7 @@ import moment from 'moment' |
|
|
|
|
export default { |
|
|
|
|
name: 'Configuration', |
|
|
|
|
|
|
|
|
|
dicts: ['is_use', 'task_type', 'task_status'], |
|
|
|
|
dicts: ['is_use', 'task_type', 'task_status', 'order_type_dict'], |
|
|
|
|
|
|
|
|
|
data() { |
|
|
|
|
const _that = this |
|
|
|
|
@ -332,7 +323,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '任务终点', |
|
|
|
|
prop: 'toSide', |
|
|
|
|
prop: 'taskPath', |
|
|
|
|
istrue: true |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
@ -346,8 +337,16 @@ export default { |
|
|
|
|
istrue: true |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: 'AGV目标码头', |
|
|
|
|
prop: 'agvNo', |
|
|
|
|
label: '订单类型', |
|
|
|
|
prop: 'dpsNoOne', |
|
|
|
|
istrue: true, |
|
|
|
|
filter(row, value) { |
|
|
|
|
return getDictLabel(value, _that.dict.order_type_dict) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '业务单号', |
|
|
|
|
prop: 'transId', |
|
|
|
|
istrue: true |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
@ -362,30 +361,23 @@ export default { |
|
|
|
|
prop: 'operating', |
|
|
|
|
istrue: true, |
|
|
|
|
type: 'button', |
|
|
|
|
width: 180, |
|
|
|
|
width: 240, |
|
|
|
|
fixed: 'right', |
|
|
|
|
align: 'center', |
|
|
|
|
buttons: [ |
|
|
|
|
// { |
|
|
|
|
// name: '修改任务', |
|
|
|
|
// event: 'handleDelete', |
|
|
|
|
// disable(row, prop) {} |
|
|
|
|
// }, |
|
|
|
|
{ |
|
|
|
|
name: '重新下发', |
|
|
|
|
event: 'handleUpdate' |
|
|
|
|
// disable(row, prop) { |
|
|
|
|
// if (row.taskStatus == '2') { |
|
|
|
|
// return true |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: '取消任务', |
|
|
|
|
event: 'handleDelete', |
|
|
|
|
disable(row, prop) { |
|
|
|
|
// if (row.taskStatus == '2') { |
|
|
|
|
// return true |
|
|
|
|
// } else if (row.taskStatus == '0') { |
|
|
|
|
// return true |
|
|
|
|
// } else if (row.taskStatus == '3') { |
|
|
|
|
// return true |
|
|
|
|
// } |
|
|
|
|
} |
|
|
|
|
disable(row, prop) {} |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
|