|
@@ -537,7 +537,48 @@ function doCheck(){
|
|
|
$(".systemwindow").hide();
|
|
$(".systemwindow").hide();
|
|
|
setTimeout('searchspan(2)', 500);
|
|
setTimeout('searchspan(2)', 500);
|
|
|
}
|
|
}
|
|
|
|
|
+function shshFun(that){
|
|
|
|
|
+ let val = $(that).data("id");
|
|
|
|
|
+ layx.confirm('<span style="font-size:18px">提示</span>','<b style="font-size:18px;">确认退货已经收到了吗?<b>',null,{
|
|
|
|
|
+ buttons:[
|
|
|
|
|
+ {
|
|
|
|
|
+ label:'确定',
|
|
|
|
|
+ callback:function(id, button, event){
|
|
|
|
|
+
|
|
|
|
|
+ layx.destroy(id);
|
|
|
|
|
+ shshCheck(val)
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label:'取消',
|
|
|
|
|
+ callback:function(id, button, event){
|
|
|
|
|
+ layx.destroy(id);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ });
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
|
|
+function shshCheck(val){
|
|
|
|
|
+ $.ajax({
|
|
|
|
|
+ url:"/returngoods/shwsh_check/"+val,
|
|
|
|
|
+ data:{},
|
|
|
|
|
+ type:"post",
|
|
|
|
|
+ dataType:"json",
|
|
|
|
|
+ success:function(a){
|
|
|
|
|
+ layx.destroy('loadId');
|
|
|
|
|
+ if (a && a.success) {
|
|
|
|
|
+ $(".ts p").html(a.msg);
|
|
|
|
|
+ $(".ts").fadeIn();
|
|
|
|
|
+ setTimeout('searchspan(2)', 900);
|
|
|
|
|
+ }
|
|
|
|
|
+ if (a && !a.success) {
|
|
|
|
|
+ $(".ts p").html(a.msg);
|
|
|
|
|
+ $(".ts").fadeIn();
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+}
|
|
|
</script>
|
|
</script>
|
|
|
<script type="text/javascript" src="{$theme}js/excel/xlxs.js" ></script>
|
|
<script type="text/javascript" src="{$theme}js/excel/xlxs.js" ></script>
|
|
|
<script type="text/javascript" src="{$theme}js/laydate.js"></script>
|
|
<script type="text/javascript" src="{$theme}js/laydate.js"></script>
|