Authored by xuhongyun

build

... ... @@ -19758,9 +19758,13 @@
var content = "";
if (noHead) {
content = '<div id="nidaye"><input type="hidden" id="noMeasureIds" for="checkbox">'
+'<input type="hidden" id="sizeImgFlag" for="checkbox">'
+'<label style="cursor: pointer;"><input type="checkbox" name="sizeImgFlag" value="1">隐藏测量方式图</label>'
+ '<div id="faGrid" style="height: 600px;overflow:auto;"></div></div>';
} else {
content = '<div id="nidaye"><input type="hidden" id="noMeasureIds" for="checkbox">'
+'<input type="hidden" id="sizeImgFlag" for="checkbox">'
+'<label style="cursor: pointer;"><input type="checkbox" name="sizeImgFlag" value="1">隐藏测量方式图</label>'
+ util.__template2($("#modifySize-template").html(), item)
+ '<div id="faGrid" style="height: 600px;overflow:auto;"></div></div>';
}
... ... @@ -19773,6 +19777,7 @@
css: 'btn-info',
callback: function () {
var noMeasureIds = JSON.stringify($("#noMeasureIds").val() ? $("#noMeasureIds").val().split("|") : []);//无需测量的列
var sizeImgFlag= $("#sizeImgFlag").val()? $("#sizeImgFlag").val():0;
//尺码信息列表
var sizeInfoList = [];
for (var i = 0; i < $(".sizeInfo").length; i++) {
... ... @@ -19800,6 +19805,7 @@
var data = {
productSkn: item.productSkn,
noMeasureIds: noMeasureIds,
sizeImgFlag:sizeImgFlag,
sizeInfoList: JSON.stringify(sizeInfoList),
productSizeReferList: JSON.stringify(productSizeReferList)
};
... ... @@ -19881,7 +19887,7 @@
*/
var rendNoMeasureIds=function (data) {
var noMeasureIds=data.noMeasureIds||[];
// console.log(noMeasureIds);
var sizeImgFlag=data.sizeImgFlag||0;
$("input[name='noMeasureIds']").each(function () {
var val=$(this).val();
var _index = $(this).data("index");
... ... @@ -19893,6 +19899,9 @@
});
}
});
if(sizeImgFlag==1){
$("[name='sizeImgFlag']").attr("checked",'true');//
}
};
module.exports = {
... ...
... ... @@ -290,7 +290,8 @@ module.exports={
{name: "productSkn",type: "number"},
{name: "sizeInfoList",type: "string"},
{name: "productSizeReferList",type: "string"},
{name: "noMeasureIds",type: "string"}
{name: "noMeasureIds",type: "string"},
{name: "sizeImgFlag",type: "Number"}
]
},
queryAllBySortId4Html:{
... ...