goods checkinfo add buy_price

This commit is contained in:
qianhy
2023-05-06 15:05:17 +08:00
committed by lccsw
parent f17cba5106
commit ceb0ff3cd4
+2
View File
@@ -579,6 +579,8 @@ class Goods extends HD_Controller
$msg = '请选择入库时间';
} else if (!$info['company_id']) {
$msg = '请选择公司归属';
} else if (!$info['buy_price'] || $info['buy_price'] <= 0.0) {
$msg = '请输入采购成本';
} else {
$code = SYS_CODE_SUCCESS;
}