Browse Source

2024/06/27

master
zelian_wu 2 years ago
parent
commit
1918ef5dd0
  1. 9
      src/views/modules/finshProduct/outWarehouse/shipmentBox.vue

9
src/views/modules/finshProduct/outWarehouse/shipmentBox.vue

@ -125,12 +125,15 @@ export default {
this.form.rollNo = '' this.form.rollNo = ''
return return
} }
let scanRow = val.split(',')
let scanRow = val.split('|')
if (scanRow.length < 4){
this.$message.warning("二维码格式有误!")
return
}
let params = { let params = {
...this.form, ...this.form,
id:null, id:null,
rollNo:scanRow[1],
site:scanRow[0],
rollNo:scanRow[3],
createBy:this.$store.state.user.name, createBy:this.$store.state.user.name,
} }
saveShipmentRollData(params).then(({data})=>{ saveShipmentRollData(params).then(({data})=>{

Loading…
Cancel
Save