|
@@ -30,6 +30,14 @@ $servicer = function() {
|
|
|
return Dever::db('scm_servicer/info')->state();
|
|
|
};
|
|
|
|
|
|
+
|
|
|
+$in_type = array
|
|
|
+(
|
|
|
+ 1 => '不生成',
|
|
|
+ 2 => '生成仓库入库单',
|
|
|
+ //3 => '生成经销商入库单',
|
|
|
+);
|
|
|
+
|
|
|
return array
|
|
|
(
|
|
|
# 表名
|
|
@@ -129,16 +137,30 @@ return array
|
|
|
//'list' => true,
|
|
|
),
|
|
|
|
|
|
- 'in_servicer_store_id' => array
|
|
|
+ 'in_type' => array
|
|
|
(
|
|
|
'type' => 'int-11',
|
|
|
- 'name' => '入库仓库',
|
|
|
+ 'name' => '同时生成入库单',
|
|
|
+ 'default' => '1',
|
|
|
+ 'desc' => '同时生成入库单',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+ 'update' => 'select',
|
|
|
+ 'option' => $in_type,
|
|
|
+ //'list' => true,
|
|
|
+ 'control' => 'in_type',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'in_type_id' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => '入库组织',
|
|
|
'default' => '',
|
|
|
- 'desc' => '入库仓库',
|
|
|
+ 'desc' => '入库组织',
|
|
|
'match' => 'is_numeric',
|
|
|
'update' => 'select',
|
|
|
- 'option' => $store,
|
|
|
+ 'update_search' => 'scm_product/lib/manage.searchRole?servicer_id='.$servicer_id.'&{in_type}',
|
|
|
'show' => 'type=1',
|
|
|
+ 'show' => 'in_type=2,3',
|
|
|
//'list' => 'Dever::load("scm_servicer/store-one#name", {servicer_store_id})',
|
|
|
),
|
|
|
|