大孔吸附树脂
共63件商品
R46072
G25 Spin 脱盐柱,BioReagent,即用型
价格: ¥300.00
S14161
大孔吸附树脂D101,BR,粒径0.3-1.2mm
价格: ¥64.00
S14164
Amberlite XAD7HP大孔吸附树脂,BR,20-60目
价格: ¥56.00
S22179
D293大孔阴离子树脂,
价格: ¥40.00
S22185
大孔树脂X-5,
价格: ¥280.00
S22726
SA-3 大孔吸附树脂,
价格: ¥480.00
S23098
HZ-818大孔吸附树脂,
价格: ¥200.00
S24580
S-8大孔吸附树脂,BR
价格: ¥120.00
S24603
D-941树脂,
价格: ¥180.00
S24709
大孔吸附树脂A21,
价格: ¥120.00
'
let processing = {};
// 检测ajax返回的数据有效
function checkAjaxResp(data) {
// TODO: 增加其他检测的逻辑
if (data.err_msg != "") {
return false
}
return true
}
function replaceTpl(id, content) {
let t = tpl.replace('', id)
t = t.replace("", content);
return t
}
$("table.table").find('a.collapse_btn[data-toggle="collapse"]').click(function (e) {
// 检测下是否已经请求并处理过,无需重复处理
let id = $(this).attr('aria-controls'); // e.g. proS20152
if (!id) {
return
}
if (processing[id]) {
return;
}
// 请求数据,或增加页面效果(loading)
processing[id] = true;
$.ajax({
url: 'goods.php?act=goods_price&sn=' + id, // TODO: 接口地址
type: 'GET',
dataType: 'json',
success: function (data) {
try {
if (!checkAjaxResp(data)) {
processing[id] = false;
return
}
const tplHtml = replaceTpl(id, data.result);
$(e.target).parents('tr').after(tplHtml);
$(e.target).click(); // 让展开的表格内容显示出来
} catch (e) {
processing[id] = false;
}
},
error: function (jqXHR, textStatus, errorThrown) {
processing[id] = false;
}
});
});
})
//-->