shish 2 vuotta sitten
vanhempi
commit
0695fa31ee
1 muutettua tiedostoa jossa 24 lisäystä ja 6 poistoa
  1. 24 6
      ghs/src/views/book/itemCustom.vue

+ 24 - 6
ghs/src/views/book/itemCustom.vue

@@ -9,11 +9,17 @@
 			</template>
 			</template>
 
 
 			<template #slot-column-option="{scope}">
 			<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>
 
 
 			<template #slot-search-option="{scope}">
 			<template #slot-search-option="{scope}">
@@ -127,46 +133,58 @@ export default {
 			ctx.service(this.$service.bookItemCustom)
 			ctx.service(this.$service.bookItemCustom)
 			.set('table', {
 			.set('table', {
 				columns: [
 				columns: [
+					{
+							type: 'selection',
+							align: 'center',
+							width: '50'
+					},
 					{
 					{
 						prop: 'name',
 						prop: 'name',
 						label: '名称',
 						label: '名称',
 						align: 'center',
 						align: 'center',
+						width: 180
 					},
 					},
 					{
 					{
 						prop: 'bookNum',
 						prop: 'bookNum',
 						label: '预订',
 						label: '预订',
 						align: 'center',
 						align: 'center',
+						width: 80
 					},
 					},
 					{
 					{
 						prop: 'onNum',
 						prop: 'onNum',
 						label: '上架',
 						label: '上架',
 						align: 'center',
 						align: 'center',
+						width: 80
 					},
 					},
 					{
 					{
 						prop: 'roadNum',
 						prop: 'roadNum',
 						label: '路上',
 						label: '路上',
 						align: 'center',
 						align: 'center',
+						width: 80
 					},
 					},
 					{
 					{
 						prop: 'needCgNum',
 						prop: 'needCgNum',
 						label: '待采',
 						label: '待采',
 						align: 'center',
 						align: 'center',
+						width: 80
 					},
 					},
 					{
 					{
 						prop: 'hasRemark',
 						prop: 'hasRemark',
 						label: '备注',
 						label: '备注',
 						align: 'center',
 						align: 'center',
+						width: 100
 					},
 					},
 					{
 					{
 						prop: 'customName',
 						prop: 'customName',
 						label: '客户',
 						label: '客户',
 						align: 'center',
 						align: 'center',
+						width: 160
 					}
 					}
 				],
 				],
 				op: {
 				op: {
 					visible: true,
 					visible: true,
 					props: {
 					props: {
-						width: 760,
+						width: 880,
 						align: 'left',
 						align: 'left',
 						fixed: 'right',
 						fixed: 'right',
 						label: '操作'
 						label: '操作'