1
0

mode_finkaiAction.php 723 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * 此文件是流程模块【finkai.开票申请】对应控制器接口文件。
  4. */
  5. class mode_finkaiClassAction extends inputAction{
  6. protected function savebefore($table, $arr, $id, $addbo){
  7. $rows['type'] = '5';//一定要是5,不能去掉
  8. return array(
  9. 'rows'=>$rows
  10. );
  11. }
  12. protected function saveafter($table, $arr, $id, $addbo){
  13. }
  14. public function selectcust()
  15. {
  16. $rows = m('crm')->getmycust($this->adminid, $this->rock->arrvalue($this->rs, 'custid'));
  17. return $rows;
  18. }
  19. public function getotherAjax()
  20. {
  21. $id = (int)$this->get('id','0');
  22. $rs = m('customer')->getone($id, 'id,shibieid,openbank,cardid,address,tel');
  23. return $rs;
  24. }
  25. }
粤ICP备19079148号