Commit 4e44f14a authored by yaya's avatar yaya

feat:专场设置截拍时间

parent 7ec01b48
......@@ -38,7 +38,7 @@
<div>建议尺寸2000*1024</div>
</el-form-item>
<el-form-item label="截拍间隔:" prop="itemEndInterval">
<el-input v-model="goods.itemEndInterval">
<el-input v-model="goods.itemEndInterval" style="width: 240px">
<template slot="append">min</template>
</el-input>
</el-form-item>
......@@ -63,7 +63,7 @@
highlight-current-row>
<el-table-column align="center" label="LOT号" min-width="100px" prop="lot">
<template slot-scope="scope">
<el-input v-model="scope.row.lot" :maxlength="15" @blur="handleAddLOT(scope.row)"/>
<el-input v-model="scope.row.lot" :maxlength="15" @blur="handleAddLOT($event, scope.row)"/>
</template>
</el-table-column>
<el-table-column align="center" min-width="100px" prop="id" label="拍卖ID"/>
......@@ -261,11 +261,12 @@ export default {
/**
* 设置LOT
*/
handleAddLOT(item) {
handleAddLOT(e, item) {
console.log('==LOT==', item.lot)
if (!item.lot) {
return
}
if (!e.relatedTarget || e.relatedTarget.className === 'el-input_inner ') {
const param = {
specialPerformanceId: this.id,
itemId: item.id,
......@@ -280,6 +281,7 @@ export default {
type: 'error'
})
})
}
},
/**
* 设置专场时间
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment