|
@@ -986,13 +986,6 @@ export default {
|
|
|
this.loading = true
|
|
|
const model = JSON.parse(JSON.stringify(this.ruleForm))
|
|
|
|
|
|
- // 去除上送字段空格&换行
|
|
|
- Object.keys(model).forEach(key => {
|
|
|
- if (typeof model[key] === 'string') {
|
|
|
- model[key] = replaceTextWrapAndSpace(model[key])
|
|
|
- }
|
|
|
- })
|
|
|
-
|
|
|
model.order_addr = []
|
|
|
const { sendtype, good_num } = model
|
|
|
const { order_addr } = JSON.parse(JSON.stringify(this.addrForm))
|
|
@@ -1031,8 +1024,11 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // 去除上送字段空格&换行
|
|
|
Object.keys(model).forEach(key => {
|
|
|
- if (typeof model[key] === 'string') { model[key] = replaceTextWrapAndSpace(model[key]) }
|
|
|
+ if (typeof model[key] === 'string' && key !== 'arrtime') {
|
|
|
+ model[key] = replaceTextWrapAndSpace(model[key])
|
|
|
+ }
|
|
|
})
|
|
|
|
|
|
const res = await asyncRequest.consultorder(model)
|