UI/JS/OpenRoomInfo/DelOpenRoomInfo.js

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

// JScript 文件
//退房

DelOpenRoomInfo=function(row)
{
    //首先删除开房信息
    Ext.Ajax.request({
            url:"URL/OpenRoomInfo/DelOpenRoomInfo.aspx",
            method:"POST",
            params:{
                   openroomid:row.data.openroomid
            },
            success:function()
            {  
                   DelOpenRoomInfoWin.show();
            },
            failure:function()
            {
                   Ext.Msg.alert("提 示","删除开房信息失败!");
            }
            });
    
    var DelOpenRoomInfofp=new Ext.form.FormPanel({
			width:305,
			height:210,
			plain:true,
			layout:"form",
			defaultType:"textfield",
			labelWidth:75,
            baseCls:"x-plain",
			//锚点布局-
			defaults:{anchor:"95%",msgTarget:"side"},
			buttonAlign:"center",
			bodyStyle:"padding:0 0 0 0",
			items:[ 
			{  
			        name:"guestmoney",
			        xtype:'textfield',
					fieldLabel:"预付定金",
					readOnly:true,
					value:row.data.guestmoney,
					renderer:function(value)
					{
					    return value+"元";
					}
			},{
			        name:"roommoney",
			        xtype:"textfield",
					fieldLabel:"房费总额",
					readOnly:true
			},{
			        name:"totalremark",
			        xtype:"textarea",
					fieldLabel:"备注",
					allowBlank:false,
                    blankText:"详细备注不允许为空",
                    regex:/^[\s\S]{1,25}$/,
                    regexText:"详细备注请不要超过25个字符",
                    emptyText:"如果没有备注请填:暂无备注"
			}]
后面还有 93 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。