|
@@ -2744,18 +2744,20 @@ export default {
|
|
|
map.theoryWeight = e.netWeight
|
|
|
}
|
|
|
let reg = /钢材.*组/g
|
|
|
- let reg1 = /直发.*(,|\s){0,1}/
|
|
|
+
|
|
|
let saleArea = e.saleRemarkByasm.replace(',', ',').match(reg)[0]
|
|
|
- let directly = e.saleRemarkByasm.replace(',', ',').match(reg1)
|
|
|
+ let directly = e.saleRemarkByasm.replace(',', ',').split(',')[1]
|
|
|
+ console.log(directly, 'directly')
|
|
|
if (saleArea != null) {
|
|
|
map.saleArea = saleArea
|
|
|
}
|
|
|
- if (directly != null && directly.length > 0) {
|
|
|
- map.saleArea =
|
|
|
- map.saleArea + ',' + directly[0].toString().replace(',', '')
|
|
|
+ if (directly != null && directly != '') {
|
|
|
+ map.saleArea = map.saleArea + ',' + directly
|
|
|
}
|
|
|
return map
|
|
|
})
|
|
|
+ console.log(arr)
|
|
|
+ return
|
|
|
if (!item.addressPlace.includes(item.inboundWarehouse)) {
|
|
|
this.$confirm('所填仓库与下货地址不匹配,是否继续', '提示', {
|
|
|
cancelButtonText: '取消',
|