master
xy 3 years ago
parent 6f71ef03bf
commit 02dca4290c

@ -223,6 +223,7 @@
}, },
async submit() { async submit() {
this.form.schedule_list_id = this.selectedRow().id
if(this.type === 'add'){ if(this.type === 'add'){
if(this.form.hasOwnProperty('id')){ if(this.form.hasOwnProperty('id')){
delete this.form.id delete this.form.id
@ -256,7 +257,6 @@
watch: { watch: {
isShow(val) { isShow(val) {
if (val) { if (val) {
console.log(1111,this.selectedRow().sku)
this.form.schedule_list_id = this.scheduleListId this.form.schedule_list_id = this.scheduleListId
if (this.type === 'editor') { if (this.type === 'editor') {
this.getDetail() this.getDetail()

@ -118,7 +118,7 @@
</el-drawer> </el-drawer>
<detail ref="detail" @close="isShow = true"></detail> <detail ref="detail" @close="isShow = true"></detail>
<addScheduleListLog ref="addScheduleListLog" @refresh="getList,()=>$emit('refresh')"></addScheduleListLog> <addScheduleListLog ref="addScheduleListLog" @refresh="getList(),()=>$emit('refresh')"></addScheduleListLog>
</div> </div>
</template> </template>

Loading…
Cancel
Save