From 50581f75c8d392b17c79bc6f8550ec2b59e144dc Mon Sep 17 00:00:00 2001 From: travis <310243791@qq.com> Date: Sat, 7 Dec 2019 16:53:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=AE=A2=E5=8D=95=E5=8F=91=E8=B4=A7?= =?UTF-8?q?=E5=95=86=E5=93=81js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/modules/shop/views/order/_form.php | 18 +---- .../shop/views/order/delivery_goods.php | 69 ++++++++++--------- 2 files changed, 39 insertions(+), 48 deletions(-) diff --git a/backend/modules/shop/views/order/_form.php b/backend/modules/shop/views/order/_form.php index 881787b..a630ef8 100755 --- a/backend/modules/shop/views/order/_form.php +++ b/backend/modules/shop/views/order/_form.php @@ -12,18 +12,8 @@ use yii\widgets\ActiveForm; - field($model, 'user_id')->textInput() ?> - - field($model, 'order_sn')->textInput(['maxlength' => true]) ?> - field($model, 'invoice_id')->textInput(['maxlength' => true]) ?> - field($model, 'status')->textInput() ?> - - field($model, 'type')->textInput() ?> - - field($model, 'goods_count')->textInput() ?> - field($model, 'goods_amount')->textInput() ?> field($model, 'shipping_amount')->textInput() ?> @@ -42,12 +32,6 @@ use yii\widgets\ActiveForm; field($model, 'taking_site')->textInput() ?> - field($model, 'pay_type')->textInput() ?> - - field($model, 'pay_at')->textInput() ?> - - field($model, 'payment_sn')->textInput(['maxlength' => true]) ?> - field($model, 'payment_amount')->textInput() ?> field($model, 'receivables')->textInput() ?> @@ -56,7 +40,7 @@ use yii\widgets\ActiveForm; field($model, 'discount_amount')->textInput() ?> - field($model, 'discount_decription')->textarea(['rows' => 6]) ?> + field($model, 'discount_description')->textarea(['rows' => 6]) ?>
'btn btn-success']) ?> diff --git a/backend/modules/shop/views/order/delivery_goods.php b/backend/modules/shop/views/order/delivery_goods.php index fd710b2..11a0a95 100644 --- a/backend/modules/shop/views/order/delivery_goods.php +++ b/backend/modules/shop/views/order/delivery_goods.php @@ -41,7 +41,7 @@ " + item.lack_number + "" + "" + "" + - "" + - "" + + "" + + "" + "" + ""; $('.unShipped-table').append(tr) @@ -100,35 +129,13 @@ $js = <<