|
@@ -98,6 +98,7 @@
|
|
<el-tag prop="cateId" v-for="(item, index) in cateOptions" v-if="scope.row.cateId==item.dictValue">{{item.dictLabel}}</el-tag>
|
|
<el-tag prop="cateId" v-for="(item, index) in cateOptions" v-if="scope.row.cateId==item.dictValue">{{item.dictLabel}}</el-tag>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
+ <el-table-column label="所属公司" align="center" prop="companyName" />
|
|
<el-table-column label="标题" align="center" prop="title" show-overflow-tooltip />
|
|
<el-table-column label="标题" align="center" prop="title" show-overflow-tooltip />
|
|
<el-table-column label="描述" align="center" prop="descs" show-overflow-tooltip />
|
|
<el-table-column label="描述" align="center" prop="descs" show-overflow-tooltip />
|
|
<el-table-column label="原价" align="center" >
|
|
<el-table-column label="原价" align="center" >
|
|
@@ -119,7 +120,7 @@
|
|
<el-tag prop="payType" v-for="(item, index) in storePayTypeOptions" v-if="scope.row.payType==item.dictValue">{{item.dictLabel}}</el-tag>
|
|
<el-tag prop="payType" v-for="(item, index) in storePayTypeOptions" v-if="scope.row.payType==item.dictValue">{{item.dictLabel}}</el-tag>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
-
|
|
|
|
|
|
+
|
|
<el-table-column label="限购次数" align="center" prop="limitCount" />
|
|
<el-table-column label="限购次数" align="center" prop="limitCount" />
|
|
<el-table-column label="排序" align="center" prop="sort" />
|
|
<el-table-column label="排序" align="center" prop="sort" />
|
|
<!-- <el-table-column label="所属部门" align="center" prop="deptName" /> -->
|
|
<!-- <el-table-column label="所属部门" align="center" prop="deptName" /> -->
|
|
@@ -262,7 +263,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
-
|
|
|
|
|
|
+
|
|
<el-form-item label="原价" prop="money">
|
|
<el-form-item label="原价" prop="money">
|
|
<el-input-number v-model="form.money" :precision="2" :min="0.00" placeholder="请输入原价" />
|
|
<el-input-number v-model="form.money" :precision="2" :min="0.00" placeholder="请输入原价" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -306,11 +307,11 @@ import Material from '@/components/Material'
|
|
import singleImg from '@/components/Material/single'
|
|
import singleImg from '@/components/Material/single'
|
|
export default {
|
|
export default {
|
|
name: "StoreProductPackage",
|
|
name: "StoreProductPackage",
|
|
- components: {
|
|
|
|
|
|
+ components: {
|
|
Editor,
|
|
Editor,
|
|
productAttrValueSelect,
|
|
productAttrValueSelect,
|
|
Material,
|
|
Material,
|
|
- singleImg,
|
|
|
|
|
|
+ singleImg,
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
imageArr: function(val) {
|
|
imageArr: function(val) {
|
|
@@ -401,12 +402,12 @@ export default {
|
|
limitCount: [
|
|
limitCount: [
|
|
{ required: true, message: "限购次数不能为空" }
|
|
{ required: true, message: "限购次数不能为空" }
|
|
],
|
|
],
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
-
|
|
|
|
|
|
+
|
|
this.getDicts("common_status").then((response) => {
|
|
this.getDicts("common_status").then((response) => {
|
|
this.statusOptions = response.data;
|
|
this.statusOptions = response.data;
|
|
});
|
|
});
|
|
@@ -454,7 +455,7 @@ export default {
|
|
// setTimeout(() => {
|
|
// setTimeout(() => {
|
|
// this.$refs.product.getData(1);
|
|
// this.$refs.product.getData(1);
|
|
// }, 200);
|
|
// }, 200);
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
handleAvatarSuccess(res, file) {
|
|
handleAvatarSuccess(res, file) {
|
|
if(res.code==200){
|
|
if(res.code==200){
|
|
@@ -536,7 +537,7 @@ export default {
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
this.$refs.myeditor.setText("");
|
|
this.$refs.myeditor.setText("");
|
|
}, 200);
|
|
}, 200);
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
/** 修改按钮操作 */
|
|
/** 修改按钮操作 */
|
|
handleUpdate(row) {
|
|
handleUpdate(row) {
|
|
@@ -589,7 +590,7 @@ export default {
|
|
if (response.code === 200) {
|
|
if (response.code === 200) {
|
|
this.msgSuccess("修改成功");
|
|
this.msgSuccess("修改成功");
|
|
this.open = false;
|
|
this.open = false;
|
|
- this.getList();
|
|
|
|
|
|
+ this.getList();
|
|
}
|
|
}
|
|
});
|
|
});
|
|
} else {
|
|
} else {
|
|
@@ -667,7 +668,7 @@ export default {
|
|
this.getList();
|
|
this.getList();
|
|
}
|
|
}
|
|
});
|
|
});
|
|
- }
|
|
|
|
|
|
+ }
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
|
|
@@ -694,7 +695,7 @@ export default {
|
|
max-width: 200px;
|
|
max-width: 200px;
|
|
text-align: left;
|
|
text-align: left;
|
|
.goods-title{
|
|
.goods-title{
|
|
-
|
|
|
|
|
|
+
|
|
overflow:hidden;
|
|
overflow:hidden;
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
@@ -702,4 +703,4 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-</style>
|
|
|
|
|
|
+</style>
|