Showing
1 changed file
with
5 additions
and
5 deletions
@@ -715,19 +715,19 @@ function addRecordPage(skup, order_code, id) { | @@ -715,19 +715,19 @@ function addRecordPage(skup, order_code, id) { | ||
715 | if (!$('#startTime').val() || $('#startTime').val() == '') { | 715 | if (!$('#startTime').val() || $('#startTime').val() == '') { |
716 | if ($("#cameraCode").myCombobox("getValue") == undefined || $("#cameraCode").myCombobox("getValue") == '') | 716 | if ($("#cameraCode").myCombobox("getValue") == undefined || $("#cameraCode").myCombobox("getValue") == '') |
717 | { | 717 | { |
718 | - window.self.$.messager.alert("先选择摄像头", data.message, "error"); | 718 | + window.self.$.messager.alert("失败", "先选择摄像头", "error"); |
719 | return; | 719 | return; |
720 | } | 720 | } |
721 | 721 | ||
722 | 722 | ||
723 | timedCount(); | 723 | timedCount(); |
724 | $('#recordBtn').linkbutton({text:'结束录制'}); | 724 | $('#recordBtn').linkbutton({text:'结束录制'}); |
725 | - //$('#startTime').val(parseInt(new Date().getTime() / 1000)); | ||
726 | - $("#startTime").textbox('setValue',parseInt(new Date().getTime() / 1000)); | 725 | + $('#startTime').val(parseInt(new Date().getTime() / 1000)); |
726 | + //$("#startTime").textbox('setValue',parseInt(new Date().getTime() / 1000)); | ||
727 | } else if ($('#endTime').val() == '') { | 727 | } else if ($('#endTime').val() == '') { |
728 | stopCount(); | 728 | stopCount(); |
729 | - //$('#endTime').val(parseInt(new Date().getTime() / 1000)); | ||
730 | - $("#endTime").textbox('setValue',parseInt(new Date().getTime() / 1000)); | 729 | + $('#endTime').val(parseInt(new Date().getTime() / 1000)); |
730 | + // $("#endTime").textbox('setValue',parseInt(new Date().getTime() / 1000)); | ||
731 | $('#recordBtn').linkbutton({text:'上传云端'}); | 731 | $('#recordBtn').linkbutton({text:'上传云端'}); |
732 | } else if ($('#startTime').val() != '' && $('#endTime').val() != ''){ | 732 | } else if ($('#startTime').val() != '' && $('#endTime').val() != ''){ |
733 | $('#recordBtn').linkbutton('disable'); | 733 | $('#recordBtn').linkbutton('disable'); |
-
Please register or login to post a comment