|
|
@@ -167,6 +167,7 @@
|
|
|
}
|
|
|
let date = new Date()
|
|
|
let endDate = formatDate(this.applyObj.deadline, 'yyyy-MM-dd hh:mm:ss')
|
|
|
+ let currency = this.applyObj.currency === '不限' ? null : this.applyObj.currency
|
|
|
inquiry.recorderUU = this.user.data.userUU
|
|
|
inquiry.code = 'MALL' + date.getTime()
|
|
|
inquiry.date = date
|
|
|
@@ -181,7 +182,7 @@
|
|
|
inquiryItem.userTel = this.user.data.userTel
|
|
|
inquiryItem.needquantity = this.applyObj.amount
|
|
|
inquiryItem.inbrand = this.applyObj.brand
|
|
|
- inquiryItem.currency = this.applyObj.currency === '不限' ? null : this.applyObj.currency
|
|
|
+ inquiryItem.currency = currency
|
|
|
inquiryItem.cmpCode = (this.applyObj.code).toUpperCase()
|
|
|
inquiryItem.unitPrice = this.applyObj.unitPrice
|
|
|
inquiryItem.produceDate = this.applyObj.produceDate
|
|
|
@@ -191,6 +192,7 @@
|
|
|
let inquiryItems = []
|
|
|
inquiryItems.push(inquiryItem)
|
|
|
inquiry.inquiryItems = inquiryItems
|
|
|
+ inquiry.currency = currency
|
|
|
this.$http.post('/inquiry/buyer/save', inquiry)
|
|
|
.then(response => {
|
|
|
// this.$message.success('发布成功')
|