|
@@ -503,9 +503,8 @@ export default {
|
|
method: 'post',
|
|
method: 'post',
|
|
data
|
|
data
|
|
}).then(({ data }) => {
|
|
}).then(({ data }) => {
|
|
- if(type == 'submit') {
|
|
|
|
- this.submit(2)
|
|
|
|
- } else {
|
|
|
|
|
|
+
|
|
|
|
+ // } else {
|
|
this.ruleForm.goodsList.forEach((item, index) => {
|
|
this.ruleForm.goodsList.forEach((item, index) => {
|
|
this.calculateKeyList.forEach(key => {
|
|
this.calculateKeyList.forEach(key => {
|
|
item[key] = data[index][key]
|
|
item[key] = data[index][key]
|
|
@@ -513,8 +512,11 @@ export default {
|
|
// item.purchaseGuaranteeMoney = data[index].purchaseGuaranteeMoney
|
|
// item.purchaseGuaranteeMoney = data[index].purchaseGuaranteeMoney
|
|
})
|
|
})
|
|
this.calculateTotal()
|
|
this.calculateTotal()
|
|
|
|
+ if(type == 'submit') {
|
|
|
|
+ this.submit(2)
|
|
|
|
+ }
|
|
// this.isLoading = false
|
|
// this.isLoading = false
|
|
- }
|
|
|
|
|
|
+ // }
|
|
}, () => {
|
|
}, () => {
|
|
// this.isLoading = false
|
|
// this.isLoading = false
|
|
})
|
|
})
|