Authored by mali

转码

... ... @@ -715,19 +715,19 @@ function addRecordPage(skup, order_code, id) {
if (!$('#startTime').val() || $('#startTime').val() == '') {
if ($("#cameraCode").myCombobox("getValue") == undefined || $("#cameraCode").myCombobox("getValue") == '')
{
window.self.$.messager.alert("先选择摄像头", data.message, "error");
window.self.$.messager.alert("失败", "先选择摄像头", "error");
return;
}
timedCount();
$('#recordBtn').linkbutton({text:'结束录制'});
//$('#startTime').val(parseInt(new Date().getTime() / 1000));
$("#startTime").textbox('setValue',parseInt(new Date().getTime() / 1000));
$('#startTime').val(parseInt(new Date().getTime() / 1000));
//$("#startTime").textbox('setValue',parseInt(new Date().getTime() / 1000));
} else if ($('#endTime').val() == '') {
stopCount();
//$('#endTime').val(parseInt(new Date().getTime() / 1000));
$("#endTime").textbox('setValue',parseInt(new Date().getTime() / 1000));
$('#endTime').val(parseInt(new Date().getTime() / 1000));
// $("#endTime").textbox('setValue',parseInt(new Date().getTime() / 1000));
$('#recordBtn').linkbutton({text:'上传云端'});
} else if ($('#startTime').val() != '' && $('#endTime').val() != ''){
$('#recordBtn').linkbutton('disable');
... ...