|
|
|
@ -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()
|
|
|
|
|