|
@@ -542,13 +542,13 @@ const reTakePicture = async (img)=>{
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ clientStore.ipc.removeAllListeners(icpList.socket.message + '_digicam_take_picture');
|
|
|
socketStore.sendMessage({
|
|
socketStore.sendMessage({
|
|
|
- type: 're_take_picture',
|
|
|
|
|
- "data":{"record_id":img.id},
|
|
|
|
|
|
|
+ type: 'digicam_take_picture',
|
|
|
|
|
+ "data":{"id":img.id,"goods_art_no":img.goods_art_no},
|
|
|
})
|
|
})
|
|
|
- clientStore.ipc.removeAllListeners(icpList.socket.message + '_re_take_picture');
|
|
|
|
|
- clientStore.ipc.on(icpList.socket.message + '_re_take_picture', (event, result) => {
|
|
|
|
|
- console.log('_re_take_picture')
|
|
|
|
|
|
|
+ clientStore.ipc.on(icpList.socket.message + '_digicam_take_picture', (event, result) => {
|
|
|
|
|
+ console.log('_digicam_take_picture')
|
|
|
console.log(result)
|
|
console.log(result)
|
|
|
|
|
|
|
|
runLoading.value = false;
|
|
runLoading.value = false;
|