|
|
@@ -251,6 +251,7 @@ class QcodeProduct extends Backend
|
|
|
'main_unit' =>$req['row']['main_unit'],
|
|
|
'sec_unit' =>$req['row']['sec_unit'],
|
|
|
'proportion' =>$req['row']['proportion'],
|
|
|
+ 'code' =>substr($req['row']['product_code'],0,4),
|
|
|
'create_time' =>time(),
|
|
|
];
|
|
|
//插入数据
|