edit-admin-srv_price
This commit is contained in:
@@ -1171,13 +1171,11 @@ class Orders extends HD_Controller
|
||||
$where["id in ($ids)"] = null;
|
||||
$rows = $this->services_model->map('id','title',$where,'','','','id,title');
|
||||
foreach($services as $key=>$val){
|
||||
if($val['key']!='price_insure'){ //保险费不收
|
||||
$lists[] = [
|
||||
'title' => $rows[$val['id']],
|
||||
'key' => $val['key'],
|
||||
'money' => $money_json[$val['key']]
|
||||
];
|
||||
}
|
||||
$lists[] = [
|
||||
'title' => $rows[$val['id']],
|
||||
'key' => $val['key'],
|
||||
'money' => $money_json[$val['key']]
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<?=$value['title']?>:
|
||||
</label>
|
||||
<div class="am-para-input">
|
||||
<input type="text" value="<?=$value['money']?>" name="money[<?=$value['key']?>][value]"/>
|
||||
<input type="text" value="<?=$value['money']?>" name="money[<?=$value['key']?>][value]" <?=$value['key']=='price_insure' ? 'readonly' : ''?>/>
|
||||
</div>
|
||||
</div>
|
||||
<?}?>
|
||||
|
||||
Reference in New Issue
Block a user