|
|
@@ -337,6 +337,8 @@ export default function usePhotography() {
|
|
|
action_index: 1,
|
|
|
number_focus: 0,
|
|
|
take_picture: false,
|
|
|
+ point_name:data.point_name,
|
|
|
+ is_move_device: data.is_move_device,
|
|
|
pre_delay: 0,
|
|
|
after_delay: 0,
|
|
|
}
|
|
|
@@ -346,10 +348,10 @@ export default function usePhotography() {
|
|
|
clientStore.ipc.on(icpList.socket.message + '_run_mcu_single', async (event, result) => {
|
|
|
console.log('_run_mcu_single_row')
|
|
|
clientStore.ipc.removeAllListeners(icpList.socket.message + '_run_mcu_single');
|
|
|
- this_re_take_picture()
|
|
|
+ this_re_take_picture(data)
|
|
|
})
|
|
|
}
|
|
|
- async function this_re_take_picture() {
|
|
|
+ async function this_re_take_picture(data) {
|
|
|
|
|
|
await ElMessageBox.alert('已复位到该视图下,请把鞋子摆放完毕之后,点击按钮开始重拍', '提示', {
|
|
|
confirmButtonText: "开始重拍",
|
|
|
@@ -362,7 +364,12 @@ export default function usePhotography() {
|
|
|
|
|
|
socketStore.sendMessage({
|
|
|
type: 'smart_shooter_photo_take',
|
|
|
- "data": { "id": img.id, "goods_art_no": img.goods_art_no },
|
|
|
+ "data": {
|
|
|
+ "id": img.id,
|
|
|
+ "goods_art_no": img.goods_art_no,
|
|
|
+ point_name:data.point_name,
|
|
|
+ is_move_device: data.is_move_device
|
|
|
+ },
|
|
|
})
|
|
|
}
|
|
|
|