root 1 年之前
父节点
当前提交
a5c387a6c9
共有 1 个文件被更改,包括 11 次插入11 次删除
  1. 11 11
      src/views/page/Dispatch/detail.vue

+ 11 - 11
src/views/page/Dispatch/detail.vue

@@ -194,18 +194,18 @@ export default {
         })
         // let ji = ['\"425A3030303235\"']
         // console.log(JSON.stringify(ji))
-        let text = ["BZ00070"]
-        // if (localStorage.getItem('fyy_target')) {
-        //   // console.log(JSON.parse(localStorage.getItem('fyy_target')))
-        //   let target = JSON.parse(localStorage.getItem('fyy_target'))
-        //   localStorage.removeItem('fyy_target')
-        //   // this.$Message.warning(localStorage.getItem('fyy_target'))
-        //   target.forEach(v => {
-        //     v = v.replace(/\"/g, '')
-        //     text.push(this.func.hexToString(v))
-        //   })
+        let text = []
+        if (localStorage.getItem('fyy_target')) {
+          // console.log(JSON.parse(localStorage.getItem('fyy_target')))
+          let target = JSON.parse(localStorage.getItem('fyy_target'))
+          localStorage.removeItem('fyy_target')
+          // this.$Message.warning(localStorage.getItem('fyy_target'))
+          target.forEach(v => {
+            v = v.replace(/\"/g, '')
+            text.push(this.func.hexToString(v))
+          })
         //   // console.log(text)
-        // }
+        }
         const dataBox = {
           url: 'http://121.36.142.167:7774/jbl/api/module-data/box_orders/box_orders/diy/defective_order_no_list',
           post: { "defective_order_no_list":text}