From 41fe81d4a1ce3121bcda722a6e775e002b43788f Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Fri, 1 Jul 2022 02:49:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/TestingResource/apply.html | 3 ++- Application/Home/View/default/TestingResource/apply.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Application/Admin/View/TestingResource/apply.html b/Application/Admin/View/TestingResource/apply.html index bd00ef9d1..c0a5a7208 100644 --- a/Application/Admin/View/TestingResource/apply.html +++ b/Application/Admin/View/TestingResource/apply.html @@ -488,11 +488,12 @@ body { if (num <= 0) { return layer.msg('资源数量需要大于0') } + var numReadonly = isEnableNum == 1 ? '' : 'readonly' var html = '' + '' + resourceTypeName + '' + '' + resourceName + '' + '' + amount + '' + - '' + + '' + '' + '' + ''; diff --git a/Application/Home/View/default/TestingResource/apply.html b/Application/Home/View/default/TestingResource/apply.html index 656b0dbd5..2031a9b88 100644 --- a/Application/Home/View/default/TestingResource/apply.html +++ b/Application/Home/View/default/TestingResource/apply.html @@ -442,11 +442,12 @@ return layer.msg('资源数量需要大于0') } + var numReadonly = isEnableNum == 1 ? '' : 'readonly' var html = '' + '' + resourceTypeName + '' + '' + resourceName + '' + '' + amount + '' + - '' + + '' + '' + '' + '';