|
|
@@ -241,7 +241,7 @@
|
|
|
inquiry.enUU = this.user.data.enterprise.uu
|
|
|
}
|
|
|
let date = new Date()
|
|
|
- let currency = this.applyObj.currency === '不限' ? null : this.applyObj.currency
|
|
|
+ let currency = this.applyObj.unitPrice ? this.applyObj.currency : null
|
|
|
inquiry.recorderUU = this.user.data.userUU
|
|
|
inquiry.code = 'MALL' + date.getTime()
|
|
|
inquiry.date = date
|
|
|
@@ -257,7 +257,7 @@
|
|
|
inquiryItem.needquantity = this.applyObj.amount
|
|
|
inquiryItem.inbrand = this.applyObj.brand
|
|
|
inquiryItem.currency = currency
|
|
|
- inquiryItem.cmpCode = (this.applyObj.code).toUpperCase()
|
|
|
+ inquiryItem.cmpCode = this.applyObj.code.toUpperCase()
|
|
|
inquiryItem.unitPrice = this.applyObj.unitPrice
|
|
|
inquiryItem.produceDate = this.applyObj.produceDate
|
|
|
inquiryItem.date = date
|
|
|
@@ -268,7 +268,7 @@
|
|
|
let inquiryItems = []
|
|
|
inquiryItems.push(inquiryItem)
|
|
|
inquiry.inquiryItems = inquiryItems
|
|
|
- inquiry.currency = currency
|
|
|
+ inquiry.currency = this.applyObj.unitPrice ? this.applyObj.currency : null
|
|
|
this.$http.post('/inquiry/buyer/save', inquiry)
|
|
|
.then(response => {
|
|
|
this.$message.success('发布成功')
|
|
|
@@ -564,7 +564,7 @@
|
|
|
text-align: left;
|
|
|
margin-left: 14px;
|
|
|
.form-item {
|
|
|
- margin-bottom: 4px;
|
|
|
+ margin-bottom: 3px;
|
|
|
position: relative;
|
|
|
span {
|
|
|
width: 80px;
|