信呼OA版本v2.3.8
This commit is contained in:
18
webmain/flow/input/mode_goodsAction.php
Normal file
18
webmain/flow/input/mode_goodsAction.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
class mode_goodsClassAction extends inputAction{
|
||||
|
||||
public function getgoodstype()
|
||||
{
|
||||
$rows = m('goods')->getgoodstype();
|
||||
return $rows;
|
||||
}
|
||||
|
||||
protected function savebefore($table, $arr, $id, $addbo){
|
||||
$bo = m('goods')->existsgoods($arr, $id);
|
||||
if($bo)return '改物品已存在了';
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user