起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2282|回复: 1

[处理中5] mobileUI 弹出窗口报错??????

[复制链接]

35

主题

103

帖子

323

积分

中级会员

Rank: 3Rank: 3

积分
323
QQ
发表于 2014-6-16 18:06:23 | 显示全部楼层 |阅读模式
版本: X5.2.7 小版本号: 2649
数据库: MS SQLServer 服务器操作系统: Windows 应用服务器: Tomcat
客户端操作系统: android 4.x 浏览器: 手机/平板X5客户端
本帖最后由 dlpfq 于 2014-6-17 11:21 编辑

功能需求:在主窗口中中设置了一个windowRunner ,当单击主窗口中的gride时,弹出相应记录的明细窗口,目前单击gride后提示:
弹出窗口的源码:<?xml version="1.0" encoding="utf-8"?>
<xui:window xmlns:xui="http://www.justep.com/xui" xmlns="http://www.justep.com/xui" xmlns:xforms="http://www.justep.com/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" cacheable="true" component="/mobileUI/system/components/mobile/window.xbl.xml#window" id="window">  
  <xui:model component="/mobileUI/system/components/mobile/model.xbl.xml#model" id="model1" style="top:73px;left:337px;">
    <xhtml:div auto-new="false" component="/mobileUI/system/components/mobile/data.xbl.xml#bizData" concept="ZNBH" id="main">
      <reader action="/DDXT/DDGL/logic/action/queryZNBHAction"/>  
      <writer/>  
      <creator/>  
      <filter id="filter1" name="filter1"> <![CDATA[ZNBH=:rowid]]> </filter>
    </xhtml:div>
  </xui:model>  
  <xui:view id="rootView">
    <xui:layout style="height:100%;width:100%">
      <xhtml:div component="/mobileUI/system/components/mobile/titlebar.xbl.xml#titlebar" id="htitlebar" title="智能补货">
        <item class="xui-backButton-m" command="close" commands="commands1" name="close" operation="close" operation-owner="window"/>  
        <item class="" name="save" operation="save" operation-owner="main" text="保存"/>
      </xhtml:div>  
      <xhtml:ul class="xui-ul-m" id="detail-ul">
        <xhtml:li class="xui-li-m" id="li1">  
          <xhtml:h3 id="h31">客户编号</xhtml:h3>  
          <xhtml:div class="xui-input-m" component="/mobileUI/system/components/mobile/input.xbl.xml#input" data="main" id="input1" ref="CustID"></xhtml:div>
        </xhtml:li>  
        <xhtml:li class="xui-li-m" id="li2">  
          <xhtml:h3 id="h32">产品编号</xhtml:h3>  
          <xhtml:div class="xui-input-m" component="/mobileUI/system/components/mobile/input.xbl.xml#input" data="main" id="input2" ref="ProdID"></xhtml:div>
        </xhtml:li>  
        <xhtml:li class="xui-li-m" id="li3">  
          <xhtml:h3 id="h33">产品名称</xhtml:h3>  
          <xhtml:div class="xui-input-m" component="/mobileUI/system/components/mobile/input.xbl.xml#input" data="main" id="input3" ref="ProdName"></xhtml:div>
        </xhtml:li>  
        <xhtml:li class="xui-li-m" id="li4">  
          <xhtml:h3 id="h34">规格型号</xhtml:h3>  
          <xhtml:div class="xui-input-m" component="/mobileUI/system/components/mobile/input.xbl.xml#input" data="main" id="input4" ref="ProdSize"></xhtml:div>
        </xhtml:li>  
        <xhtml:li class="xui-li-m" id="li5">  
          <xhtml:h3 id="h35">最近送货日</xhtml:h3>  
          <xhtml:div class="xui-input-m" component="/mobileUI/system/components/mobile/input.xbl.xml#input" data="main" id="input5" ref="ZJSHR"></xhtml:div>
        </xhtml:li>  
        <xhtml:li class="xui-li-m" id="li6">  
          <xhtml:h3 id="h36">最近送货数量</xhtml:h3>  
          <xhtml:div class="xui-input-m" component="/mobileUI/system/components/mobile/input.xbl.xml#input" data="main" id="input6" ref="quantity"></xhtml:div>
        </xhtml:li>  
        <xhtml:li class="xui-li-m" id="li7">  
          <xhtml:h3 id="h37">未订货周期</xhtml:h3>  
          <xhtml:div class="xui-input-m" component="/mobileUI/system/components/mobile/input.xbl.xml#input" data="main" id="input7" ref="WDHZQ"></xhtml:div>
        </xhtml:li>  
        <xhtml:li class="xui-li-m" id="li8">  
          <xhtml:h3 id="h38">订货周期</xhtml:h3>  
          <xhtml:div class="xui-input-m" component="/mobileUI/system/components/mobile/input.xbl.xml#input" data="main" id="input8" ref="dhzq"></xhtml:div>
        </xhtml:li>  
        <xhtml:li class="xui-li-m" id="li9">  
          <xhtml:h3 id="h39">次出库日</xhtml:h3>  
          <xhtml:div class="xui-input-m" component="/mobileUI/system/components/mobile/input.xbl.xml#input" data="main" id="input9" ref="CCKR"></xhtml:div>
        </xhtml:li>  
        <xhtml:li class="xui-li-m" id="li10">  
          <xhtml:h3 id="h310">次出库数量</xhtml:h3>  
          <xhtml:div class="xui-input-m" component="/mobileUI/system/components/mobile/input.xbl.xml#input" data="main" id="input10" ref="CCKSL"></xhtml:div>
        </xhtml:li>  
        <xhtml:li class="xui-li-m" id="li11">  
          <xhtml:h3 id="h311">订购数量</xhtml:h3>  
          <xhtml:div class="xui-input-m" component="/mobileUI/system/components/mobile/input.xbl.xml#input" data="main" id="input11" ref="udef6"></xhtml:div>
        </xhtml:li>
      </xhtml:ul>
    </xui:layout>
  </xui:view>  
  <resource id="resource1">
    <xhtml:script id="htmlScript1" src="ZNBHdialog1Edit.js"/>
  </resource>
</xui:window>




弹出窗口的JS:
var ZNBHdialog1Edit = {};

ZNBHdialog1Edit.model1Load = function(){
debugger;
        this.rowid = justep.Context.getRequestParameter('id');
        var data = justep.xbl('main');
                data.getFilter().setStringVar('rowid', this.rowid);
                data.refreshData();
}

/**
        name:windowReceiver#onReceive
        @event
description: <b>[回调型事件]</b> window接收对话框传入的数据
        @param event <br/>
        <b>格式说明:</b>
        <xmp>
        {
                "source" : 组件的js对象,
                "data" : 传入的数据
        }
        </xmp>
*/


请帮忙看看是怎么回事呀?

怎么一个回复也没有呀?
a.jpg

88

主题

9507

帖子

5135

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
5135
QQ
发表于 2014-6-20 10:28:38 | 显示全部楼层
远程发现,本功能是打开页面后,用windowRunner打开了一个页面,再用windowDialog又打开了一个页面,然后再用windowRunner又打开了一个页面,这时报错。测试发现都使用windowDialog或者都使用windowRuner就可以了
你好楼主,您反馈的这个现象通过验证是产品缺陷,我们已提交到产品组(编号:2014062000001),感谢楼主的支持与配合。


远程的联系方法 QQ 728094812。添加好友时,需要填写论坛账号
发远程时同时也发一下帖子的地址,方便了解要解决的问题

如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-5-15 07:16 , Processed in 0.077979 second(s), 28 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表