edit-admin-srv_price

This commit is contained in:
lccsw
2022-06-16 14:51:23 +08:00
parent f2d31ebc14
commit de785fa3bc
2 changed files with 6 additions and 8 deletions
@@ -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']]
];
}
}
}
+1 -1
View File
@@ -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>
<?}?>