attributes = get_params(); $form->store_id = get_store_id(); $form->user_id = get_user_id(); return $form->search(); } /** * 我的溯源记录内容 * @return \yii\web\Response */ public function actionMyProductBatchProcessSheet() { $form = new MyProductBatchProcessSheetForm(); $form->attributes = get_params(); $form->store_id = get_store_id(); $form->user_id = get_user_id(); return $form->search(); } /** * 我的溯源记录内容保存 * @return \yii\web\Response */ public function actionProductBatchProcessLogSheetEdit() { $form = new ProductBatchProcessLogSheetEditForm(); $form->attributes = post_params(); $form->store_id = get_store_id(); $form->user_id = get_user_id(); return $form->edit(); } /** * 我的溯源记录内容撤销 * @return \yii\web\Response */ public function actionProductBatchProcessLogSheetDel() { $form = new ProductBatchProcessLogSheetEditForm(); $form->attributes = get_params(); $form->store_id = get_store_id(); $form->user_id = get_user_id(); return $form->del(); } /** * 溯源记录列表 * @return \yii\web\Response */ public function actionProductBatchProcessLogList() { $form = new ProductBatchProcessLogListForm(); $form->attributes = get_params(); $form->store_id = get_store_id(); $form->user_id = get_user_id(); return $form->search(); } /** * 溯源记录详情 * @return \yii\web\Response */ public function actionProductBatchProcessLogDetail() { $form = new ProductBatchProcessLogListForm(); $form->attributes = get_params(); $form->store_id = get_store_id(); $form->user_id = get_user_id(); return $form->detail(); } /** * 历史溯源 * @return \yii\web\Response */ public function actionProductBatchProcessLogHistory() { $form = new ProductBatchProcessLogHistoryForm(); $form->attributes = get_params(); $form->store_id = get_store_id(); $form->user_id = get_user_id(); return $form->search(); } /** * 溯源专区 * @return \yii\web\Response */ public function actionProductBatchProcessArea() { $form = new ProductBatchProcessAreaForm(); $form->attributes = get_params(); $form->store_id = get_store_id(); $form->user_id = get_user_id(); return $form->search(); } /** * 溯源详情 * @return \yii\web\Response */ public function actionProductBatchProcessDetail() { $form = new ProductBatchProcessDetailForm(); $form->attributes = get_params(); $form->store_id = get_store_id(); $form->user_id = get_user_id(); return $form->search(); } /** * 保存溯源阅读记录 * @return \yii\web\Response */ public function actionProductBatchProcessLogRead() { $form = new ProductBatchProcessLogReadForm(); $form->attributes = post_params(); $form->store_id = get_store_id(); $form->user_id = get_user_id(); return $form->save(); } }