From 91a9d073ba7fb5915d2ee1bf13c86526f8bd537c Mon Sep 17 00:00:00 2001 From: augushong Date: Sat, 8 Oct 2022 18:08:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BE=8B=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/admin/js/mall/goods.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/static/admin/js/mall/goods.js b/public/static/admin/js/mall/goods.js index a0b1f57..dddf040 100644 --- a/public/static/admin/js/mall/goods.js +++ b/public/static/admin/js/mall/goods.js @@ -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; }