Commit edabb35b by lixiaomin

修改页面

parent e8c5de22
......@@ -21,6 +21,7 @@
</el-table-column>
<el-table-column label="规格名称" align="center" prop="name" />
<el-table-column label="规格编码" align="center" prop="code" />
<el-table-column label="原备注" align="center" prop="remark" />
<el-table-column label="选项" align="center" prop="specRules">
<template slot-scope="scope">
<el-tag style="margin-right:10px;" v-for="item in scope.row.specRules" :key="item.id">
......
......@@ -205,7 +205,9 @@ export default {
},
/** 搜索按钮操作 */
handleQuery() {
if(this.createdTime.length>0){
this.queryParams.createAtStart=null;
this.queryParams.createAtEnd=null;
if(this.createdTime!=null && this.createdTime.length>0){
this.queryParams.createAtStart=this.createdTime[0];
this.queryParams.createAtEnd=this.createdTime[1];
}
......
......@@ -241,7 +241,7 @@ export default {
}else{
this.tagValues=this.tagValues+inputValues;
if(this.tagValues.length>16){
this.$message('标签总字符数量最大16!');
this.$message('标签总字符数量最大13!');
this.tagValues=this.tagValues.replace(inputValues,"");
}else{
this.goodsTagList.push(inputValues);
......
......@@ -48,9 +48,9 @@ export default {
this.$modal.msgSuccess("上架成功");
this.dialogVisible = false;
this.$emit('callback')
}else if(res.code==99){
this.$refs.Form.handleUpdate(this.id);
}
}).catch(err=>{
this.$refs.Form.handleUpdate(this.id);
})
},
offShop() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment