162 lines
3.2 KiB
JavaScript
162 lines
3.2 KiB
JavaScript
/*
|
|
* Copyright (c) 2018-2025, cyweb All rights reserved.
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without
|
|
* modification, are permitted provided that the following conditions are met:
|
|
*
|
|
* Redistributions of source code must retain the above copyright notice,
|
|
* this list of conditions and the following disclaimer.
|
|
* Redistributions in binary form must reproduce the above copyright
|
|
* notice, this list of conditions and the following disclaimer in the
|
|
* documentation and/or other materials provided with the distribution.
|
|
* Neither the name of the pig4cloud.com developer nor the names of its
|
|
* contributors may be used to endorse or promote products derived from
|
|
* this software without specific prior written permission.
|
|
*
|
|
*/
|
|
|
|
export const tableOption = {
|
|
border: true,
|
|
index: true,
|
|
indexLabel: '序号',
|
|
stripe: true,
|
|
menuAlign: 'center',
|
|
align: 'center',
|
|
editBtn: false,
|
|
delBtn: false,
|
|
addBtn: false,
|
|
dic: [],
|
|
column: [
|
|
{
|
|
label: '入库单号',
|
|
prop: 'inboundNo'
|
|
},
|
|
{
|
|
label: '类别编码',
|
|
prop: 'codeEnName'
|
|
},
|
|
{
|
|
label: '资产名称',
|
|
prop: 'goodsName'
|
|
},
|
|
{
|
|
label: '规格|型号',
|
|
prop: 'spec'
|
|
},
|
|
{
|
|
label: '面积',
|
|
prop: 'area'
|
|
},
|
|
{
|
|
label: '单位',
|
|
prop: 'unit'
|
|
},
|
|
{
|
|
label: '单价',
|
|
prop: 'price'
|
|
},
|
|
{
|
|
label: '库存',
|
|
prop: 'inboundNum'
|
|
},
|
|
{
|
|
label: '总金额',
|
|
prop: 'totalPrice'
|
|
},
|
|
{
|
|
label: '开始编码',
|
|
prop: 'codeStart'
|
|
},
|
|
{
|
|
label: '结束编码',
|
|
prop: 'codeEnd'
|
|
},
|
|
{
|
|
label: '是否审核',
|
|
prop: 'isExamine',
|
|
type:'select',
|
|
dicData:[
|
|
{
|
|
label:'已审核',
|
|
value:1
|
|
},{
|
|
label:'未审核',
|
|
value:-1
|
|
},{
|
|
label:'审核不通过',
|
|
value:2
|
|
}
|
|
]
|
|
},
|
|
{
|
|
label: '审核备注',
|
|
prop: 'examineValue'
|
|
},
|
|
{
|
|
label: '备注',
|
|
prop: 'remarks'
|
|
},
|
|
{
|
|
label: '最小数量',
|
|
prop: 'minNum',
|
|
addDisplay: false,
|
|
editDisplay: false,
|
|
hide: true
|
|
},
|
|
{
|
|
label: '最小单价',
|
|
prop: 'minPrice',
|
|
addDisplay: false,
|
|
editDisplay: false,
|
|
hide: true
|
|
},
|
|
{
|
|
label: '最小面积',
|
|
prop: 'minArea',
|
|
addDisplay: false,
|
|
editDisplay: false,
|
|
hide: true
|
|
},
|
|
{
|
|
label: '最大数量',
|
|
prop: 'maxNum',
|
|
addDisplay: false,
|
|
editDisplay: false,
|
|
hide: true
|
|
},
|
|
{
|
|
label: '最大单价',
|
|
prop: 'maxPrice',
|
|
addDisplay: false,
|
|
editDisplay: false,
|
|
hide: true
|
|
},
|
|
|
|
{
|
|
label: '最大面积',
|
|
prop: 'maxArea',
|
|
addDisplay: false,
|
|
editDisplay: false,
|
|
hide: true
|
|
},{
|
|
label: '开始时间',
|
|
prop: 'beginTime',
|
|
type: 'date',
|
|
format: 'yyyy-MM-dd',
|
|
valueFormat: 'yyyy-MM-dd',
|
|
editDisplay: false,
|
|
addDisplay: false,
|
|
hide: true
|
|
},{
|
|
label: '结束时间',
|
|
prop: 'endTime',
|
|
type: 'date',
|
|
format: 'yyyy-MM-dd',
|
|
valueFormat: 'yyyy-MM-dd',
|
|
editDisplay: false,
|
|
addDisplay: false,
|
|
hide: true
|
|
}
|
|
]
|
|
}
|