出库单管理模块中的界面调整
parent
fb352011d0
commit
be227e6b9f
|
|
@ -133,7 +133,7 @@ const defaultForm = {
|
||||||
updateTime: null
|
updateTime: null
|
||||||
}
|
}
|
||||||
export default {
|
export default {
|
||||||
name: 'Task',
|
name: 'asnTask',
|
||||||
components: {DateRangePicker, pagination, crudOperation, rrOperation, udOperation},
|
components: {DateRangePicker, pagination, crudOperation, rrOperation, udOperation},
|
||||||
mixins: [presenter(), header(), form(defaultForm), crud()],
|
mixins: [presenter(), header(), form(defaultForm), crud()],
|
||||||
dicts: ['task_status'],
|
dicts: ['task_status'],
|
||||||
|
|
|
||||||
|
|
@ -93,17 +93,20 @@
|
||||||
<el-table-column prop="station" label="需求工位"/>
|
<el-table-column prop="station" label="需求工位"/>
|
||||||
<el-table-column prop="point.code" label="翻包点位"/>
|
<el-table-column prop="point.code" label="翻包点位"/>
|
||||||
<el-table-column prop="createTime" label="创建时间"/>
|
<el-table-column prop="createTime" label="创建时间"/>
|
||||||
<el-table-column v-if="checkPer(['admin','pick:edit','pick:del'])" label="操作" width="150px" align="center">
|
<el-table-column v-if="checkPer(['admin','pick:edit','pick:del'])" label="操作" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<udOperation
|
<udOperation
|
||||||
:data="scope.row"
|
:data="scope.row"
|
||||||
:permission="permission"
|
:permission="permission"
|
||||||
|
:showDle="false"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<!--分页组件-->
|
<!--分页组件-->
|
||||||
<pagination/>
|
<div style="float: right;">
|
||||||
|
<pagination/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -2,60 +2,48 @@
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<!--工具栏-->
|
<!--工具栏-->
|
||||||
<div class="head-container">
|
<div class="head-container">
|
||||||
<!-- 查询操作-->
|
<div v-if="crud.props.searchToggle">
|
||||||
<el-form ref="form" :inline="true" :model="form" label-width="70px">
|
<!-- 查询操作-->
|
||||||
<el-form-item label="物料编码">
|
<label class="el-form-item-label">物料编码</label>
|
||||||
<el-select v-model="query.itemCode" filterable placeholder="物料编码" style="width: 140px;"
|
<el-select v-model="query.itemCode" filterable clearable placeholder="物料编码" style="width: 140px;"
|
||||||
class="filter-item">
|
class="filter-item">
|
||||||
<el-option
|
<el-option
|
||||||
@keyup.enter.native="crud.toQuery"
|
@keyup.enter.native="crud.toQuery"
|
||||||
v-for="item in this.itemListData"
|
v-for="item in this.itemListData"
|
||||||
:key="item.code"
|
:key="item.code"
|
||||||
:label="item.code"
|
:label="item.code"
|
||||||
:value="item.code">
|
:value="item.code">
|
||||||
<span style="float: left">{{ item.code }}</span>
|
<span style="float: left">{{ item.code }}</span>
|
||||||
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</span>
|
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</span>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
|
||||||
|
|
||||||
<el-form-item label="物料名称">
|
<label class="el-form-item-label">物料名称</label>
|
||||||
<el-input v-model="query.itemName" clearable placeholder="请输入物料名称" style="width: 140px;"
|
<el-input v-model="query.itemName" clearable placeholder="请输入物料名称" style="width: 140px;"
|
||||||
class="filter-item"
|
class="filter-item"
|
||||||
@keyup.enter.native="crud.toQuery"/>
|
@keyup.enter.native="crud.toQuery"/>
|
||||||
</el-form-item>
|
|
||||||
|
|
||||||
<el-form-item label="任务号">
|
<label class="el-form-item-label">出库单号</label>
|
||||||
|
<el-input v-model="query.po" clearable placeholder="请输入出库单号" style="width: 140px;"
|
||||||
<el-input v-model="query.po" clearable placeholder="请输入任务号" style="width: 140px;" class="filter-item"
|
class="filter-item"
|
||||||
@keyup.enter.native="crud.toQuery"/>
|
@keyup.enter.native="crud.toQuery"/>
|
||||||
</el-form-item>
|
|
||||||
|
|
||||||
<label class="el-form-item-label">日期</label>
|
<label class="el-form-item-label">日期</label>
|
||||||
<date-range-picker v-model="query.createTime" class="date-item" style="width: 100px"/>
|
<date-range-picker v-model="query.createTime" class="date-item" style="width: 100px"/>
|
||||||
<!-- 搜索-->
|
<!-- 搜索-->
|
||||||
<rrOperation :crud="crud"/>
|
<rrOperation :crud="crud"/>
|
||||||
|
|
||||||
<!-- 重置-->
|
<!-- 重置-->
|
||||||
<el-button class="filter-item" size="mini" type="warning" icon="el-icon-refresh-left" @click="resetQuery">重置
|
<el-button class="filter-item" size="mini" type="warning" icon="el-icon-refresh-left" @click="resetQuery">重置
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-form>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="statusButton" style="border-bottom: solid lightgray 1px;">
|
|
||||||
<el-radio-group v-model="radio3" @change="clickChange" size="small">
|
|
||||||
<el-radio-button label="全部"> 全部</el-radio-button>
|
|
||||||
<el-radio-button label="打开"> 打开</el-radio-button>
|
|
||||||
<el-radio-button label="已分配">已分配</el-radio-button>
|
|
||||||
<el-radio-button label="拣货完成"> 拣货完成</el-radio-button>
|
|
||||||
</el-radio-group>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!-- 业务操作-->
|
<!-- 业务操作-->
|
||||||
<crudOperation :permission="permission" :tableKey="this.$options.name">
|
<crudOperation :permission="permission" :tableKey="this.$options.name">
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
|
v-if="false"
|
||||||
slot="left"
|
slot="left"
|
||||||
class="filter-item"
|
class="filter-item"
|
||||||
type="info"
|
type="info"
|
||||||
|
|
@ -67,6 +55,7 @@
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
|
v-if="false"
|
||||||
slot="left"
|
slot="left"
|
||||||
class="filter-item"
|
class="filter-item"
|
||||||
type="primary"
|
type="primary"
|
||||||
|
|
@ -79,6 +68,7 @@
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
|
v-if="false"
|
||||||
slot="left"
|
slot="left"
|
||||||
class="filter-item"
|
class="filter-item"
|
||||||
type="success"
|
type="success"
|
||||||
|
|
@ -92,6 +82,7 @@
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
|
v-if="false"
|
||||||
slot="left"
|
slot="left"
|
||||||
class="filter-item"
|
class="filter-item"
|
||||||
type="danger"
|
type="danger"
|
||||||
|
|
@ -113,17 +104,8 @@
|
||||||
height="58vh"
|
height="58vh"
|
||||||
@selection-change="selectionChangeHandlerTwo">
|
@selection-change="selectionChangeHandlerTwo">
|
||||||
<el-table-column type="selection" width="50"/>
|
<el-table-column type="selection" width="50"/>
|
||||||
<el-table-column
|
<el-table-column prop="xh" label="序号" type="index" width="50"/>
|
||||||
prop="date"
|
<el-table-column prop="pickCode" width="120" label="出库单号">
|
||||||
align="center"
|
|
||||||
label="序号"
|
|
||||||
:resizable="false"
|
|
||||||
type="index"
|
|
||||||
width="50"
|
|
||||||
/>
|
|
||||||
|
|
||||||
|
|
||||||
<el-table-column prop="pickCode" width="120" label="任务号">
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>{{ scope.row.pick.code }}</div>
|
<div>{{ scope.row.pick.code }}</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -143,15 +125,11 @@
|
||||||
{{ dict.label.pick_status[scope.row.status] }}
|
{{ dict.label.pick_status[scope.row.status] }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="lineNo" label="封包系数"/>
|
|
||||||
<el-table-column prop="orderQty" label="订单数量"/>
|
<el-table-column prop="orderQty" label="订单数量"/>
|
||||||
<el-table-column prop="allocatedQty" label="分配数量"/>
|
<el-table-column prop="allocatedQty" label="分配数量"/>
|
||||||
<el-table-column prop="pickedQty" label="拣货数量"/>
|
<el-table-column prop="pickedQty" label="拣货数量"/>
|
||||||
<el-table-column prop="remark" label="备注"/>
|
|
||||||
|
|
||||||
<el-table-column prop="createBy" label="创建人"/>
|
|
||||||
<el-table-column prop="createTime" width="150px" label="创建时间"/>
|
<el-table-column prop="createTime" width="150px" label="创建时间"/>
|
||||||
<el-table-column label="操作" width="150px" align="center">
|
<el-table-column label="操作" align="center">
|
||||||
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button size="mini" :disabled="scope.row.status!='OPEN'" type="primary" icon="el-icon-edit"
|
<el-button size="mini" :disabled="scope.row.status!='OPEN'" type="primary" icon="el-icon-edit"
|
||||||
|
|
@ -163,7 +141,7 @@
|
||||||
icon-color='red'
|
icon-color='red'
|
||||||
@confirm="deletePick(scope.row)"
|
@confirm="deletePick(scope.row)"
|
||||||
>
|
>
|
||||||
<el-button slot="reference" :disabled="scope.row.status!='OPEN'" size="mini" type="danger"
|
<el-button slot="reference" v-if="false" :disabled="scope.row.status!='OPEN'" size="mini" type="danger"
|
||||||
icon="el-icon-delete"/>
|
icon="el-icon-delete"/>
|
||||||
</el-popconfirm>
|
</el-popconfirm>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -281,7 +259,6 @@ export default {
|
||||||
show_fp: true,
|
show_fp: true,
|
||||||
show_jh: true,
|
show_jh: true,
|
||||||
show_cancelfp: true,
|
show_cancelfp: true,
|
||||||
radio3: '全部',
|
|
||||||
items: [],
|
items: [],
|
||||||
permission: {
|
permission: {
|
||||||
add: ['admin', 'pickDetail:add'],
|
add: ['admin', 'pickDetail:add'],
|
||||||
|
|
@ -411,23 +388,7 @@ export default {
|
||||||
shuaxin() {
|
shuaxin() {
|
||||||
this.crud.toQuery();
|
this.crud.toQuery();
|
||||||
},
|
},
|
||||||
clickChange(lab) {
|
|
||||||
if (lab === "全部") {
|
|
||||||
this.crud.resetQuery();
|
|
||||||
this.crud.toQuery();
|
|
||||||
} else if (lab === "打开") {
|
|
||||||
this.query.status = 'OPEN'
|
|
||||||
this.crud.toQuery();
|
|
||||||
} else if (lab === "已分配") {
|
|
||||||
this.query.status = 'ALLOCATE'
|
|
||||||
this.crud.toQuery();
|
|
||||||
} else if (lab === "拣货完成") {
|
|
||||||
this.query.status = 'PICK_ALL'
|
|
||||||
this.crud.toQuery();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.radio3 = '全部';
|
|
||||||
this.crud.resetQuery()
|
this.crud.resetQuery()
|
||||||
},
|
},
|
||||||
editPick(data) {
|
editPick(data) {
|
||||||
|
|
@ -456,7 +417,7 @@ export default {
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
toItemOut(){
|
toItemOut() {
|
||||||
this.$refs.itemOut.dialog = true
|
this.$refs.itemOut.dialog = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,7 @@ import crudPickDetail from "@/api/pickDetail";
|
||||||
|
|
||||||
const defaultForm = { id: null, itemId: null, itemKeyId: null, billCode: null, taskType: null, asnDetailId: null, moveDetailId: null, waveDetailId: null, pickDetailId: null, srcStockId: null, dstStockId: null, srcPointId: null, dstPointId: null, srcStockCode: null, dstStockCode: null, srcPointCode: null, dstPointCode: null, invStatus: null, taskStatus: null, beSkip: null, beBack: null, planQty: null, moveQty: null, putCode: null, invId: null, deptId: null, createBy: null, updateBy: null, createTime: null, updateTime: null }
|
const defaultForm = { id: null, itemId: null, itemKeyId: null, billCode: null, taskType: null, asnDetailId: null, moveDetailId: null, waveDetailId: null, pickDetailId: null, srcStockId: null, dstStockId: null, srcPointId: null, dstPointId: null, srcStockCode: null, dstStockCode: null, srcPointCode: null, dstPointCode: null, invStatus: null, taskStatus: null, beSkip: null, beBack: null, planQty: null, moveQty: null, putCode: null, invId: null, deptId: null, createBy: null, updateBy: null, createTime: null, updateTime: null }
|
||||||
export default {
|
export default {
|
||||||
name: 'Task',
|
name: 'pickTask',
|
||||||
components: {DateRangePicker, pagination, crudOperation, rrOperation, udOperation },
|
components: {DateRangePicker, pagination, crudOperation, rrOperation, udOperation },
|
||||||
mixins: [presenter(), header(), form(defaultForm), crud()],
|
mixins: [presenter(), header(), form(defaultForm), crud()],
|
||||||
dicts: ['task_status'],
|
dicts: ['task_status'],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue