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 + '' + - '' + + '' + '' + '' + '';