|
@@ -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}
|