提交 e27a56a5 authored 作者: 吴德鹏's avatar 吴德鹏

修改bug

上级 c0ae378f
...@@ -54,8 +54,9 @@ ...@@ -54,8 +54,9 @@
i.item_descrition_id, i.item_descrition_id,
i.item_top, i.item_top,
i.sort, i.sort,
i.supplier i.supplier,
from tb_cf_station_item i item_desc itemDesc
from tb_cf_station_item i left join tb_cf_item_desc d on i.item_id=d.item_id
where i.item_id = #{id} where i.item_id = #{id}
</select> </select>
<select id="queryByItems" resultType="com.platform.entity.TbCfStationItemEntityExtends"> <select id="queryByItems" resultType="com.platform.entity.TbCfStationItemEntityExtends">
......
...@@ -812,6 +812,18 @@ itemStatusFormat = function (cellvalue) { ...@@ -812,6 +812,18 @@ itemStatusFormat = function (cellvalue) {
} }
return returnStr; return returnStr;
} }
itemStatusFormatEn = function (cellvalue) {
var returnStr;
if (cellvalue == '1') {
returnStr = "<i-button class=\"ivu-btn ivu-btn-info\" style='border-radius:25px;' type=\"info\">online sale</i-button>";
} else if (cellvalue == '2') {
returnStr = "<i-button class=\"ivu-btn ivu-btn-warning\" style='border-radius:25px;' type=\"warning\">has been removed</i-button>";
} else if (cellvalue == '0') {
returnStr = "<i-button class=\"ivu-btn ivu-btn-error\" style='border-radius:25px;' type=\"error\">deleted</i-button>";
}
return returnStr;
}
shows = function (cellvalue, options, rowObject) { shows = function (cellvalue, options, rowObject) {
let returnStr; let returnStr;
returnStr = "<i-button class=\"ivu-btn ivu-btn-info\" onclick=showWord('" + rowObject.id + "') type=\"info\">查看</i-button>"; returnStr = "<i-button class=\"ivu-btn ivu-btn-info\" onclick=showWord('" + rowObject.id + "') type=\"info\">查看</i-button>";
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论