入库功能增加相机预览及拍照
This commit is contained in:
@@ -15,8 +15,8 @@ import java.io.File
|
||||
@SuppressLint("NotifyDataSetChanged")
|
||||
class GoodsRecognizeDialog(
|
||||
context: Context,
|
||||
var goodsFile: File?=null,
|
||||
var goodsName: String?=null,
|
||||
var goodsFile: File? = null,
|
||||
var goodsName: String? = null,
|
||||
var list: MutableList<SearchGoodsInfo.Record>,
|
||||
//var closeCallback:()->Unit,
|
||||
var findGoods: () -> Unit
|
||||
@@ -55,7 +55,11 @@ class GoodsRecognizeDialog(
|
||||
}
|
||||
|
||||
private fun showGoodsStoreDialog(position: Int) {
|
||||
GoodsStoreDialog(context, list[position]) {
|
||||
GoodsStoreDialog(
|
||||
context = context,
|
||||
funcType = 0,
|
||||
goods = list[position]
|
||||
) {
|
||||
activity?.addGoods(it)
|
||||
activity?.startTime = System.currentTimeMillis()
|
||||
dismiss()
|
||||
|
||||
Reference in New Issue
Block a user