|
12
13
14
15
16
17
18
19
20
21
22
|
</template>
<script>
import JDate from '@comp/jeecg/JDate'
import JSelectBizComponent from './JButtonBizComponent'
export default {
name: 'JSelectMultiCycleCount',
components: {JDate, JSelectBizComponent},
props: {
value: null, // any type
|
|
34
35
|
{title: 'ID', align: 'center', width: '20%',widthRight: '70%', dataIndex: 'id'},
{title: '容器号', align: 'center', width: '25%', dataIndex: 'containerCode'},
|
|
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
{title: '容器状态', align: 'center', width: '20%', dataIndex: 'containerStatus'},
{title: '库位号', align: 'center', width: '20%', dataIndex: 'locationCode'},
{title: '总数量', align: 'center', width: '20%', dataIndex: 'totalQty'},
{title: '库区', align: 'center', width: '20%', widthRight: '70%', dataIndex: 'zoneCode'},
{title: '状态', align: 'center', width: '20%', dataIndex: 'enable'},
],
// 定义在这里的参数都是可以在外部传递覆盖的,可以更灵活的定制化使用的组件
default: {
name: '库存',
width: 1200,
displayKey: 'id',
returnKeys: ['id','id'],
queryParamText: 'ID',
},
// 多条件查询配置queryConfigDefault
queryConfigDefault: [
// {
// key: 'containerCode',
// label: '容器号',
// // 如果包含 dictCode,那么就会显示成下拉框
// dictCode: 'sex',
// },
],
}
},
computed: {
attrs() {
return Object.assign(this.default, this.$attrs, {
|