修改bug
This commit is contained in:
parent
754dad5899
commit
fe35dd2c9d
|
|
@ -20,6 +20,11 @@ export const columns: BasicColumn[] = [
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'materialName'
|
dataIndex: 'materialName'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '物料编码',
|
||||||
|
align: "center",
|
||||||
|
dataIndex: 'materialNo'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '规格型号',
|
title: '规格型号',
|
||||||
align: "center",
|
align: "center",
|
||||||
|
|
@ -31,16 +36,14 @@ export const columns: BasicColumn[] = [
|
||||||
dataIndex: 'brandType'
|
dataIndex: 'brandType'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '销售单价',
|
title: '生产厂家',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'salesUnitPrice',
|
dataIndex: 'manufacturer'
|
||||||
defaultHidden: true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '销售单位',
|
title: '是否启用',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'salesUnit',
|
dataIndex: 'izEnabled_dictText',
|
||||||
defaultHidden: true
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -131,6 +131,7 @@ function add() {
|
||||||
*/
|
*/
|
||||||
function edit(record) {
|
function edit(record) {
|
||||||
console.log("🌊 ~ edit ~ record:", record)
|
console.log("🌊 ~ edit ~ record:", record)
|
||||||
|
dataSource.value = []
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
resetFields();
|
resetFields();
|
||||||
let tmpData = {};
|
let tmpData = {};
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,7 @@ export const orgColumns: BasicColumn[] = [
|
||||||
width: 120,
|
width: 120,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '加盟地址',
|
title: '机构地址',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'comRegisterAddress',
|
dataIndex: 'comRegisterAddress',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue