优化商品库存和流水的页面布局

This commit is contained in:
季圣华
2021-10-10 21:15:40 +08:00
parent 8454c5d352
commit fc895c6ece
2 changed files with 8 additions and 8 deletions

View File

@@ -124,15 +124,15 @@
} }
}, },
{title: '条码', dataIndex: 'mBarCode', width: 80}, {title: '条码', dataIndex: 'mBarCode', width: 80},
{title: '名称', dataIndex: 'name', width: 80}, {title: '名称', dataIndex: 'name', width: 140},
{title: '规格', dataIndex: 'standard', width: 80}, {title: '规格', dataIndex: 'standard', width: 80},
{title: '型号', dataIndex: 'model', width: 80}, {title: '型号', dataIndex: 'model', width: 80},
{title: '颜色', dataIndex: 'color', width: 80}, {title: '颜色', dataIndex: 'color', width: 80},
{title: '类别', dataIndex: 'categoryName', width: 80}, {title: '类别', dataIndex: 'categoryName', width: 80},
{title: '单位', dataIndex: 'unitName', width: 80}, {title: '单位', dataIndex: 'unitName', width: 60},
{title: '单价', dataIndex: 'purchaseDecimal', width: 60}, {title: '单价', dataIndex: 'purchaseDecimal', width: 60},
{title: '初始库存', dataIndex: 'initialStock', width: 80}, {title: '初始库存', dataIndex: 'initialStock', width: 60},
{title: '当前库存', dataIndex: 'currentStock', width: 80}, {title: '当前库存', dataIndex: 'currentStock', width: 60},
{title: '当前库存金额', dataIndex: 'currentStockPrice', width: 80}, {title: '当前库存金额', dataIndex: 'currentStockPrice', width: 80},
{ title: '库存流水', dataIndex: 'action', align:"center", width: 100, { title: '库存流水', dataIndex: 'action', align:"center", width: 100,
scopedSlots: { customRender: 'action' } scopedSlots: { customRender: 'action' }

View File

@@ -1,7 +1,7 @@
<template> <template>
<a-modal <a-modal
:title="title" :title="title"
:width="1000" :width="1250"
:visible="visible" :visible="visible"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
@@ -66,15 +66,15 @@
} }
}, },
{ {
title: '单据编号', dataIndex: 'number', width: 150, title: '单据编号', dataIndex: 'number', width: 100,
scopedSlots: { customRender: 'numberCustomRender' }, scopedSlots: { customRender: 'numberCustomRender' },
}, },
{ title: '类型', dataIndex: 'type', width: 100}, { title: '类型', dataIndex: 'type', width: 100},
{ title: '条码', dataIndex: 'barCode', width: 100}, { title: '条码', dataIndex: 'barCode', width: 100},
{ title: '名称', dataIndex: 'materialName', width: 100}, { title: '名称', dataIndex: 'materialName', width: 200},
{ title: '仓库名称', dataIndex: 'depotName', width: 80}, { title: '仓库名称', dataIndex: 'depotName', width: 80},
{ title: '数量', dataIndex: 'basicNumber', width: 80}, { title: '数量', dataIndex: 'basicNumber', width: 80},
{ title: '日期', dataIndex: 'operTime', width: 180} { title: '日期', dataIndex: 'operTime', width: 100}
], ],
labelCol: { labelCol: {
xs: { span: 1 }, xs: { span: 1 },