<table border="0" align="center" cellpadding="0" cellspacing="0" id="mian" ms-controller="marketingcampaign">
    <tbody>
        <tr>
            <td width="198" height="450" valign="top" id="tdleft">
                <!--leftNav-->
                <div id="left" ms-widget="leftMenu">
                </div>
                <!--End leftNav-->
            </td>
            <td valign="top" id="right" class="addrightbg">
                <!--list -->
                <div style="margin-bottom: 10px;">
                    <div class="boxtip" id="boxtip">
                        <h1>{{lang.MarketingCampaign}}</h1>
                        <p>{{lang.MarketingCampaignDescribe}}</p>
                        <!-- <a href="javascript:history.go(-1)" class="btn_back"></a>-->
                    </div>
                    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="seacrhTable">
                        <tbody>
                            <tr>
                                <td width="460" class="searchico">
                                    <div class="input-append" style="margin-bottom: 10px;">
                                        <input type="text" class="span4" ms-duplex="keyword" ms-attr-placeholder="lang.SearchKeyWord">
                                        <button class="add-on ibtsearch" type="button" id="btnsel" ms-click="search" style="height: 28px; font-size: 12px; padding: 3px 12px;">
                                            {{lang.SearchBtn}}
                                        </button>
                                        <button class="add-on ibtsearch clearall" type="button" ms-click="clear" style="height: 28px; font-size: 12px; padding: 3px 12px;">
                                            {{lang.ShowAllBtn}}</button>
                                    </div>
                                </td>
                                <td class="fgray">
                                    <span style="float: left;">{{lang.SearchHistory}}</span><div class="hotlist">
                                        <span class="bindSearchHistory" ms-each-item="history">
                                            <a href="javascript:void(0)" ms-value="item" ms-click="historyClick">{{item}}&nbsp;&nbsp;</a>
                                        </span>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" id="seacrhField" class="seacrhField">
                        <tbody>
                            <tr class="quickword">
                                <td width="50%">
                                    <span id="campaigntype">{{lang.CampaignType}}</span>
                                    <div id="CampaignTypeItems" style="display: inline;" ms-each-item="campaignTypeData">
                                        <a href="javascript:void(0)" ms-if="$index==0" class="selected" ms-click="itemClick" value="0" key="campaigntype">{{lang.Unlimited}}</a>
                                        <a href="javascript:void(0)" ms-click="itemClick" ms-attr-value="item.Id" key="campaigntype">{{item.Data}}</a>
                                    </div>
                                </td>
                                <td>
                                    <span id="startdatespan">发起时间</span>
                                    <div id="StartDateItems" style="display: inline;">
                                        <a href="javascript:void(0)" class="selected" ms-click="itemClick" value="0" key="startdatespan">{{lang.Unlimited}}</a>
                                        <a href="javascript:void(0)" ms-click="itemClick" value="1" key="startdatespan">1{{lang.MonthSpan}}</a>
                                        <a href="javascript:void(0)" ms-click="itemClick" value="3" key="startdatespan">3{{lang.MonthSpan}}</a>
                                        <a href="javascript:void(0)" ms-click="itemClick" value="6" key="startdatespan">6{{lang.MonthSpan}}</a>
                                        <a href="javascript:void(0)" ms-click="itemClick" value="9" key="startdatespan">9{{lang.MonthSpan}}</a>
                                        <a href="javascript:void(0)" ms-click="itemClick" value="12" key="startdatespan">12{{lang.MonthSpan}}</a>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" class="seabox"><span class="first">{{lang.CurrSearchCondition}}</span>
                                    <div style="display: inline;" ms-with="showItem">
                                        <span class="searchItem" ms-if="$val">{{$val}}<i><a href="javascript:void(0)" ms-click="remove"></a></i></span>
                                    </div>
                                    <span class="last" ms-if="has"><a href="javascript:void(0)" ms-click="clear">{{lang.ClearAll}}</a></span>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <!--<div class="boxTitlenob">
                    <h2>{{lang.MarketingCampaignList}} 
                    </h2>
                </div>-->
                    <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList" id="tableList">
                        <thead>
                            <tr class="dobtn" style="background-color: rgba(0, 0, 0, 0);">
                                <td colspan="13">
                                    <a ms-if="ADD" href="javascript:void(0)" class="doadd" ms-click="doadd">{{lang.AddBtn}}</a>
                                    <a ms-if="DELETE" href="javascript:void(0)" class="doalldel" ms-click="doalldel">{{lang.BtachDelBtn}}</a>
                                </td>
                            </tr>
                            <tr class="head" style="background-color: rgba(0, 0, 0, 0);">
                                <td width="3%" align="center">
                                    <input type="checkbox" class="checkAll">
                                </td>
                                <td width="30%" align="center">{{lang.CampaignTitle}}
                                </td>
                                <td width="7%" align="center">{{lang.CampaignType}}
                                </td>
                                <td width="7%" align="center">{{lang.CampaignSponsor}}
                                <td width="10%" align="center">{{lang.EstimatedCost}}
                                </td>
                                    <td width="10%" align="center">{{lang.ActualCost}}
                                    </td>
                                    <td width="7%" align="center">{{lang.ExpectedBusinessOpportunities}}
                                    </td>
                                    <td width="7%" align="center">{{lang.ActualBusinessOpportunities}}
                                    </td>
                                    <td width="10%" align="center">{{lang.ExpectedProjectedSales}}
                                    </td>
                                    <td width="10%" align="center">{{lang.ActualSales}}
                                    </td>
                                    <td width="6%" align="center">{{lang.StartDate}}
                                    </td>
                                    <td width="6%" align="center">{{lang.EndDate}}
                                    </td>
                                </td>
                                <td width="6%" align="center">{{lang.Operate}}
                                </td>
                            </tr>
                        </thead>
                        <tbody ms-each-item="campaignList">
                            <tr style="background-color: rgb(255, 255, 255);">
                                <td align="center">
                                    <input type="checkbox" name="checkbox" ms-value="item.Id">
                                </td>
                                <td align="left">
                                    <a href="javascript:void(0)" ms-click="doview(item.Id)" ms-value="item.Id">{{item.CampaignTheme}}</a>
                                </td>
                                <td align="center">{{item.CampaignTypeDisplay}}
                                </td>
                                <td align="center">
                                    <a href="javascript:void(0);" ms-text="item.CampaignSponsorDisplay" ms-widget='userCard' ms-data-userid="item.CampaignSponsor"></a>
                                </td>
                                <td align="right">{{item.EstimatedCost}} 
                                </td>
                                <td align="right">{{item.ActualCost}} 
                                </td>
                                <td align="right">{{item.ExpectedBusinessOpportunities}}
                                </td>
                                <td align="right">{{item.ActualBusinessOpportunities}}
                                </td>
                                <td align="right">{{item.ExpectedProjectedSales}}
                                </td>
                                <td align="right">{{item.ActualSales}}
                                </td>
                                <td align="center">{{item.StartDate | truncate(10,'')}}
                                </td>
                                <td align="center">{{item.EndDate | truncate(10,'')}}
                                </td>
                                <td align="center">
                                    <a href="javascript:void(0)" class="doview" ms-click="doview(item.Id)" ms-value="item.Id" ms-title="lang.ViewBtn"></a>
                                    <a ms-if="item.EDIT" href="javascript:void(0)" class="doedit" ms-click="doedit" ms-value="item.Id" ms-title="lang.EditBtn"></a>
                                    <a ms-if="!item.EDIT" href="javascript:void(0)" class="noedit" ms-title="lang.EditBtn"></a>
                                    <a ms-if="item.DELETE" href="javascript:void(0)" class="dodel" ms-click="dodel" ms-attr-index="$index" ms-value="item.Id" ms-title="lang.DelBtn"></a>
                                    <a ms-if="!item.DELETE" href="javascript:void(0)" class="nodel" ms-title="lang.DelBtn"></a>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="13" ms-widget='paging,upaing,campaignpaing'></td>
                            </tr>
                        </tfoot>
                    </table>
                </div>
                <!-- list end -->
                <!-- add and eidt -->
                <noscript type="avalon/text" id="campaignForm">
                    <div>
                        <ul class="tabWarp">
                            <li ms-class-hover="tab=='tab1'" ms-class-normal="tab!='tab1'" val="tab1" ms-click="tabChange">战役概况</li>
                            <li ms-class-hover="tab=='tab2'" ms-class-normal="tab!='tab2'" val="tab2" ms-click="tabChange">资源配备</li>
                        </ul>
                    </div>
                    <div class="tabContent" ms-visible="tab=='tab1'" style="width: 790px">

                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="commontable shortSelect">
                            <tbody>
                                <tr>
                                    <td>{{lang.CampaignTitle}}：
                                    </td>
                                    <td>
                                        <input type="text" ms-duplex="entity.CampaignTheme" style="width: 260px">
                                        <span class="must">*</span>
                                        <span class="helptip"><a href="#" data-toggle="tooltip" data-placement="top" ms-attr-title="lang.MarketingCampaignIdea">&nbsp;&nbsp; </a></span>
                                    </td>
                                    <td>{{lang.CampaignType}}：
                                    </td>
                                    <td>
                                        <select ms-duplex="entity.CampaignType" style="width: 120px" ms-each-item="campaignTypeData">
                                            <option ms-attr-value="item.Id">{{item.Data}}</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="70">{{lang.SalesPromotion}}：
                                    </td>
                                    <td width="300">
                                        <textarea rows="2" cols="20" style="width: 260px" ms-duplex="entity.PromotionalProducts"></textarea>
                                        <span class="must">*</span>
                                    </td>
                                    <td width="70">{{lang.TargetPeople}}：
                                    </td>
                                    <td width="300">
                                        <textarea rows="2" cols="20" style="width: 228px" ms-duplex="entity.AudienceTargetGroup"></textarea>
                                        <span class="must">*</span>
                                        <span class="helptip"><a href="#" data-toggle="tooltip" data-placement="top" ms-attr-title="{{lang.TargetPeopleDescribe}}">&nbsp;&nbsp; </a></span>
                                    </td>
                                </tr>

                                <tr>

                                    <td>{{lang.CoverageArea}}：
                                    </td>
                                    <td>
                                        <input type="text" ms-duplex="entity.CoverageArea" style="width: 260px">
                                        <span class="helptip"><a href="#" data-toggle="tooltip" data-placement="top" ms-attr-title="lang.CoverageAreaDescribe">&nbsp;&nbsp; </a></span>
                                    </td>
                                    <td>{{lang.EstimatedCost}}：
                                    </td>
                                    <td>
                                        <div class="input-append">
                                            <input type="text" ms-duplex="entity.EstimatedCost" class="chaoboFormat" style="width: 80px">
                                            <span class="add-on">{{lang.Yuan}}</span>
                                            <span class="must">*</span>
                                        </div>
                                    </td>

                                </tr>

                                <tr>
                                    <td>{{lang.ExpectedBusinessOpportunities}}：
                                    </td>
                                    <td>
                                        <div class="input-append">
                                            <input type="text" ms-duplex="entity.ExpectedBusinessOpportunities" class="chaoboFormat" style="width: 80px">
                                            <span class="add-on">{{lang.Guo}}</span>
                                            <span class="must">*</span>
                                        </div>
                                    </td>
                                    <td>{{lang.ExpectedProjectedSales}}：
                                    </td>
                                    <td>
                                        <div class="input-append">
                                            <input type="text" ms-duplex="entity.ExpectedProjectedSales" style="width: 80px" class="chaoboFormat">
                                            <span class="add-on">{{lang.Yuan}}</span>
                                            <span class="must">*</span>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td>{{lang.MarketingCampaignDescribe}}：
                                    </td>
                                    <td colspan="3" style="height: 210px">
                                        <textarea id="SpecificPrograms"></textarea>
                                        <span class="tipico" style="padding-left: 20px; color: rgb(153, 153, 153);">包括战役要达到的预期目标效果,要表达的市场诉求,具体执行方案</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>{{lang.AboutFile}}：
                                    </td>
                                    <td id="bindFilesView">
                                        <input type="button" ms-click="uploadFiles" ms-value="lang.UploadFile" />
                                        <a ms-visible="entity.Files" ms-href="entity.Files">{{entity.Files}}</a>
                                    </td>
                                    <td>{{lang.DateSpan}} ：
                                    </td>
                                    <td>
                                        <input type="text" ms-duplex="entity.StartDate" ms-widget='date,startdate,startdateOpts' style="width: 90px;" readonly="readonly">
                                        ~
                            <input type="text" ms-duplex="entity.EndDate" ms-widget='date,enddate,enddateOpts' style="width: 90px;" readonly="readonly">
                                        <span class="must">*</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>{{lang.CampaignSponsor}}：
                                    </td>
                                    <td colspan="3">
                                        <input type="hidden" ms-duplex="entity.CampaignSponsor" />
                                        <input type="text" ms-duplex="entity.CampaignSponsorDisplay" readonly="readonly" />
                                        <button type="button" class="myfbt" ms-click="selectSponsor()"><i class="iadduser"></i></button>
                                    </td>
                                </tr>
                            </tbody>
                        </table>

                    </div>
                    <div class="tabContent" ms-visible="tab=='tab2'">
                        <!--人员配置-->
                        <div class="boxTitlenob top10">
                            <h2>
                                <button class="btn btn-mini btn-danger btn_del_row" type="button" ms-click="onRelevanceAllDel('resandeq')">
                                    - {{lang.DelBtn}}</button>
                                <button class="btn btn-mini btn-primary btn_add_row" type="button" ms-click="onRelevanceAdd('resandeq')">
                                    + {{lang.AddBtn}}</button>1.{{lang.PeopleCollocate}}</h2>
                        </div>
                        <table border="0" cellspacing="1" cellpadding="0" class="tableList" id="resAndeq">
                            <thead>
                                <tr class="minhead" align="center" style="background-color: rgba(0, 0, 0, 0);">
                                    <td width="3%">
                                        <input type="checkbox" ms-click="onChkAll('resandeq')">
                                    </td>
                                    <td width="5%">{{lang.postName}}
                                    </td>
                                    <td width="15%">{{lang.People}}
                                    </td>
                                    <td width="30%">{{lang.MainJob}}
                                    </td>
                                    <td width="5%" align="center">{{lang.Operate}}
                                    </td>
                                </tr>
                            </thead>
                            <tbody ms-each-item="resandeqList">
                                <tr align="center" style="background-color: rgb(255, 255, 255);">
                                    <td width="3%" align="center">
                                        <input type="checkbox" ms-value="item.Id" name="resandeq" ms-attr-index="$index">
                                    </td>
                                    <td width="5%">
                                        <input type="text" ms-duplex="item.JobTitle" style="width: 80%;">
                                    </td>
                                    <td width="15%">
                                        <input type="hidden" ms-duplex="item.EmployeeId" />
                                        <input type="text" ms-duplex="item.EmployeeName" readonly="readonly" />
                                        <button type="button" class="myfbt" ms-click="setEmps(item)"><i class="iadduser"></i></button>
                                    </td>
                                    <td width="30%">
                                        <input type="text" ms-duplex="item.MainTasks" style="width: 90%">
                                    </td>
                                    <td width="5%" align="center">
                                        <a href="javascript:void(0)" class="dodel" ms-attr-index="$index" ms-click="onRelevanceDel('resandeq')"></a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <!---->
                        <!--物料装备-->
                        <div class="boxTitlenob top10">
                            <h2>
                                <button class="btn btn-mini btn-danger btn_del_row" type="button" ms-click="onRelevanceAllDel('materialgear')">
                                    - {{lang.DelBtn}}</button>
                                <button class="btn btn-mini btn-primary btn_add_row" type="button" ms-click="onRelevanceAdd('materialgear')">
                                    + {{lang.AddBtn}}</button>2.{{lang.MaterielEquip}}</h2>
                        </div>
                        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList">
                            <thead>
                                <tr class="minhead" align="center" style="background-color: rgba(0, 0, 0, 0);">
                                    <td width="3%">
                                        <input type="checkbox" ms-click="onChkAll('materialgear')">
                                    </td>
                                    <td width="20%">{{lang.MaterielName}}
                                    </td>
                                    <td width="15%">{{lang.Quantity}}
                                    </td>
                                    <td width="15%">{{lang.Price}}
                                    </td>
                                    <td width="25%">{{lang.Remark}}
                                    </td>
                                    <td width="5%" align="center">{{lang.Operate}}
                                    </td>
                                </tr>
                            </thead>
                            <tbody ms-each-item="materialgearList">
                                <tr align="center" id="materialgear_row_1" style="background-color: rgb(255, 255, 255);">
                                    <td width="3%" align="center">
                                        <input type="checkbox" name="materialgear" ms-value="item.Id" ms-attr-index="$index">
                                    </td>
                                    <td width="20%">
                                        <input type="text" ms-duplex="item.MaterialName" style="width: 90%;">
                                    </td>
                                    <td width="15%">
                                        <div class="input-append">
                                            <input type="text" ms-duplex="item.Num" style="width: 100px;">
                                            <span class="add-on">{{lang.Guo}}</span>
                                        </div>
                                    </td>
                                    <td width="15%">
                                        <div class="input-append">
                                            <input type="text" ms-duplex="item.Price" style="width: 100px">
                                            <span class="add-on">{{lang.Yuan}}</span>
                                        </div>
                                    </td>
                                    <td width="25%">
                                        <input type="text" ms-duplex="item.Remark" style="width: 90%">
                                    </td>
                                    <td width="5%" align="center">
                                        <a href="javascript:void(0)" class="dodel" ms-attr-index="$index" ms-click="onRelevanceDel('materialgear')"></a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <!---->
                        <!--配套培训-->
                        <div class="boxTitlenob top10">
                            <h2>
                                <button class="btn btn-mini btn-danger btn_del_row" type="button" ms-click="onRelevanceAllDel('matingtrain')">
                                    - {{lang.DelBtn}}</button>
                                <button class="btn btn-mini btn-primary btn_add_row" type="button" ms-click="onRelevanceAdd('matingtrain')">
                                    + {{lang.AddBtn}}</button>3.{{lang.Train}}</h2>
                        </div>
                        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList" id="matingtrain">
                            <thead>
                                <tr class="minhead" align="center">
                                    <td width="3%">
                                        <input type="checkbox" ms-click="onChkAll('matingtrain')">
                                    </td>
                                    <td width="20%">{{lang.TrainName}}
                                    </td>
                                    <td width="25%">{{lang.Remark}}
                                    </td>
                                    <td width="3%" align="center">{{lang.Operate}}
                                    </td>
                                </tr>
                            </thead>
                            <tbody ms-each-item="matingtrainList">
                                <tr align="center" style="background-color: rgb(255, 255, 255);">
                                    <td width="3%" align="center">
                                        <input type="checkbox" name="matingtrain" ms-value="item.Id" ms-attr-index="$index">
                                    </td>
                                    <td width="20%">
                                        <input type="text" ms-duplex="item.MatingTrainName" style="width: 90%;">
                                    </td>
                                    <td width="25%">
                                        <input type="text" ms-duplex="item.Remark" style="width: 90%">
                                    </td>
                                    <td width="3%" align="center">
                                        <a href="javascript:void(0)" class="dodel btn_del_row del_item" ms-attr-index="$index" ms-click="onRelevanceDel('matingtrain')"></a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <!---->
                        <!--具体战斗任务和相关采购计划-->
                        <div class="boxTitlenob top10">
                            <h2>
                                <button class="btn btn-mini btn-danger btn_del_row" type="button" ms-click="onRelevanceAllDel('combatmmissions')">
                                    - {{lang.DelBtn}}</button>
                                <button class="btn btn-mini btn-primary btn_add_row" type="button" ms-click="onRelevanceAdd('combatmmissions')">
                                    + {{lang.AddBtn}}</button>4.{{lang.CombatmMissions}}</h2>
                        </div>
                        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList">
                            <thead>
                                <tr class="minhead" align="center">
                                    <td width="3%">
                                        <input type="checkbox" ms-click="onChkAll('combatmmissions')">
                                    </td>
                                    <td width="6%">{{lang.BigTask}}
                                    </td>
                                    <td width="6%">{{lang.SmallTask}}
                                    </td>
                                    <td width="10%">{{lang.TaskContent}}
                                    </td>
                                    <td width="10%">{{lang.Principal}}
                                    </td>
                                    <td width="6%">{{lang.ExecutionStartTime}}
                                    </td>
                                    <td width="6%">{{lang.ExecutionEndTime}}
                                    </td>
                                    <td width="8%">{{lang.EstimatedCost}}
                                    </td>
                                    <td width="5%" align="center">{{lang.Operate}}
                                    </td>
                                </tr>
                            </thead>
                            <tbody ms-each-item="combatmmissionsList">
                                <tr align="center" style="background-color: rgb(255, 255, 255);" ms-attr-index="$index" ms-live-click="setIndex">
                                    <td align="center">
                                        <input type="checkbox" name="combatmmissions" ms-value="item.Id" ms-attr-index="$index">
                                    </td>
                                    <td>
                                        <input type="text" ms-duplex="item.TaskMajorItem" style="width: 100px;">
                                    </td>
                                    <td>
                                        <input type="text" ms-duplex="item.TaskSmallItem" style="width: 100px;">
                                    </td>
                                    <td>
                                        <input type="text" ms-duplex="item.MainContent" style="width: 100px;">
                                    </td>
                                    <td style="width: 160px;">
                                        <input type="hidden" ms-duplex="item.ConscientiousPerson" />
                                        <input type="text" ms-duplex="item.ConscientiousPersonDisplay" readonly="readonly" style="width: 80px;" />
                                        <button type="button"  class="myfbt" ms-live-click="setCons(item)"><i class="iadduser"></i></button>
                                    </td>
                                    <td>
                                        <input type="text" ms-duplex="item.ExecutionStartTime" style="width: 100px;" ms-widget='date,executionstartdate,executionstartdateOpts' readonly="readonly">
                                    </td>
                                    <td>
                                        <input type="text" ms-duplex="item.ExecutionEndTime" style="width: 100px;" ms-widget='date,executionenddate,executionenddateOpts' readonly="readonly">
                                    </td>
                                    <td>
                                        <div class="input-append">
                                            <input type="text" ms-duplex="item.EstimatedCost" class="chaoboFormat" style="width: 60px;" ms-blur="onSumCost">
                                            <span class="add-on">{{lang.Yuan}}</span>
                                        </div>
                                    </td>
                                    <td align="center">
                                        <a href="javascript:void(0)" class="dodel btn_del_row del_item" ms-attr-index="$index" ms-click="onRelevanceDel('combatmmissions')"></a>
                                    </td>
                                </tr>
                            </tbody>
                            <tfoot>
                                <tr align="center" style="background-color: rgb(246, 246, 246);">
                                    <td colspan="7" align="right">{{lang.Total}}:
                                    </td>
                                    <td colspan="2" align="left">
                                        <span id="totalCost">{{comMmisSum}}</span>{{lang.Yuan}}
                                    </td>
                                </tr>
                            </tfoot>
                        </table>
                    </div>
                </noscript>
                <!-- add and eidt end-->
                <!-- view -->
                <noscript type="avalon/text" id="viewTemplate">
                    <div>
                        <ul class="tabWarp">
                            <li ms-class-hover="tab=='tab1'" ms-class-normal="tab!='tab1'" val="tab1" ms-click="tabChange">战役概况</li>
                            <li ms-class-hover="tab=='tab2'" ms-class-normal="tab!='tab2'" val="tab2" ms-click="tabChange">资源配备</li>
                        </ul>
                    </div>
                    <div class="tabContent" ms-visible="tab=='tab1'">
                        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tablecInfo">
                            <tbody>
                                <tr>
                                    <td width="70">{{lang.CampaignTitle}}：
                                    </td>
                                    <td>{{entity.CampaignTheme}}
                                    </td>
                                    <td width="70">{{lang.CampaignType}}：
                                    </td>
                                    <td>{{entity.CampaignTypeDisplay}}
                                    </td>
                                </tr>
                                <tr>
                                    <td width="70">{{lang.TargetPeople}}：
                                    </td>
                                    <td width="200px">{{entity.AudienceTargetGroup}}
                                    </td>
                                    <td width="70">{{lang.SalesPromotion}}：
                                    </td>
                                    <td width="200px">{{entity.PromotionalProducts}}
                                    </td>
                                </tr>
                                <tr>

                                    <td width="70">{{lang.CoverageArea}}：
                                    </td>
                                    <td>{{entity.CoverageArea}}
                                    </td>
                                    <td width="70">{{lang.EstimatedCost}}：
                                    </td>
                                    <td>{{entity.EstimatedCost}} 
                                    </td>
                                </tr>



                                <tr>
                                    <td width="70">{{lang.ExpectedBusinessOpportunities}}：
                                    </td>
                                    <td>{{entity.ExpectedBusinessOpportunities}}
                                    </td>
                                    <td width="70">{{lang.ExpectedProjectedSales}}：
                                    </td>
                                    <td>{{entity.ExpectedProjectedSales}}
                                    </td>
                                </tr>

                                <tr>
                                    <td width="70">{{lang.MarketingCampaignDescribe}}：
                                    </td>
                                    <td colspan="3">{{entity.CampaignDescriptionAndSpecificPrograms|html}}
                                    </td>
                                </tr>
                                <tr>
                                    <td width="70">{{lang.AboutFile}}：
                                    </td>
                                    <td>
                                        <a ms-if="entity.Files" ms-href="entity.Files">文件下载</a>
                                    </td>
                                    <td width="70px">{{lang.DateSpan}} ：
                                    </td>
                                    <td>{{entity.StartDate|truncate(10,'')}}
                            &nbsp;~
                            {{entity.EndDate|truncate(10,'')}}
                                    </td>
                                </tr>
                                <tr>
                                    <td width="70">{{lang.CampaignSponsor}}：
                                    </td>
                                    <td colspan="3">{{entity.CampaignSponsorDisplay}}
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="tabContent" ms-visible="tab=='tab2'" style="max-height: 400px; overflow-y: scroll; overflow-x: hidden">
                        <!--人员配置-->
                        <div class="boxTitlenob top10">
                            <h2>1.{{lang.PeopleCollocate}}</h2>
                        </div>
                        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList">
                            <thead>
                                <tr class="minhead" align="center" style="background-color: rgba(0, 0, 0, 0);">
                                    <td width="15%">{{lang.postName}}
                                    </td>
                                    <td width="15%">{{lang.People}}
                                    </td>
                                    <td width="21%">{{lang.MainJob}}
                                    </td>
                                </tr>
                            </thead>
                            <tbody ms-each-item="resandeqList">
                                <tr align="center" style="background-color: rgb(255, 255, 255);">
                                    <td width="15%">{{item.JobTitle}}
                                    </td>
                                    <td width="15%">{{item.EmployeeName}}</td>
                                    <td width="21%">{{item.MainTasks}}
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <!---->
                        <!--物料装备-->
                        <div class="boxTitlenob top10">
                            <h2>2.{{lang.MaterielEquip}}</h2>
                        </div>
                        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList">
                            <thead>
                                <tr class="minhead" align="center" style="background-color: rgba(0, 0, 0, 0);">

                                    <td width="20%">{{lang.MaterielName}}
                                    </td>
                                    <td width="15%">{{lang.Quantity}}
                                    </td>
                                    <td width="15%">{{lang.Price}}
                                    </td>
                                    <td width="25%">{{lang.Remark}}
                                    </td>
                                </tr>
                            </thead>
                            <tbody ms-each-item="materialgearList">
                                <tr align="center" style="background-color: rgb(255, 255, 255);">

                                    <td width="20%">{{item.MaterialName}}
                                    </td>
                                    <td width="15%">{{item.Num}}
                                    </td>
                                    <td width="15%">{{item.Price}}
                                    </td>
                                    <td width="25%">{{item.Remark}}
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <!---->
                        <!--配套培训-->
                        <div class="boxTitlenob top10">
                            <h2>3.{{lang.Train}}</h2>
                        </div>
                        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList">
                            <thead>
                                <tr class="minhead" align="center">

                                    <td width="20%">{{lang.TrainName}}
                                    </td>
                                    <td width="25%">{{lang.Remark}}
                                    </td>
                                </tr>
                            </thead>
                            <tbody ms-each-item="matingtrainList">
                                <tr align="center" style="background-color: rgb(255, 255, 255);">

                                    <td width="20%">{{item.MatingTrainName}}
                                    </td>
                                    <td width="25%">{{item.Remark}}
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <!---->
                        <!--具体战斗任务和相关采购计划-->
                        <div class="boxTitlenob top10">
                            <h2>4.{{lang.CombatmMissions}}</h2>
                        </div>
                        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList">
                            <thead>
                                <tr class="minhead" align="center">
                                    <td width="10%">{{lang.BigTask}}
                                    </td>
                                    <td width="10%">{{lang.SmallTask}}
                                    </td>
                                    <td width="15%">{{lang.TaskContent}}
                                    </td>
                                    <td width="16%">{{lang.Principal}}
                                    </td>
                                    <td width="9%">{{lang.ExecutionStartTime}}
                                    </td>
                                    <td width="9%">{{lang.ExecutionEndTime}}
                                    </td>
                                    <td width="10%">{{lang.EstimatedCost}}
                                    </td>
                                </tr>
                            </thead>
                            <tbody ms-each-item="combatmmissionsList">
                                <tr align="center" style="background-color: rgb(255, 255, 255);">

                                    <td width="10%">{{item.TaskMajorItem}}
                                    </td>
                                    <td width="10%">{{item.TaskSmallItem}}
                                    </td>
                                    <td width="10%">{{item.MainContent}}
                                    </td>
                                    <td width="16%">{{item.ConscientiousPersonDisplay}}</td>
                                    <td width="8%">{{item.ExecutionStartTime}}
                                    </td>
                                    <td width="8%">{{item.ExecutionEndTime}}
                                    </td>
                                    <td width="10%">{{item.EstimatedCost}} 
                                    </td>
                                </tr>
                            </tbody>
                            <tfoot>
                                <tr align="center" style="background-color: rgb(246, 246, 246);">
                                    <td colspan="5" align="right">{{lang.Total}}:
                                    </td>
                                    <td colspan="2" align="left">
                                        <span id="Span1">{{comMmisSum}}</span>{{lang.Yuan}}
                                    </td>
                                </tr>
                            </tfoot>
                        </table>
                        <!---->
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="titbox" style="margin-top: 10px;">
                            <tbody>
                                <tr>
                                    <td width="91" height="30" class="tit">{{lang.SystemIofo}}
                                    </td>
                                    <td>&nbsp;
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tablecInfo" style="margin-bottom: 20px;">
                            <tbody>
                                <tr>
                                    <td width="70">{{lang.AddByDisplay}}
                                    </td>
                                    <td width="200">{{entity.AddBy.FullName}}
                                    </td>
                                    <td width="70">{{lang.AddTime}}
                                    </td>
                                    <td width="200">{{entity.AddTime|truncate(10,'')}}
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </noscript>
                <!-- view end-->
            </td>
        </tr>
    </tbody>
</table>
