Explorar o código

收货-收货成功清空当前数据

zhaohuanhuan hai 8 meses
pai
achega
c198b895bd
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/views/inbound/takeDelivery/task/index.vue

+ 2 - 0
src/views/inbound/takeDelivery/task/index.vue

@@ -699,6 +699,8 @@ const onConfirm = () => {
       scanSuccess()
       showNotify({ type: 'success', duration: 3000, message: `${searchBarcode.value}收货完成,请继续收货!`})
       setBarcode(taskNo.value, '2')
+      reset()
+      taskInfo.value={}
       scanType.value=2
       closeLoading()
     }).catch(err => {