|
|
@@ -355,6 +355,7 @@
|
|
|
selectVaule: 0, //钣金喷漆选择
|
|
|
all: false, //是否全选
|
|
|
reverse: false, //是否反选
|
|
|
+ selectProductSunItem:[]
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
@@ -426,10 +427,10 @@
|
|
|
this.form.specItems.forEach(item => {
|
|
|
// item.replaced = true
|
|
|
if(item.replaced){
|
|
|
- temp.push(item)
|
|
|
+ this.selectProductSunItem.push(item)
|
|
|
}
|
|
|
})
|
|
|
- this.form.specItems = temp
|
|
|
+ // this.form.specItems = temp
|
|
|
}
|
|
|
|
|
|
//基础信息必填提示
|
|
|
@@ -474,7 +475,7 @@
|
|
|
icon: 'none'
|
|
|
});
|
|
|
return
|
|
|
- } else if (this.form.categoryId == '1945013773786701826' && temp.length ==0) {
|
|
|
+ } else if (this.form.categoryId == '1945013773786701826' && this.selectProductSunItem.length ==0) {
|
|
|
uni.showToast({
|
|
|
title: '请选择最少一个配置',
|
|
|
icon: 'none'
|
|
|
@@ -629,6 +630,7 @@
|
|
|
//提交审核
|
|
|
submit() {
|
|
|
console.log(this.form)
|
|
|
+ this.form.specItems = this.selectProductSunItem
|
|
|
this.makeChecked ? this.form.preBook = 1 : this.form.preBook = 0
|
|
|
if (!this.form.saleStartDate) {
|
|
|
uni.showToast({
|