|
|
@@ -9,11 +9,17 @@
|
|
|
</template>
|
|
|
|
|
|
<template #slot-column-option="{scope}">
|
|
|
- <el-button @click.stop="goItemGh(scope.row)" size="medium" type="primary">供货明细</el-button>
|
|
|
- <el-button @click.stop="getBookRecord(scope.row)" size="medium" type="primary">预订记录</el-button>
|
|
|
- <el-button @click.stop="getOnRecord(scope.row)" size="medium" type="primary">上下架记录</el-button>
|
|
|
- <el-button @click.stop="getRoadRecord(scope.row)" size="medium" type="primary">路上记录</el-button>
|
|
|
- <el-button @click.stop="getCgRecord(scope.row)" size="medium" type="primary">待采记录</el-button>
|
|
|
+ <el-button @click.stop="goItemGh(scope.row)" size="small" type="primary">供货明细</el-button>
|
|
|
+ <el-button @click.stop="getBookRecord(scope.row)" size="small" type="primary">预订记录</el-button>
|
|
|
+ <el-button @click.stop="getOnRecord(scope.row)" size="small" type="primary">上下架记录</el-button>
|
|
|
+ <el-button @click.stop="getRoadRecord(scope.row)" size="small" type="primary">路上记录</el-button>
|
|
|
+ <el-button @click.stop="getCgRecord(scope.row)" size="small" type="primary">待采记录</el-button>
|
|
|
+ <el-button @click.stop="getCgRecord(scope.row)" size="small" type="primary">上齐</el-button>
|
|
|
+ <el-button @click.stop="getCgRecord(scope.row)" size="small" type="primary">上架</el-button>
|
|
|
+ <el-button @click.stop="getCgRecord(scope.row)" size="small" type="primary">下架</el-button>
|
|
|
+ <el-button @click.stop="getCgRecord(scope.row)" size="small" type="primary">借库</el-button>
|
|
|
+ <el-button @click.stop="getCgRecord(scope.row)" size="small" type="primary">加库</el-button>
|
|
|
+ <el-button @click.stop="getCgRecord(scope.row)" size="small" type="primary">减库</el-button>
|
|
|
</template>
|
|
|
|
|
|
<template #slot-search-option="{scope}">
|
|
|
@@ -127,46 +133,58 @@ export default {
|
|
|
ctx.service(this.$service.bookItemCustom)
|
|
|
.set('table', {
|
|
|
columns: [
|
|
|
+ {
|
|
|
+ type: 'selection',
|
|
|
+ align: 'center',
|
|
|
+ width: '50'
|
|
|
+ },
|
|
|
{
|
|
|
prop: 'name',
|
|
|
label: '名称',
|
|
|
align: 'center',
|
|
|
+ width: 180
|
|
|
},
|
|
|
{
|
|
|
prop: 'bookNum',
|
|
|
label: '预订',
|
|
|
align: 'center',
|
|
|
+ width: 80
|
|
|
},
|
|
|
{
|
|
|
prop: 'onNum',
|
|
|
label: '上架',
|
|
|
align: 'center',
|
|
|
+ width: 80
|
|
|
},
|
|
|
{
|
|
|
prop: 'roadNum',
|
|
|
label: '路上',
|
|
|
align: 'center',
|
|
|
+ width: 80
|
|
|
},
|
|
|
{
|
|
|
prop: 'needCgNum',
|
|
|
label: '待采',
|
|
|
align: 'center',
|
|
|
+ width: 80
|
|
|
},
|
|
|
{
|
|
|
prop: 'hasRemark',
|
|
|
label: '备注',
|
|
|
align: 'center',
|
|
|
+ width: 100
|
|
|
},
|
|
|
{
|
|
|
prop: 'customName',
|
|
|
label: '客户',
|
|
|
align: 'center',
|
|
|
+ width: 160
|
|
|
}
|
|
|
],
|
|
|
op: {
|
|
|
visible: true,
|
|
|
props: {
|
|
|
- width: 760,
|
|
|
+ width: 880,
|
|
|
align: 'left',
|
|
|
fixed: 'right',
|
|
|
label: '操作'
|