|
@@ -257,6 +257,9 @@ export default {
|
257
|
257
|
'editFlashbuy',
|
258
|
258
|
]),
|
259
|
259
|
submitFlashbuy () { // 提交抢购数据
|
|
260
|
+ if (this.postData.CaseId === '' && this.defaultCaseId !== '') {
|
|
261
|
+ this.postData.CaseId = this.defaultCaseId
|
|
262
|
+ }
|
260
|
263
|
if (!this.checkData()) {
|
261
|
264
|
return false
|
262
|
265
|
}
|
|
@@ -281,7 +284,6 @@ export default {
|
281
|
284
|
}
|
282
|
285
|
},
|
283
|
286
|
checkData () { // 校验数据格式
|
284
|
|
- this.postData.CaseId === '' ? this.postData.CaseId = this.CaseId : this.postData.CaseId = ''
|
285
|
287
|
if (this.postData.CaseId === '') {
|
286
|
288
|
this.$message({
|
287
|
289
|
type: 'error',
|