去掉无用的参数

修改表单构建关联字段的逻辑
修改外部插件说明
This commit is contained in:
2021-03-01 03:02:47 +08:00
parent 2418516c49
commit eebbdf279e
63 changed files with 1273 additions and 1380 deletions
+2 -2
View File
@@ -76,7 +76,7 @@ class Record09Hook
} else {
$post_type = 'postRecord09';
}
// 同步数据到yonyou
// 同步数据到外部接口
$ret = plugin_sync_api($post_type, ['master' => $master, 'rows' => $rows]);
if ($ret['success'] == true) {
return $params;
@@ -88,7 +88,7 @@ class Record09Hook
$id = $params['id'];
$master = DB::table('stock_record09')->where('id', $id)->first();
// 检查用友单据是否存在
// 检查外部接口单据是否存在
if ($master['type_id'] == 2) {
$ret = plugin_sync_api('getVouchExist', ['table' => 'DispatchList', 'field' => 'cDLCode', 'value' => $master['sn']]);
if ($ret['msg'] > 0) {