'add_bus']); } ?> registerJs('z.init()'); ?>
安全机务 / 车辆管理 / 添加车辆
'/motorcade/base-bus/add-bus?tab=tab2', 'id' => 'form', 'enableAjaxValidation' => true, 'validationUrl' => Url::toRoute(['validate-form']), 'options' => ['class' => 'form-horizontal', 'style' => 'border-left:1px solid #ddd;border-right:1px solid #ddd;border-bottom:1px solid #ddd']]); ?>
*所属车队: field($model, 'BUS_BELONG')->radioList(\yii\helpers\ArrayHelper::map(DictType::findAll(['PARENT_ID' => 522]), 'ID', 'TYPE_NAME'), ['style' => 'display:inline-block;', 'onclick' => 'showBusCompany(\'BusSearch\')'])->label(false) ?>
*车牌号: field($model, 'BUS_NO')->textInput(['placeholder' => '请输入车牌号', 'style' => 'width:275px;'])->label(false) ?>
*品牌: field($model, 'BRAND_ID')->dropDownList(\yii\helpers\ArrayHelper::map(BusSearch::getBrands(), 'res_id', 'res_name'), ['prompt' => '请选择', 'class' => 'form-control', 'style' => 'width:275px'])->label(false)->error(false) ?>
型号: field($model, 'BUS_LICENSE')->textInput(['placeholder' => '请输入型号', 'style' => 'width:275px;display:inline-block'])->label(false)->error(false) ?>
*燃料形式: field($model, 'FUEL_FORM')->dropDownList(\yii\helpers\ArrayHelper::map(BusSearch::getFuel(), 'id', 'type_name'), ['prompt' => '请选择', 'class' => 'form-control', 'id' => 'fuelType', 'onChange' => 'fuelChange()', 'style' => 'width:275px;display:inline-block'])->label(false)->error(false) ?>
标准油耗: field($model, 'MPG')->textInput(['placeholder' => '请输入标准油耗', 'style' => 'width:150px;display:inline-block;'])->label(false); ?>
升 / 百公里
*座位:
客座数: field($model, 'SEAT_TYPE')->dropDownList(\yii\helpers\ArrayHelper::map($model->getSeatType(), 'id', 'type_name'), ['prompt' => '请选择', 'class' => 'form-control', 'style' => 'display:inline-block;', 'id' => 'seat_type', 'onchange' => 'changeSeatCount()'])->label(false)->error(false) ?> 'seat_count1']) ?> field($model, 'BUS_TYPE_RES_ID')->dropDownList(\yii\helpers\ArrayHelper::map($data, 'res_id', 'res_name'), ['prompt' => '请选择', 'class' => 'form-control', 'id' => 'seat_count', 'style' => 'display:inline-block;width:100px;vertical-align: top;', 'onchange' => 'changeSeatCount1()'])->label(false)->error(false) ?>
核载数: field($model, 'MAX_COUNT')->textInput(['placeholder' => '请输入核载数', 'style' => 'width:100px;display:inline-block;'])->label(false); ?>
*购车日期: field($model, 'BUY_DATE', ['template' => '
' . '{input}' . '
'])->textInput([$op_true_false => '', 'value' => $basic_info['BUY_DATE']]) ?>
*注册日期: field($model, 'REGISTER_TIME', ['template' => '
' . '{input}' . '
'])->textInput([$op_true_false => '', 'value' => $basic_info['REGISTER_TIME']]) ?>
经营属性: field($model, 'BUSINESS_TYPE')->dropDownList(BusSearch::BUS_BUSINESS_TYPE, ['prompt' => '请选择', 'class' => 'form-control', 'id' => 'business_type', 'style' => 'width:275px;display:inline-block'])->label(false)->error(false) ?>
车身属性: field($model, 'SURFACE_TYPE')->dropDownList(BusSearch::BUS_SURFACE_TYPE, ['prompt' => '请选择', 'class' => 'form-control', 'id' => 'surface_type', 'style' => 'width:275px;display:inline-block'])->label(false)->error(false) ?>