mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
增加例子
This commit is contained in:
@@ -52,7 +52,10 @@ define(["jquery", "easy-admin"], function ($, ea) {
|
||||
},
|
||||
{ field: 'total_stock', width: 100, title: '库存统计', totalRow: '{{= parseInt(d.TOTAL_NUMS) }} 个' },
|
||||
{
|
||||
field: 'stock', width: 100, title: '剩余库存', valueParser(value, data) {
|
||||
field: 'stock',
|
||||
width: 100,
|
||||
title: '剩余库存',
|
||||
valueParser(value, data) {
|
||||
if (value >= 20) {
|
||||
return value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user