|
@ -5,37 +5,31 @@ |
|
|
<!--如果想在工具栏加入更多按钮,可以使用插槽方式, slot = 'left' or 'right'--> |
|
|
<!--如果想在工具栏加入更多按钮,可以使用插槽方式, slot = 'left' or 'right'--> |
|
|
<crudOperation :permission="permission" /> |
|
|
<crudOperation :permission="permission" /> |
|
|
<!--表单组件--> |
|
|
<!--表单组件--> |
|
|
<el-dialog :close-on-click-modal="false" :before-close="crud.cancelCU" :visible.sync="crud.status.cu > 0" :title="crud.status.title" width="500px"> |
|
|
<el-dialog class="demo-form-inline" :close-on-click-modal="false" :before-close="crud.cancelCU" :visible.sync="crud.status.cu > 0" :title="crud.status.title" width="820px"> |
|
|
<el-form ref="form" :model="form" :rules="rules" size="mini" label-width="80px"> |
|
|
<el-form ref="form" :inline="true" :model="form" :rules="rules" size="mini" label-width="135px"> |
|
|
<el-form-item label="源载具编码"> |
|
|
<el-form-item label="木托盘编码"> |
|
|
<el-input v-model="form.origin_vehicle_code" style="width: 370px;" /> |
|
|
<el-input v-model="form.wood_VEHICLE_CODE" style="width: 240px;" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="源载具类型"> |
|
|
<el-form-item label="木托盘数量"> |
|
|
<el-input v-model="form.origin_vehicle_type" style="width: 370px;" /> |
|
|
<el-input v-model="form.wood_QTY" style="width: 240px;" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="目标载具编码"> |
|
|
<el-form-item label="钢托盘编码1"> |
|
|
<el-input v-model="form.target_vehicle_code" style="width: 370px;" /> |
|
|
<el-input v-model="form.steel_VEHICLE_CODE1" style="width: 240px;" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="目标载具类型"> |
|
|
<el-form-item label="钢托盘数量1"> |
|
|
<el-input v-model="form.target_vehicle_type" style="width: 370px;" /> |
|
|
<el-input v-model="form.steel_QTY1" style="width: 240px;" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="源当前物料数量"> |
|
|
<el-form-item label="钢托盘编码2"> |
|
|
<el-input v-model="form.origin_qty" style="width: 370px;" /> |
|
|
<el-input v-model="form.steel_VEHICLE_CODE2" style="width: 240px;" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="目标当前物料数量"> |
|
|
<el-form-item label="钢托盘数量2"> |
|
|
<el-input v-model="form.target_qty" style="width: 370px;" /> |
|
|
<el-input v-model="form.steel_QTY2" style="width: 240px;" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="取货点"> |
|
|
<el-form-item label="钢托盘编码3"> |
|
|
<el-input v-model="form.get_station" style="width: 370px;" /> |
|
|
<el-input v-model="form.steel_VEHICLE_CODE3" style="width: 240px;" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="放货点"> |
|
|
<el-form-item label="钢托盘数量3"> |
|
|
<el-input v-model="form.put_station" style="width: 370px;" /> |
|
|
<el-input v-model="form.steel_QTY3" style="width: 240px;" /> |
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="工单号"> |
|
|
|
|
|
<el-input v-model="form.order_code" style="width: 370px;" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="记录时间"> |
|
|
|
|
|
<el-input v-model="form.record_time" style="width: 370px;" /> |
|
|
|
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div slot="footer" class="dialog-footer"> |
|
|
<div slot="footer" class="dialog-footer"> |
|
@ -46,20 +40,24 @@ |
|
|
<!--表格渲染--> |
|
|
<!--表格渲染--> |
|
|
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler"> |
|
|
<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 type="selection" width="55" /> |
|
|
<el-table-column prop="origin_vehicle_code" label="源载具编码" :min-width="flexWidth('origin_vehicle_code',crud.data,'源载具编码')"/> |
|
|
<el-table-column prop="wood_VEHICLE_CODE" label="木托盘编码" :min-width="flexWidth('wood_VEHICLE_CODE',crud.data,'木托盘编码')" /> |
|
|
<el-table-column prop="origin_vehicle_type" label="源载具类型" :min-width="flexWidth('origin_vehicle_type',crud.data,'源载具类型')"/> |
|
|
<el-table-column prop="wood_QTY" label="木托盘数量" :min-width="flexWidth('wood_QTY',crud.data,'木托盘数量')" /> |
|
|
<el-table-column prop="target_vehicle_code" label="目标载具编码" :min-width="flexWidth('target_vehicle_code',crud.data,'目标载具编码')"/> |
|
|
<el-table-column prop="wood_PCSN" label="木托盘批次" :min-width="flexWidth('wood_PCSN',crud.data,'木托盘批次')" /> |
|
|
<el-table-column prop="target_vehicle_type" label="目标载具类型" :min-width="flexWidth('target_vehicle_type',crud.data,'目标载具类型')"/> |
|
|
<el-table-column prop="steel_VEHICLE_CODE1" label="钢托盘编码1" :min-width="flexWidth('steel_VEHICLE_CODE1',crud.data,'钢托盘编码1')" /> |
|
|
<el-table-column prop="origin_qty" label="源当前物料数量" :min-width="flexWidth('origin_qty',crud.data,'源当前物料数量')"/> |
|
|
<el-table-column prop="steel_QTY1" label="钢托盘数量1" :min-width="flexWidth('steel_QTY1',crud.data,'钢托盘数量1')" /> |
|
|
<el-table-column prop="target_qty" label="目标当前物料数量" :min-width="flexWidth('target_qty',crud.data,'目标当前物料数量')"/> |
|
|
<el-table-column prop="steel_PCSN1" label="钢托盘批次1" :min-width="flexWidth('steel_PCSN1',crud.data,'钢托盘批次1')" /> |
|
|
<el-table-column prop="get_station" label="取货点" :min-width="flexWidth('get_station',crud.data,'取货点')"/> |
|
|
<el-table-column prop="steel_VEHICLE_CODE2" label="钢托盘编码2" :min-width="flexWidth('steel_VEHICLE_CODE2',crud.data,'钢托盘编码1')" /> |
|
|
<el-table-column prop="put_station" label="放货点" :min-width="flexWidth('put_station',crud.data,'放货点')"/> |
|
|
<el-table-column prop="steel_QTY2" label="钢托盘数量2" :min-width="flexWidth('steel_QTY2',crud.data,'钢托盘数量1')" /> |
|
|
<el-table-column prop="order_code" label="工单号" :min-width="flexWidth('order_code',crud.data,'工单号')"/> |
|
|
<el-table-column prop="steel_PCSN2" label="钢托盘批次2" :min-width="flexWidth('steel_PCSN2',crud.data,'钢托盘批次1')" /> |
|
|
<el-table-column prop="record_time" label="记录时间" :min-width="flexWidth('record_time',crud.data,'记录时间')"/> |
|
|
<el-table-column prop="steel_VEHICLE_CODE3" label="钢托盘编码3" :min-width="flexWidth('steel_VEHICLE_CODE3',crud.data,'钢托盘编码1')" /> |
|
|
|
|
|
<el-table-column prop="steel_QTY3" label="钢托盘数量3" :min-width="flexWidth('steel_QTY3',crud.data,'钢托盘数量1')" /> |
|
|
|
|
|
<el-table-column prop="steel_PCSN3" label="钢托盘批次3" :min-width="flexWidth('steel_PCSN3',crud.data,'钢托盘批次1')" /> |
|
|
|
|
|
<el-table-column prop="record_TIME" label="记录时间" :min-width="flexWidth('record_TIME',crud.data,'记录时间')" /> |
|
|
<el-table-column v-permission="[]" label="操作" width="120px" align="center" fixed="right"> |
|
|
<el-table-column v-permission="[]" label="操作" width="120px" align="center" fixed="right"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<udOperation |
|
|
<udOperation |
|
|
:data="scope.row" |
|
|
:data="scope.row" |
|
|
|
|
|
:is-visiable-del="false" |
|
|
:permission="permission" |
|
|
:permission="permission" |
|
|
/> |
|
|
/> |
|
|
</template> |
|
|
</template> |
|
@ -80,17 +78,24 @@ import udOperation from '@crud/UD.operation' |
|
|
import pagination from '@crud/Pagination' |
|
|
import pagination from '@crud/Pagination' |
|
|
|
|
|
|
|
|
const defaultForm = { |
|
|
const defaultForm = { |
|
|
associate_id: null, |
|
|
record_ID: null, |
|
|
origin_vehicle_code: null, |
|
|
wood_VEHICLE_CODE: null, |
|
|
origin_vehicle_type: null, |
|
|
wood_QTY: null, |
|
|
target_vehicle_code: null, |
|
|
wood_PCSN: null, |
|
|
target_vehicle_type: null, |
|
|
steel_VEHICLE_CODE1: null, |
|
|
origin_qty: null, |
|
|
steel_QTY1: null, |
|
|
target_qty: null, |
|
|
steel_PCSN1: null, |
|
|
get_station: null, |
|
|
steel_VEHICLE_CODE2: null, |
|
|
put_station: null, |
|
|
steel_QTY2: null, |
|
|
order_code: null, |
|
|
steel_PCSN2: null, |
|
|
record_time: null |
|
|
steel_VEHICLE_CODE3: null, |
|
|
|
|
|
steel_QTY3: null, |
|
|
|
|
|
steel_PCSN3: null, |
|
|
|
|
|
record_TIME: null, |
|
|
|
|
|
create_TM: null, |
|
|
|
|
|
op_FLAG: null, |
|
|
|
|
|
op_TM: null, |
|
|
|
|
|
op_REPLAY: null |
|
|
} |
|
|
} |
|
|
export default { |
|
|
export default { |
|
|
name: 'PdmBdVehicleBinding', |
|
|
name: 'PdmBdVehicleBinding', |
|
@ -100,8 +105,8 @@ export default { |
|
|
return CRUD({ |
|
|
return CRUD({ |
|
|
title: '分拣载具关联记录', |
|
|
title: '分拣载具关联记录', |
|
|
url: 'api/pdmBdVehicleBinding', |
|
|
url: 'api/pdmBdVehicleBinding', |
|
|
idField: 'associate_id', |
|
|
idField: 'record_ID', |
|
|
sort: 'associate_id,desc', |
|
|
sort: 'record_id,desc', |
|
|
crudMethod: { ...crudPdmBdVehicleBinding } |
|
|
crudMethod: { ...crudPdmBdVehicleBinding } |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|