| | |
| | | { field: 'Standard', title: '规格', width: 160, align: 'center' }, |
| | | { field: 'LotText', title: '批次描述', align: 'center', edit: 'text', width: 160 }, |
| | | { field: 'PackagNo', title: '包装名称', width: 160, templet: "#table-content-Packlist" }, |
| | | { field: 'Price', title: '单价', align: 'center', width: 80 }, |
| | | { field: 'Money', title: '金额', align: 'center', width: 100 }, |
| | | { field: 'UDF1', title: '自定义列1', align: 'center', edit: 'text', width: 140 }, |
| | | { field: 'UDF2', title: '自定义列2', align: 'center', edit: 'text', width: 140 }, |
| | | { field: 'UDF3', title: '自定义列3', align: 'center', edit: 'text', width: 140 }, |
| | | { field: 'UDF4', title: '自定义列4', align: 'center', edit: 'text', width: 140 }, |
| | | { field: 'UDF5', title: '自定义列5', align: 'center', width: 140, templet: '#templetUDF5' }, |
| | | { field: 'Lot1', title: '生产日期', align: 'center', edit: 'text', width: 140 }, |
| | | { field: 'Lot2', title: '过期日期', align: 'center', edit: 'text', width: 140 }, |
| | | |
| | | // { field: 'Price', title: '单价', align: 'center', width: 80 }, |
| | | // { field: 'Money', title: '金额', align: 'center', width: 100 }, |
| | | // { field: 'UDF1', title: '自定义列1', align: 'center', edit: 'text', width: 140 }, |
| | | // { field: 'UDF2', title: '自定义列2', align: 'center', edit: 'text', width: 140 }, |
| | | // { field: 'UDF3', title: '自定义列3', align: 'center', edit: 'text', width: 140 }, |
| | | // { field: 'UDF4', title: '自定义列4', align: 'center', edit: 'text', width: 140 }, |
| | | // { field: 'UDF5', title: '自定义列5', align: 'center', width: 140, templet: '#templetUDF5' }, |
| | | { field: 'caozuo', title: '操作', fixed: 'right', width: 170, align: 'center', templet: '#table-content-list', "disabled": true } |
| | | ]]; |
| | | var TotalColsSysArr = encodeURIComponent(encodeURIComponent(JSON.stringify(TotalColsArr)))//将表头数据进行url编码 |
| | |
| | | } |
| | | }) |
| | | |
| | | // var IsBaleValue = ""; |
| | | // form.on('switch(IsBaleDemo)', function (obj) { |
| | | // layer.tips(this.value + ' ' + this.name + ':' + obj.elem.checked, obj.othis); |
| | | // if (obj.elem.checked) { |
| | | // IsBaleValue = "1"; |
| | | // } else { |
| | | // IsBaleValue = "0"; |
| | | // } |
| | | // }); |
| | | |
| | | // table.on('row(LAY-app-content-list)', function (obj) { |
| | | // if (IsBaleValue != "") { |
| | | // for (var j in arr) { |
| | | // if (obj.data.SkuNo == arr[j].SkuNo) { |
| | | // arr[j].IsBale = IsBaleValue; |
| | | // IsBaleValue = "" |
| | | // break; |
| | | // } |
| | | // } |
| | | // } |
| | | |
| | | // }) |
| | | |
| | | // 删除入库单明细 |
| | | table.on('tool(LAY-app-content-list)', function (obj) { |
| | | if (obj.event == 'del') { |
| | |
| | | IsBale: arr[i].IsBale, |
| | | IsBelt: arr[i].IsBelt, |
| | | SupplierLot: arr[i].SupplierLot, |
| | | Lot1: arr[i].Lot1, |
| | | Lot2: arr[i].Lot2, |
| | | UDF1: arr[i].UDF1, |
| | | UDF2: arr[i].UDF2, |
| | | UDF3: arr[i].UDF3, |