|
@@ -22,7 +22,7 @@
|
|
|
<!--size="mini">-->
|
|
<!--size="mini">-->
|
|
|
<!--</el-date-picker>-->
|
|
<!--</el-date-picker>-->
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="content-line">
|
|
|
|
|
|
|
+ <!--<div class="content-line">
|
|
|
<span>币种:</span>
|
|
<span>币种:</span>
|
|
|
<a v-text="applyObj.currency" @click="setShowCurrencyList(!showCurrencyList, $event)"></a>
|
|
<a v-text="applyObj.currency" @click="setShowCurrencyList(!showCurrencyList, $event)"></a>
|
|
|
<img v-if="!showCurrencyList" src="/images/mobile/@2x/applyPurchase/currency-arrow-down.png" alt="">
|
|
<img v-if="!showCurrencyList" src="/images/mobile/@2x/applyPurchase/currency-arrow-down.png" alt="">
|
|
@@ -32,15 +32,15 @@
|
|
|
<li @click="setCurrency('RMB')">RMB</li>
|
|
<li @click="setCurrency('RMB')">RMB</li>
|
|
|
<li @click="setCurrency('USD')">USD</li>
|
|
<li @click="setCurrency('USD')">USD</li>
|
|
|
</ul>
|
|
</ul>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div>-->
|
|
|
<div class="content-line">
|
|
<div class="content-line">
|
|
|
<span>数量:</span>
|
|
<span>数量:</span>
|
|
|
<input type="text" v-model="applyObj.amount" @blur="checkAmount" @input="onAmountInput">
|
|
<input type="text" v-model="applyObj.amount" @blur="checkAmount" @input="onAmountInput">
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="content-line">
|
|
|
|
|
|
|
+ <!--<div class="content-line">
|
|
|
<span>生产日期:</span>
|
|
<span>生产日期:</span>
|
|
|
<input type="text" v-model="applyObj.produceDate" @input="onProduceDateChange">
|
|
<input type="text" v-model="applyObj.produceDate" @input="onProduceDateChange">
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div>-->
|
|
|
<a @click="goPublish">确认发布</a>
|
|
<a @click="goPublish">确认发布</a>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -167,7 +167,8 @@
|
|
|
}
|
|
}
|
|
|
let date = new Date()
|
|
let date = new Date()
|
|
|
let endDate = formatDate(this.applyObj.deadline, 'yyyy-MM-dd hh:mm:ss')
|
|
let endDate = formatDate(this.applyObj.deadline, 'yyyy-MM-dd hh:mm:ss')
|
|
|
- let currency = this.applyObj.currency === '不限' ? null : this.applyObj.currency
|
|
|
|
|
|
|
+// let currency = this.applyObj.currency === '不限' ? null : this.applyObj.currency
|
|
|
|
|
+ let currency = null
|
|
|
inquiry.recorderUU = this.user.data.userUU
|
|
inquiry.recorderUU = this.user.data.userUU
|
|
|
inquiry.code = 'MALL' + date.getTime()
|
|
inquiry.code = 'MALL' + date.getTime()
|
|
|
inquiry.date = date
|
|
inquiry.date = date
|
|
@@ -185,7 +186,7 @@
|
|
|
inquiryItem.custCurrency = currency
|
|
inquiryItem.custCurrency = currency
|
|
|
inquiryItem.cmpCode = (this.applyObj.code).toUpperCase()
|
|
inquiryItem.cmpCode = (this.applyObj.code).toUpperCase()
|
|
|
inquiryItem.unitPrice = this.applyObj.unitPrice
|
|
inquiryItem.unitPrice = this.applyObj.unitPrice
|
|
|
- inquiryItem.produceDate = this.applyObj.produceDate
|
|
|
|
|
|
|
+ inquiryItem.produceDate = null
|
|
|
inquiryItem.date = date
|
|
inquiryItem.date = date
|
|
|
inquiryItem.endDate = endDate
|
|
inquiryItem.endDate = endDate
|
|
|
inquiryItem.encapsulation = this.applyObj.encapsulation
|
|
inquiryItem.encapsulation = this.applyObj.encapsulation
|