|
@@ -394,7 +394,7 @@
|
|
|
<h4>基本信息</h4>
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="规格名称" prop="specification">
|
|
|
+ <el-form-item label="规格名称" prop="specifications">
|
|
|
<el-input v-model.trim="productForm.specifications" placeholder="前端spu展示的名称" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -1659,7 +1659,7 @@ export default {
|
|
|
|
|
|
},
|
|
|
productRules: {
|
|
|
- specification: [
|
|
|
+ specifications: [
|
|
|
{ required: true, message: "规格名称不能为空", trigger: "blur" }
|
|
|
],
|
|
|
shortName: [
|
|
@@ -2660,7 +2660,7 @@ export default {
|
|
|
this.productForm.noServiceTimeRange=this.noServiceRanges;
|
|
|
this.$refs["productForm"].validate(valid => {
|
|
|
if (valid) {
|
|
|
- this.productForm.specifications = [this.productForm.specification];
|
|
|
+
|
|
|
this.productForm.updateTime = "";
|
|
|
//判断售价
|
|
|
if (
|