Commit 73890021 authored by 季圣华's avatar 季圣华
Browse files

调整单据列表的操作按钮的位置,改到最左侧

parent 2173def0
...@@ -226,7 +226,14 @@ ...@@ -226,7 +226,14 @@
'purchaseDecimal','commodityDecimal','wholesaleDecimal','lowDecimal','enabled','enableSerialNumber','enableBatchNumber','action'], 'purchaseDecimal','commodityDecimal','wholesaleDecimal','lowDecimal','enabled','enableSerialNumber','enableBatchNumber','action'],
// 默认的列 // 默认的列
defColumns: [ defColumns: [
{title: '条码', dataIndex: 'mBarCode',scopedSlots: { customRender: 'customBarCode' }}, {
title: '操作',
dataIndex: 'action',
align:"center",
width: 100,
scopedSlots: { customRender: 'action' },
},
{title: '条码', dataIndex: 'mBarCode', width: 140, scopedSlots: { customRender: 'customBarCode' }},
{title: '名称', dataIndex: 'name'}, {title: '名称', dataIndex: 'name'},
{title: '规格', dataIndex: 'standard'}, {title: '规格', dataIndex: 'standard'},
{title: '型号', dataIndex: 'model'}, {title: '型号', dataIndex: 'model'},
...@@ -261,13 +268,6 @@ ...@@ -261,13 +268,6 @@
}, },
{title: '状态', dataIndex: 'enabled', align: "center", width: 60, {title: '状态', dataIndex: 'enabled', align: "center", width: 60,
scopedSlots: { customRender: 'customRenderEnabled' } scopedSlots: { customRender: 'customRenderEnabled' }
},
{
title: '操作',
dataIndex: 'action',
align:"center",
width: 100,
scopedSlots: { customRender: 'action' },
} }
], ],
url: { url: {
......
...@@ -85,20 +85,20 @@ ...@@ -85,20 +85,20 @@
return parseInt(index)+1; return parseInt(index)+1;
} }
}, },
{title: '名称', dataIndex: 'nativeName', width: 100},
{
title: '是否启用', dataIndex: 'enabled', width: 100, align: "center",
scopedSlots: { customRender: 'customRenderFlag' }
},
{title: '排序', dataIndex: 'sort', width: 100},
{title: '别名', dataIndex: 'anotherName', width: 100},
{ {
title: '操作', title: '操作',
dataIndex: 'action', dataIndex: 'action',
width: 200, width: 200,
align:"center", align:"center",
scopedSlots: { customRender: 'action' }, scopedSlots: { customRender: 'action' },
} },
{title: '名称', dataIndex: 'nativeName', width: 100},
{
title: '是否启用', dataIndex: 'enabled', width: 100, align: "center",
scopedSlots: { customRender: 'customRenderFlag' }
},
{title: '排序', dataIndex: 'sort', width: 100},
{title: '别名', dataIndex: 'anotherName', width: 100}
], ],
url: { url: {
list: "/materialProperty/list", list: "/materialProperty/list",
......
...@@ -125,6 +125,13 @@ ...@@ -125,6 +125,13 @@
return parseInt(index)+1; return parseInt(index)+1;
} }
}, },
{
title: '操作',
dataIndex: 'action',
width: 150,
align:"center",
scopedSlots: { customRender: 'action' },
},
{ title: '名称', dataIndex: 'name', width: 100, align: "left"}, { title: '名称', dataIndex: 'name', width: 100, align: "left"},
{ title: '编号', dataIndex: 'serialNo', width: 150, align: "left"}, { title: '编号', dataIndex: 'serialNo', width: 150, align: "left"},
{ title: '期初金额', dataIndex: 'initialAmount', width: 100, align: "left"}, { title: '期初金额', dataIndex: 'initialAmount', width: 100, align: "left"},
...@@ -136,13 +143,6 @@ ...@@ -136,13 +143,6 @@
}, },
{ title: '是否默认',dataIndex: 'isDefault',width:80,align:"center", { title: '是否默认',dataIndex: 'isDefault',width:80,align:"center",
scopedSlots: { customRender: 'customRenderFlag' } scopedSlots: { customRender: 'customRenderFlag' }
},
{
title: '操作',
dataIndex: 'action',
width: 150,
align:"center",
scopedSlots: { customRender: 'action' },
} }
], ],
url: { url: {
......
...@@ -129,6 +129,13 @@ ...@@ -129,6 +129,13 @@
return parseInt(index)+1; return parseInt(index)+1;
} }
}, },
{
title: '操作',
dataIndex: 'action',
width: 100,
align:"center",
scopedSlots: { customRender: 'action' },
},
{ title: '名称',dataIndex: 'supplier',width:150,align:"left"}, { title: '名称',dataIndex: 'supplier',width:150,align:"left"},
{ title: '联系人', dataIndex: 'contacts',width:70,align:"left"}, { title: '联系人', dataIndex: 'contacts',width:70,align:"left"},
{ title: '手机号码', dataIndex: 'telephone',width:100,align:"left"}, { title: '手机号码', dataIndex: 'telephone',width:100,align:"left"},
...@@ -140,13 +147,6 @@ ...@@ -140,13 +147,6 @@
{ title: '排序', dataIndex: 'sort', width: 60,align:"left"}, { title: '排序', dataIndex: 'sort', width: 60,align:"left"},
{ title: '状态',dataIndex: 'enabled',width:60, align:"center", { title: '状态',dataIndex: 'enabled',width:60, align:"center",
scopedSlots: { customRender: 'customRenderFlag' } scopedSlots: { customRender: 'customRenderFlag' }
},
{
title: '操作',
dataIndex: 'action',
width: 100,
align:"center",
scopedSlots: { customRender: 'action' },
} }
], ],
url: { url: {
......
...@@ -120,6 +120,13 @@ ...@@ -120,6 +120,13 @@
return parseInt(index)+1; return parseInt(index)+1;
} }
}, },
{
title: '操作',
dataIndex: 'action',
align:"center",
width: 200,
scopedSlots: { customRender: 'action' },
},
{title: '仓库名称', dataIndex: 'name', width: 200}, {title: '仓库名称', dataIndex: 'name', width: 200},
{title: '仓库地址', dataIndex: 'address', width: 200}, {title: '仓库地址', dataIndex: 'address', width: 200},
{title: '仓储费', dataIndex: 'warehousing', width: 80}, {title: '仓储费', dataIndex: 'warehousing', width: 80},
...@@ -132,13 +139,6 @@ ...@@ -132,13 +139,6 @@
}, },
{title: '是否默认',dataIndex: 'isDefault',width:80,align:"center", {title: '是否默认',dataIndex: 'isDefault',width:80,align:"center",
scopedSlots: { customRender: 'customRenderFlag' } scopedSlots: { customRender: 'customRenderFlag' }
},
{
title: '操作',
dataIndex: 'action',
align:"center",
width: 200,
scopedSlots: { customRender: 'action' },
} }
], ],
url: { url: {
......
...@@ -103,6 +103,13 @@ ...@@ -103,6 +103,13 @@
return parseInt(index)+1; return parseInt(index)+1;
} }
}, },
{
title: '操作',
dataIndex: 'action',
width: 150,
align:"center",
scopedSlots: { customRender: 'action' },
},
{title: '编号 ', dataIndex: 'number', width: 80}, {title: '编号 ', dataIndex: 'number', width: 80},
{title: '名称', dataIndex: 'name', width: 120, ellipsis:true}, {title: '名称', dataIndex: 'name', width: 120, ellipsis:true},
{title: '上级编号', dataIndex: 'parentNumber', width: 80}, {title: '上级编号', dataIndex: 'parentNumber', width: 80},
...@@ -114,14 +121,7 @@ ...@@ -114,14 +121,7 @@
title: '是否启用', dataIndex: 'enabled', width: 80, align: "center", title: '是否启用', dataIndex: 'enabled', width: 80, align: "center",
scopedSlots: { customRender: 'customRenderFlag' } scopedSlots: { customRender: 'customRenderFlag' }
}, },
{title: '图标', dataIndex: 'icon', width: 120}, {title: '图标', dataIndex: 'icon', width: 120}
{
title: '操作',
dataIndex: 'action',
width: 150,
align:"center",
scopedSlots: { customRender: 'action' },
}
], ],
url: { url: {
list: "/function/list", list: "/function/list",
......
...@@ -119,19 +119,19 @@ ...@@ -119,19 +119,19 @@
return parseInt(index)+1; return parseInt(index)+1;
} }
}, },
{ title: '名称', dataIndex: 'name', width: 200},
{ title: '类型', dataIndex: 'type', width: 100},
{ title: '备注', dataIndex: 'remark', width: 200},
{ title: '排序', dataIndex: 'sort', width: 60},
{ title: '状态',dataIndex: 'enabled',width:60,align:"center",
scopedSlots: { customRender: 'customRenderFlag' }
},
{ {
title: '操作', title: '操作',
dataIndex: 'action', dataIndex: 'action',
width: 100, width: 100,
align:"center", align:"center",
scopedSlots: { customRender: 'action' }, scopedSlots: { customRender: 'action' },
},
{ title: '名称', dataIndex: 'name', width: 200},
{ title: '类型', dataIndex: 'type', width: 100},
{ title: '备注', dataIndex: 'remark', width: 200},
{ title: '排序', dataIndex: 'sort', width: 60},
{ title: '状态',dataIndex: 'enabled',width:60,align:"center",
scopedSlots: { customRender: 'customRenderFlag' }
} }
], ],
url: { url: {
......
...@@ -128,6 +128,13 @@ ...@@ -128,6 +128,13 @@
return parseInt(index)+1; return parseInt(index)+1;
} }
}, },
{
title: '操作',
dataIndex: 'action',
width: 100,
align:"center",
scopedSlots: { customRender: 'action' },
},
{ title: '名称',dataIndex: 'supplier',width:150,align:"left"}, { title: '名称',dataIndex: 'supplier',width:150,align:"left"},
{ title: '联系人', dataIndex: 'contacts',width:70,align:"left"}, { title: '联系人', dataIndex: 'contacts',width:70,align:"left"},
{ title: '手机号码', dataIndex: 'telephone',width:100,align:"left"}, { title: '手机号码', dataIndex: 'telephone',width:100,align:"left"},
...@@ -137,13 +144,6 @@ ...@@ -137,13 +144,6 @@
{ title: '排序', dataIndex: 'sort', width: 60,align:"left"}, { title: '排序', dataIndex: 'sort', width: 60,align:"left"},
{ title: '状态',dataIndex: 'enabled',width:60,align:"center", { title: '状态',dataIndex: 'enabled',width:60,align:"center",
scopedSlots: { customRender: 'customRenderFlag' } scopedSlots: { customRender: 'customRenderFlag' }
},
{
title: '操作',
dataIndex: 'action',
width: 100,
align:"center",
scopedSlots: { customRender: 'action' },
} }
], ],
url: { url: {
......
...@@ -115,18 +115,18 @@ ...@@ -115,18 +115,18 @@
return parseInt(index)+1; return parseInt(index)+1;
} }
}, },
{ title: '姓名', align:"left", dataIndex: 'name', width: 200, },
{ title: '类型', align:"left", dataIndex: 'type', width: 150, },
{ title: '排序', dataIndex: 'sort', width: 60},
{ title: '状态',dataIndex: 'enabled',width:60,align:"center",
scopedSlots: { customRender: 'customRenderFlag' }
},
{ {
title: '操作', title: '操作',
dataIndex: 'action', dataIndex: 'action',
align:"center", align:"center",
width: 100, width: 100,
scopedSlots: { customRender: 'action' }, scopedSlots: { customRender: 'action' },
},
{ title: '姓名', align:"left", dataIndex: 'name', width: 200, },
{ title: '类型', align:"left", dataIndex: 'type', width: 150, },
{ title: '排序', dataIndex: 'sort', width: 60},
{ title: '状态',dataIndex: 'enabled',width:60,align:"center",
scopedSlots: { customRender: 'customRenderFlag' }
} }
], ],
url: { url: {
......
...@@ -61,6 +61,13 @@ ...@@ -61,6 +61,13 @@
return parseInt(index)+1; return parseInt(index)+1;
} }
}, },
{
title: '操作',
dataIndex: 'action',
align:"center",
width: 100,
scopedSlots: { customRender: 'action' },
},
{ {
title: '配置名称', title: '配置名称',
dataIndex: 'platformKeyInfo', dataIndex: 'platformKeyInfo',
...@@ -70,13 +77,6 @@ ...@@ -70,13 +77,6 @@
title: '配置值', title: '配置值',
dataIndex: 'platformValue', dataIndex: 'platformValue',
width: 500 width: 500
},
{
title: '操作',
dataIndex: 'action',
align:"center",
width: 100,
scopedSlots: { customRender: 'action' },
} }
], ],
url: { url: {
......
...@@ -118,6 +118,13 @@ ...@@ -118,6 +118,13 @@
return parseInt(index)+1; return parseInt(index)+1;
} }
}, },
{
title: '操作',
dataIndex: 'action',
width: 200,
align:"center",
scopedSlots: { customRender: 'action' },
},
{title: '名称', dataIndex: '', width: 120, {title: '名称', dataIndex: '', width: 120,
customRender:function (t,r,index) { customRender:function (t,r,index) {
if (r) { if (r) {
...@@ -155,13 +162,6 @@ ...@@ -155,13 +162,6 @@
}, },
{title: '状态', dataIndex: 'pluginState', width: 60, align: "center", {title: '状态', dataIndex: 'pluginState', width: 60, align: "center",
scopedSlots: { customRender: 'customRenderFlag' } scopedSlots: { customRender: 'customRenderFlag' }
},
{
title: '操作',
dataIndex: 'action',
width: 200,
align:"center",
scopedSlots: { customRender: 'action' },
} }
], ],
url: { url: {
......
...@@ -121,6 +121,13 @@ ...@@ -121,6 +121,13 @@
return parseInt(index)+1; return parseInt(index)+1;
} }
}, },
{
title: '操作',
dataIndex: 'action',
align:"center",
width: 150,
scopedSlots: { customRender: 'action' },
},
{ {
title: '角色名称', align:"left", dataIndex: 'name', width: 120 title: '角色名称', align:"left", dataIndex: 'name', width: 120
}, },
...@@ -133,13 +140,6 @@ ...@@ -133,13 +140,6 @@
{ title: '排序', align:"left", dataIndex: 'sort', width: 50}, { title: '排序', align:"left", dataIndex: 'sort', width: 50},
{ title: '状态',dataIndex: 'enabled',width:60,align:"center", { title: '状态',dataIndex: 'enabled',width:60,align:"center",
scopedSlots: { customRender: 'customRenderFlag' } scopedSlots: { customRender: 'customRenderFlag' }
},
{
title: '操作',
dataIndex: 'action',
align:"center",
width: 150,
scopedSlots: { customRender: 'action' },
} }
], ],
url: { url: {
......
...@@ -121,6 +121,13 @@ ...@@ -121,6 +121,13 @@
return parseInt(index)+1; return parseInt(index)+1;
} }
}, },
{
title: '操作',
dataIndex: 'action',
scopedSlots: {customRender: 'action'},
align: "center",
width: 100
},
{ title: '登录名称', dataIndex: 'loginName', width: 100, align: "center"}, { title: '登录名称', dataIndex: 'loginName', width: 100, align: "center"},
{ title: '用户数量限制', dataIndex: 'userNumLimit', width: 100, align: "center"}, { title: '用户数量限制', dataIndex: 'userNumLimit', width: 100, align: "center"},
{ title: '租户类型',dataIndex: 'type',width:70,align:"center", { title: '租户类型',dataIndex: 'type',width:70,align:"center",
...@@ -131,14 +138,7 @@ ...@@ -131,14 +138,7 @@
}, },
{ title: '创建时间', dataIndex: 'createTimeStr', width: 100, align: "center"}, { title: '创建时间', dataIndex: 'createTimeStr', width: 100, align: "center"},
{ title: '到期时间', dataIndex: 'expireTimeStr', width: 100, align: "center"}, { title: '到期时间', dataIndex: 'expireTimeStr', width: 100, align: "center"},
{ title: '描述', dataIndex: 'remark', width: 200, align: "center", ellipsis:true}, { title: '描述', dataIndex: 'remark', width: 200, align: "center", ellipsis:true}
{
title: '操作',
dataIndex: 'action',
scopedSlots: {customRender: 'action'},
align: "center",
width: 100
}
], ],
url: { url: {
list: "/tenant/list", list: "/tenant/list",
......
...@@ -105,6 +105,13 @@ ...@@ -105,6 +105,13 @@
return parseInt(index)+1; return parseInt(index)+1;
} }
}, },
{
title: '操作',
dataIndex: 'action',
width:100,
align:"center",
scopedSlots: { customRender: 'action' },
},
{ title: '计量单位', align:"left", dataIndex: 'name', width:200 }, { title: '计量单位', align:"left", dataIndex: 'name', width:200 },
{ title: '基本单位', align:"left", dataIndex: 'basicUnit', width:80 }, { title: '基本单位', align:"left", dataIndex: 'basicUnit', width:80 },
{ title: '副单位', align:"left", dataIndex: 'otherUnit', width:100, { title: '副单位', align:"left", dataIndex: 'otherUnit', width:100,
...@@ -134,13 +141,6 @@ ...@@ -134,13 +141,6 @@
}, },
{ title: '状态',dataIndex: 'enabled',width:60,align:"center", { title: '状态',dataIndex: 'enabled',width:60,align:"center",
scopedSlots: { customRender: 'customRenderFlag' } scopedSlots: { customRender: 'customRenderFlag' }
},
{
title: '操作',
dataIndex: 'action',
width:100,
align:"center",
scopedSlots: { customRender: 'action' },
} }
], ],
url: { url: {
......
...@@ -125,6 +125,13 @@ ...@@ -125,6 +125,13 @@
return parseInt(index)+1; return parseInt(index)+1;
} }
}, },
{
title: '操作',
dataIndex: 'action',
scopedSlots: {customRender: 'action'},
align: "center",
width: 260
},
{ title: '登录名称', dataIndex: 'loginName', width: 100, align: "left"}, { title: '登录名称', dataIndex: 'loginName', width: 100, align: "left"},
{ title: '用户姓名', dataIndex: 'username', width: 100, align: "left"}, { title: '用户姓名', dataIndex: 'username', width: 100, align: "left"},
{ title: '用户类型', dataIndex: 'userType', width: 80, align: "left" }, { title: '用户类型', dataIndex: 'userType', width: 80, align: "left" },
...@@ -134,13 +141,6 @@ ...@@ -134,13 +141,6 @@
{ title: '排序', dataIndex: 'userBlngOrgaDsplSeq', width: 60, align: "left"}, { title: '排序', dataIndex: 'userBlngOrgaDsplSeq', width: 60, align: "left"},
{ title: '状态',dataIndex: 'status',width:70,align:"center", { title: '状态',dataIndex: 'status',width:70,align:"center",
scopedSlots: { customRender: 'customRenderFlag' } scopedSlots: { customRender: 'customRenderFlag' }
},
{
title: '操作',
dataIndex: 'action',
scopedSlots: {customRender: 'action'},
align: "center",
width: 260
} }
], ],
url: { url: {
......
...@@ -128,6 +128,13 @@ ...@@ -128,6 +128,13 @@
return parseInt(index)+1; return parseInt(index)+1;
} }
}, },
{
title: '操作',
dataIndex: 'action',
width: 100,
align:"center",
scopedSlots: { customRender: 'action' },
},
{ title: '名称',dataIndex: 'supplier',width:150,align:"left"}, { title: '名称',dataIndex: 'supplier',width:150,align:"left"},
{ title: '联系人', dataIndex: 'contacts',width:70,align:"left"}, { title: '联系人', dataIndex: 'contacts',width:70,align:"left"},
{ title: '手机号码', dataIndex: 'telephone',width:100,align:"left"}, { title: '手机号码', dataIndex: 'telephone',width:100,align:"left"},
...@@ -139,13 +146,6 @@ ...@@ -139,13 +146,6 @@
{ title: '排序', dataIndex: 'sort', width: 60,align:"left"}, { title: '排序', dataIndex: 'sort', width: 60,align:"left"},
{ title: '状态',dataIndex: 'enabled',width:60,align:"center", { title: '状态',dataIndex: 'enabled',width:60,align:"center",
scopedSlots: { customRender: 'customRenderFlag' } scopedSlots: { customRender: 'customRenderFlag' }
},
{
title: '操作',
dataIndex: 'action',
width: 100,
align:"center",
scopedSlots: { customRender: 'action' },
} }
], ],
url: { url: {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment