From: Alexander Smirnov Date: Wed, 15 Jan 2025 14:35:00 +0000 (+0300) Subject: [ERP-272] скролл к столу, min к намбер X-Git-Tag: 1.7~75^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=f45b69aba7f38bf6a4d1b968bf5b20854658d414;p=erp24_rep%2Fyii-erp24%2F.git [ERP-272] скролл к столу, min к намбер --- diff --git a/erp24/views/sales-write-offs-plan/index.php b/erp24/views/sales-write-offs-plan/index.php index 76cca00a..3cc7603d 100644 --- a/erp24/views/sales-write-offs-plan/index.php +++ b/erp24/views/sales-write-offs-plan/index.php @@ -17,6 +17,12 @@ use yii_app\records\SalesWriteOffsPlan; $this->registerJsFile('/js/sales-write-offs-plan/index.js', ['position' => \yii\web\View::POS_END]); +$this->registerCss(' +input[type=number], [name=total_sales_plan] { + max-width: 100px; +} +'); + function colorScheme1($p) { $p = round(100 * $p); if ($p <= 90) { return 'red'; } @@ -53,6 +59,7 @@ function colorScheme2($p) { +
@@ -80,32 +87,32 @@ function colorScheme2($p) { ?> - + - + - + - + - +
МагазиныTotalОффлайн торговляОнлайн торговля
name ?>id) ?> 'number', 'readonly' => true]) ?> true, 'style' => 'background: lightgray;']) ?> % 'number', 'onchange' => 'editField(this);']) ?> 'number', 'min' => 0, 'onchange' => 'editField(this);']) ?> % 'number', 'onchange' => 'editField(this);']) ?> 'number', 'min' => 0, 'onchange' => 'editField(this);']) ?> % 'number', 'onchange' => 'editField(this);']) ?> 'number', 'min' => 0, 'onchange' => 'editField(this);']) ?> % 'number', 'onchange' => 'editField(this);']) ?> 'number', 'min' => 0, 'onchange' => 'editField(this);']) ?> @@ -115,4 +122,5 @@ function colorScheme2($p) {
+