registerJs('z.init()'); ?>
合作管理 / 客户管理 /
['class' => 'form-horizontal', 'data-pjax' => true]]); ?>
field($model, 'depart_type', ['options' => ['class' => 'col_5']])->radioList(['469' => '企业', '470' => '个人'], ['class' => 'col-sm-5 radio-z']); ?>
field($model, 'depart_name', ['template' => '{label}
{input}' . '
{hint}{error}
', 'options' => ['class' => 'col_5']])->textInput(['placeholder' => '输入客户名称', ['class' => 'form-control']]) ?>
field($model, 'company_name', ['template' => '{label}
{input}' . '
{hint}{error}
', 'options' => ['class' => 'col_5']])->textInput(['placeholder' => '输入公司全称', ['class' => 'form-control']]) ?>
field($model, 'sales_man_id', ['template' => '{label}
{input}' . '{hint}{error}
', 'options' => ['class' => 'col_5']])->dropDownList(ArrayHelper::map($data['Salesman'], 'ID', 'TRUE_NAME'), ['class' => 'form-control select_screen', 'style' => 'width:172px;']) ?>
field($model, 'settle_type', ['options' => ['class' => 'col_5']])->radioList(['474' => '挂账', '190' => '预付', '292' => '单结'], ['class' => 'col-sm-5 radio-z'])->error(false); ?>
field($model, 'settle_cycle', ['options' => ['class' => 'col_5']])->radioList(['295' => '月结', '294' => '周结', '298' => '年付'], ['class' => 'col-sm-5 radio-z'])->error(false); ?>
$link) { ?>
姓名 电话 类型 操作
field($link, "[$key]id")->textInput()->hiddenInput(['value' => $link['id']]); echo Html::hiddenInput("tr_no", $key); ?>
field($link, "[$key]contact_name")->textInput(['placeholder' => '输入联系人姓名', ['class' => 'form-control']])->label(false)->error(false); ?>
field($link, "[$key]contact_mobile")->textInput(['placeholder' => '输入联系人电话', ['class' => 'form-control']])->label(false)->error(false); ?>
field($link, "[$key]contact_type", ['template' => '
{input}' . '
{hint}{error}
'], ['options' => ['class' => '']])->dropDownList(['606' => '车调', '607' => '采购', '608' => '财务'], ['class' => 'form-control'])->error(false) ?>
isNewRecord ? '保 存' : '保 存', ['class' => $model->isNewRecord ? 'btn btn-primary' : 'btn btn-primary', 'style' => 'width:82px;', 'onclick' => 'loading()']) ?> 'btn btn-default', 'data-dismiss' => 'modal', 'onclick' => 'window.open("about:blank", "_top").close()', 'style' => 'width:82px;margin-left:5px;']) ?> $model->isNewRecord ? 'btn btn-primary' : 'btn btn-primary', 'name' => 'pass', 'style' => 'width:82px;', 'onclick' => 'loading()']) ?> 'btn btn-default', 'data-dismiss' => 'modal', 'style' => 'margin-left:5px;width:82px;', 'name' => 'reject', 'onclick' => 'loading()']) ?> 'btn btn-default', 'id' => 'close', 'data-dismiss' => 'modal', 'onclick' => 'window.open("about:blank", "_top").close()', 'style' => 'width:82px;']) ?>