<!--编辑-->
<div style="max-height: 465px; overflow-y: auto; overflow-x: hidden;">
    <div>
        <ul class="tabWarp">
            <li class="hover" val="tab1" ms-click="tabChange">服务信息</li>
            <li class="" val="tab2" ms-click="tabChange">处理情况</li>
        </ul>
    </div>

    <div id="tab1" ms-visible="tab=='tab1'">
        <table width="100%" cellspacing="0" cellpadding="0" border="0" class="commontable">
            <tbody>
                <tr>
                    <th style="width: 80px;" ms-visible="showCustomer">客户名称：</th>
                    <td style="width: 40%;" ms-visible="showCustomer">
                        <input type="text" ms-duplex="entity.CustomerName" readonly="readonly" />
                        <button class="myfbt" type="button" ms-click="selectCustomer()"><i class="customer"></i></button>
                    </td>
                    <th style="width: 80px;">联系人：</th>
                    <td>
                        <input type="text" ms-duplex="entity.ContactsName" style="width: 101px;" />
                        <select class="selectCalls" style="width: 100px;" ms-each-item="children">
                            <option ms-value="item.Id">{{item.Name}}</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <th>服务方向：</th>
                    <td ms-each-item="direction" colspan="3" style="height: 38px;">
                        <label style="padding-right: 10px;">
                            <input type="radio" name="direction" ms-duplex-text="entity.Direction" ms-value="item.key" />
                            {{item.key}}</label>
                    </td>
                </tr>
                <tr>
                    <th>服务方式：</th>
                    <td ms-each-item="mode" colspan="3" style="height: 38px;">
                        <label style="padding-right: 10px;">
                            <input type="radio" name="mode" ms-duplex-text="entity.ModeDicId" ms-value="item.Id" />
                            {{item.Data}}</label>
                    </td>
                </tr>
                <tr>
                    <th>服务类型：</th>
                    <td ms-each-item="category" colspan="3" style="height: 38px;">
                        <label style="padding-right: 10px;">
                            <input type="radio" name="category" ms-duplex-text="entity.TypeDicId" ms-value="item.Id" />
                            {{item.Data}}</label>
                    </td>
                </tr>
                <tr>
                    <th>首次执行人：</th>
                    <td>
                        <input type="text" readonly="readonly" ms-duplex="entity.FirstEmpName" />
                        <button class="myfbt" type="button" ms-click="selectUser('FirstEmp')"><i class="iadduser"></i></button>
                    </td>
                    <th>执行时间：</th>
                    <td>
                        <input type="text" ms-duplex="entity.ByTime" ms-widget='date,birthday,birthdayOpts' readonly="readonly" style="width: 120px;" />
                    </td>
                </tr>
                <tr>
                    <th>服务主题：</th>
                    <td colspan="3">
                        <input type="text" ms-duplex="entity.Title" style="width: 652px" id="title" />
                        <span class="must">*</span>
                    </td>
                </tr>
                <tr>
                    <th>服务内容：</th>
                    <td colspan="3">
                        <textarea rows="2" cols="20" style="height: 40px; width: 652px;" ms-duplex="entity.ServicesCont"></textarea>
                    </td>
                </tr>
                <tr>
                    <th>客户反馈：</th>
                    <td colspan="3">
                        <textarea rows="2" cols="20" style="height: 40px; width: 652px;" ms-duplex="entity.Feedback"></textarea>
                    </td>
                </tr>
                <tr>
                    <th>紧急程度：</th>
                    <td colspan="3" ms-each-item="urgency">
                        <label style="padding-right: 10px;">
                            <input type="radio" name="urgency" ms-duplex-text="entity.Urgency" ms-value="item.value" />
                            {{item.key}}</label>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>

    <div id="tab2" ms-visible="tab=='tab2' && tabshow=='servAdd'" style="height: 370px; overflow-y: scroll;">
        <table width="100%" cellspacing="0" cellpadding="0" border="0" class="formTable">
            <tbody id="tbody1">
                <tr>
                    <td height="25" width="*" align="left" colspan="4" style="padding: 0;">
                        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList hasOfferPanel">
                            <thead>
                                <tr class="minhead" align="center">
                                    <td width="15%">处理人</td>
                                    <td width="15%">处理时间</td>
                                    <td width="30%">处理过程说明</td>
                                    <td width="30%">结果告知/客户反馈</td>
                                    <td width="10%">处理结果</td>
                                </tr>
                            </thead>
                            <tbody ms-each-item="entity.DetailList">
                                <tr>
                                    <td align="center">{{item.EmployeeName}}</td>
                                    <td align="center">{{item.DisposeTime}}</td>
                                    <td>{{item.Process|truncate(14,"…")}}</td>
                                    <td>{{item.InformOrFeedback|truncate(14,"…")}}</td>
                                    <td align="center">{{statusTitle(item.Result)}}</td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td style="width: 100px; height: 100px;">服务回访确认：</td>
                    <td colspan="3">
                        <textarea rows="2" cols="20" style="height: 60px; width: 662px;" ms-duplex="entity.ReAffirm"></textarea>
                    </td>
                </tr>
                <tr>
                    <td>处理结果：</td>
                    <td ms-each-item="status" style="width: 400px;">
                        <label style="padding-right: 10px;">
                            <input type="radio" name="statusComplete" ms-value="item.value" ms-duplex-text="entity.Static" />
                            {{item.key}}</label>
                    </td>
                    <td>完成时间：</td>
                    <td>
                        <input type="text" ms-duplex="entity.EndTime" ms-widget='date,birthday,birthdayOpts3' readonly="readonly" style="width: 120px;" /></td>
                </tr>
            </tbody>
        </table>
    </div>

    <div id="tab3" ms-visible="tab=='tab2' && tabshow=='dispAdd'" style="height: 370px; overflow-y: scroll;">
        <table width="100%" height="360" cellspacing="0" cellpadding="0" border="0" class="commontable">
            <tbody>
                <tr>
                    <th style="width: 80px;">处理人：</th>
                    <td style="width: 40%;">
                        <input type="text" ms-duplex="entityDisposeDetail.EmployeeName" readonly="readonly" />
                        <button class="myfbt" type="button" ms-click="selectUser('Employee')"><i class="iadduser"></i></button>
                    </td>
                    <th style="width: 80px;">处理时间：</th>
                    <td>
                        <input type="text" ms-duplex="entityDisposeDetail.DisposeTime" ms-widget='date,birthday,birthdayOpts2' readonly="readonly" style="width: 120px;" />
                    </td>
                </tr>
                <tr>
                    <th>处理耗时：</th>
                    <td>
                        <input type="text" style="width: 100px;" value="1" ms-duplex="entityDisposeDetail.ElapsedTime" />
                        小时
                    </td>
                </tr>
                <tr>
                    <th>处理过程：</th>
                    <td colspan="3">
                        <textarea rows="2" cols="20" style="height: 60px; width: 652px;" ms-duplex="entityDisposeDetail.Process"></textarea>
                    </td>
                </tr>
                <tr>
                    <th>处理结果：</th>
                    <td colspan="3" ms-each-item="status">
                        <label style="padding-right: 10px;">
                            <input type="radio" name="statusResult" ms-duplex-text="entityDisposeDetail.Result" ms-value="item.value" />
                            {{item.key}}</label>
                    </td>
                </tr>
                <tr>
                    <th>客户反馈：</th>
                    <td colspan="3">
                        <textarea rows="2" cols="20" style="height: 60px; width: 652px;" ms-duplex="entityDisposeDetail.InformOrFeedback"></textarea>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</div>
