Commit 5b7ba900 authored by 吴春's avatar 吴春

1

parent 524bf6d2
...@@ -462,6 +462,7 @@ export const admin={ //行政 ...@@ -462,6 +462,7 @@ export const admin={ //行政
hotel_StartDate:'开始日期', hotel_StartDate:'开始日期',
hotel_EndDate:'结束日期', hotel_EndDate:'结束日期',
hotel_Currency:'币种', hotel_Currency:'币种',
Operate:'操作',
hotel_CurrentRate:'汇率', hotel_CurrentRate:'汇率',
hotel_UseAmount:'报入人数', hotel_UseAmount:'报入人数',
hotel_commission:'返佣', hotel_commission:'返佣',
......
...@@ -4244,7 +4244,7 @@ export const obj = { ...@@ -4244,7 +4244,7 @@ export const obj = {
beizhu3: '凡是填写必须进店的,未进,公社购物金额不足150万及格线,均要填坑补店 10万日元/店', beizhu3: '凡是填写必须进店的,未进,公社购物金额不足150万及格线,均要填坑补店 10万日元/店',
xinzengfy: '新增费用', xinzengfy: '新增费用',
xiugaify: '修改费用', xiugaify: '修改费用',
xinzengqtzc: '新增其它支出', xinzengqtzc: '新增/编辑其它支出',
fieyongmc: '费用名称', fieyongmc: '费用名称',
feiyongjg: '费用价格', feiyongjg: '费用价格',
qitazhic: '其它支出', qitazhic: '其它支出',
......
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
<tr> <tr>
<td> <td>
<el-form-item label="制度有效期" prop="Sort"> <el-form-item label="制度有效期" prop="Sort">
<el-date-picker v-model="addMsg.effectiveDateList" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"> </el-date-picker> <el-date-picker value-format="yyyy-MM-dd" v-model="addMsg.effectiveDateList" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"> </el-date-picker>
</el-form-item> </el-form-item>
</td> </td>
</tr> </tr>
......
...@@ -129,14 +129,6 @@ ...@@ -129,14 +129,6 @@
<td> <td>
<template v-if="item.Id&&item.Id>0"> {{item.EffectiveStartDate}}-{{item.EffectiveEndDate}}</template> <template v-if="item.Id&&item.Id>0"> {{item.EffectiveStartDate}}-{{item.EffectiveEndDate}}</template>
</td> </td>
<!-- <td>
<template v-if="item.QuotaTotal&&item.QuotaTotal>0">
<div>可用金额:{{item.QuotaAvailable}}</div>
<div>锁定金额:{{item.QuotaLocked}}</div>
<div>已用金额:{{item.QuotaUsed}}</div>
</template>
<span>刷新</span>
</td> -->
<td v-if="IsEdit==1"> <td v-if="IsEdit==1">
<template v-if="item.Id&&item.Id>0"> <template v-if="item.Id&&item.Id>0">
<el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top-start"> <el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top-start">
...@@ -170,9 +162,9 @@ ...@@ -170,9 +162,9 @@
<tr> <tr>
<td> <td>
<el-form-item label="类型" prop="action"> <el-form-item label="类型" prop="action">
<el-radio v-model="AddMsgQuota.action" label="1">增加额度</el-radio> <el-radio v-model="AddMsgQuota.Action" label="1">增加额度</el-radio>
<el-radio v-model="AddMsgQuota.action" label="2">减少额度</el-radio> <el-radio v-model="AddMsgQuota.Action" label="2">减少额度</el-radio>
<el-radio v-model="AddMsgQuota.action" label="3">删除额度</el-radio> <el-radio v-model="AddMsgQuota.Action" label="3">删除额度</el-radio>
</el-form-item> </el-form-item>
</td> </td>
</tr> </tr>
...@@ -231,7 +223,7 @@ ...@@ -231,7 +223,7 @@
<tr> <tr>
<td> <td>
<el-form-item label="额度有效期" prop="EffectiveDateList"> <el-form-item label="额度有效期" prop="EffectiveDateList">
<el-date-picker v-model="NewMsgQuota.EffectiveDateList" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"> </el-date-picker> <el-date-picker value-format="yyyy-MM-dd" v-model="NewMsgQuota.EffectiveDateList" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"> </el-date-picker>
</el-form-item> </el-form-item>
</td> </td>
</tr> </tr>
...@@ -267,7 +259,7 @@ ...@@ -267,7 +259,7 @@
<tr> <tr>
<td> <td>
<el-form-item label="制度生效时间" prop="Sort"> <el-form-item label="制度生效时间" prop="Sort">
<el-date-picker v-model="addMsg.effectiveDateList" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"> </el-date-picker> <el-date-picker value-format="yyyy-MM-dd" v-model="addMsg.effectiveDateList" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"> </el-date-picker>
</el-form-item> </el-form-item>
</td> </td>
</tr> </tr>
...@@ -385,7 +377,7 @@ ...@@ -385,7 +377,7 @@
InstitutionDesc:"",//费控描述 InstitutionDesc:"",//费控描述
EffectiveEndDate:"", EffectiveEndDate:"",
EffectiveStartDate:"", EffectiveStartDate:"",
effectiveDateList:[], effectiveDateList:'',
}, },
rulesMsg: { rulesMsg: {
InstitutionName: [{ InstitutionName: [{
...@@ -547,7 +539,7 @@ ...@@ -547,7 +539,7 @@
}) })
}, },
AlipayEbppInvoiceExpensecontrolQuotaQuery() { //获取用户使用额度情况 AlipayEbppInvoiceExpensecontrolQuotaQuery() { //获取用户使用额度情况
this.apipost('alipay_post_AlipayEbppInvoiceExpensecontrolQuotaQuery', {InstitutionId:this.msg.Id}, res => { this.apipost('alipay_post_AlipayEbppInvoiceExpensecontrolQuotaQuery', {InstitutionId:this.DataList.Id}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
let RoyaltyList = [] let RoyaltyList = []
RoyaltyList = res.data.data RoyaltyList = res.data.data
......
...@@ -806,9 +806,10 @@ ...@@ -806,9 +806,10 @@
</tr> </tr>
</table> </table>
<!-- 其他支出费用 --> <!-- 其他支出费用 -->
<!-- <p class="teamRevenueExpenditureTitle"> <template v-if="myLineId==90">
<p class="teamRevenueExpenditureTitle" >
{{$t('objFill.v101.dmc.qitazhic')}} {{$t('objFill.v101.dmc.qitazhic')}}
<span class="fr" style="margin-top: -8px;"> <span class="fr" style="margin-top: -8px;" v-if="DanjuNum==0">
<input type="button" class="normalBtn" :value="$t('objFill.v101.dmc.xinzengqtzc')" @click="addOtherExpenses" /> <input type="button" class="normalBtn" :value="$t('objFill.v101.dmc.xinzengqtzc')" @click="addOtherExpenses" />
</span> </span>
</p> </p>
...@@ -820,19 +821,19 @@ ...@@ -820,19 +821,19 @@
<th width="">{{$t('hotel.hotel_Currency')}}</th> <th width="">{{$t('hotel.hotel_Currency')}}</th>
<th width="110">{{$t('system.table_operation')}}</th> <th width="110">{{$t('system.table_operation')}}</th>
</tr> </tr>
<template v-for='(item,index) in TotalNav.leaderOtherExpensesList'> <template v-for='(item,index) in TotalNav.leaderOtherExpensesList'>
<tr> <tr>
<td>{{item.OtherName}}</td> <td>{{item.OtherName}}</td>
<td>{{item.OtherPrice}}</td> <td>{{item.OtherPrice}}</td>
<td>{{item.PayType}}</td> <td>{{item.PayTypeName}}</td>
<td>{{item.CurrencyId}}</td> <td>{{item.CurrencyName}}</td>
<td> <td>
<el-button class="normalBtn" type="primary" @click="editorOtherExpenses(item)">{{$t('pub.edit')}}</el-button> <span @click="editorOtherExpenses(item,index)" class="el-icon-delete itc-delete" v-if="DanjuNum==0"></span>
</td> </td>
</tr> </tr>
</template> </template>
</table> --> </table>
</template>
<p class="teamRevenueExpenditureTitle"> <p class="teamRevenueExpenditureTitle">
其它 其它
<span class="fr" style="margin-top: -8px;"> <span class="fr" style="margin-top: -8px;">
...@@ -1012,7 +1013,7 @@ ...@@ -1012,7 +1013,7 @@
</template> </template>
<template v-else-if="item.CompanyAlipay===1"> <template v-else-if="item.CompanyAlipay===1">
<span style="color:red;"> {{$t('objFill.v101.dmc.yikqqydf')}}</span> <span style="color:red;" @click="GoCompanyAlipay(item)"> {{$t('objFill.v101.dmc.yikqqydf')}}</span>
</template> </template>
</template> </template>
</div> </div>
...@@ -1138,29 +1139,33 @@ ...@@ -1138,29 +1139,33 @@
</el-col> </el-col>
</el-row> </el-row>
</el-dialog> </el-dialog>
<el-dialog :visible.sync="showOtherExpenses" width="1000px" :title="OtherExpensesTitle" @close="clearMsg()"> <el-dialog :visible.sync="showOtherExpenses" width="1000px" :title="OtherExpensesTitle" @close="clearOtherExpensesMsg()">
<el-form :model="OtherExpensesMsg" ref="OtherExpensesMsg" :rules="rules" label-width="100px"> <el-form :model="OtherExpensesMsg" ref="OtherExpensesMsg" :rules="rules" label-width="100px">
<el-form-item class="ImpressionTicketing-OuterFrame" label-width="0" style="width: 100%;"> <el-form-item class="ImpressionTicketing-OuterFrame" label-width="0" style="width: 100%;">
<div class="ImpressionTicketing-msgbox" v-for="(item,index) in OtherExpensesMsg.OtherExpensesList"> <table class="OtherExpensesList" style="width: 100%;">
<div> <tr style="width:100%;">
<el-form-item <th colspan="5" style="color:red !important; ">其它支出<span @click="addOExpenses()" class="el-icon-circle-plus-outline itc-outline"></span></th>
:label="OtherExpensesMsg.OtherExpensesList.length>0?`${$t('objFill.v101.dmc.fieyongmc')} ${index+1} `:` ` " </tr>
:prop="`OtherExpensesList.${index}.OtherName`" <tr style="width:100%;">
<th style="width:50%;">{{$t('objFill.v101.dmc.fieyongmc')}}</th>
<th style="width:20%;">{{$t('objFill.v101.dmc.feiyongjg')}}</th>
<th style="width:10%;">{{$t('fnc.fkfangshi')}}</th>
<th style="width:10%;">{{$t('hotel.hotel_Currency')}}</th>
<th style="width:10%;">{{$t('hotel.Operate')}}</th>
</tr>
<tr v-for="(item,index) in OtherExpensesMsg.OtherExpensesList" :key="index">
<td> <el-form-item :prop="`OtherExpensesList.${index}.OtherName`"
:rules="rules.OtherName"> :rules="rules.OtherName">
<el-input v-model="item.OtherName" clearable></el-input> <el-input v-model="item.OtherName" clearable maxlength="200"></el-input>
</el-form-item> </el-form-item>
</div> </td>
<div> <td> <el-form-item
<el-form-item
:label="OtherExpensesMsg.OtherExpensesList.length>0?`${$t('objFill.v101.dmc.feiyongjg')} ${index+1} `:` ` "
:prop="`OtherExpensesList.${index}.OtherPrice`" :prop="`OtherExpensesList.${index}.OtherPrice`"
:rules="rules.OtherPrice"> :rules="rules.OtherPrice">
<el-input v-model="item.OtherPrice" type="number" clearable></el-input> <el-input v-model="item.OtherPrice" type="number" clearable></el-input>
</el-form-item> </el-form-item></td>
</div> <td>
<div> <el-form-item
<el-form-item
:label="OtherExpensesMsg.OtherExpensesList.length>0?`${$t('objFill.v101.dmc.feiyongjg')} ${index+1} `:` ` "
:prop="`OtherExpensesList.${index}.PayType`" :prop="`OtherExpensesList.${index}.PayType`"
:rules="rules.PayType"> :rules="rules.PayType">
<el-select class='w135 sel' v-model='item.PayType' :placeholder="$t('pub.pleaseSel')"> <el-select class='w135 sel' v-model='item.PayType' :placeholder="$t('pub.pleaseSel')">
...@@ -1176,29 +1181,28 @@ ...@@ -1176,29 +1181,28 @@
 <el-option :label="$t('ground.enterpriseAlipay')"  :value='15'></el-option>  <el-option :label="$t('ground.enterpriseAlipay')"  :value='15'></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</div> </td>
<div> <td>
<el-form-item <el-form-item
:label="OtherExpensesMsg.OtherExpensesList.length>0?`${$t('objFill.v101.dmc.feiyongjg')} ${index+1} `:` ` "
:prop="`OtherExpensesList.${index}.CurrencyId`" :prop="`OtherExpensesList.${index}.CurrencyId`"
:rules="rules.CurrencyId"> :rules="rules.CurrencyId">
<el-select v-model="item.CurrencyId" placeholder="请选择币种"> <el-select v-model="item.CurrencyId" :placeholder="$t('pub.pleaseSel')">
<el-option v-for="(items,index) in allCurrencyList" :key="index" :label="items.Name" <el-option v-for="(items,index) in allCurrencyList" :key="index" :label="items.Name"
:value="items.ID"> :value="items.ID">
</el-option> </el-option>
</el-select> </el-select>
<!-- <el-input v-model="item.OtherPrice" type="number"></el-input> -->
</el-form-item> </el-form-item>
</div> </td>
<div class="ImpressionTicketing-msg-but"> <td>
<span @click="addOExpenses(item,index)" v-if="index==0" class="el-icon-circle-plus-outline itc-outline"></span> <span @click="deleteOExpenses(index)" class="el-icon-delete itc-delete"></span>
<span @click="deleteOExpenses(index)" v-else class="el-icon-delete itc-delete"></span> </td>
</div> </tr>
</div> </table>
</el-form-item> </el-form-item>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button class="hollowFixedBtn" @click="showOtherExpenses = false">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="hollowFixedBtn" @click="clearOtherExpensesMsg()">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="submitFormOther('OtherExpensesMsg')" :loading="OtherLoading">{{$t('pub.saveBtn')}}</el-button> &nbsp; <el-button class="normalBtn" type="primary" @click="submitFormOther('OtherExpensesMsg')" :loading="OtherLoading">{{$t('pub.saveBtn')}}</el-button> &nbsp;
</div> </div>
</el-dialog> </el-dialog>
...@@ -1281,6 +1285,7 @@ ...@@ -1281,6 +1285,7 @@
UseTotalPrice:0, UseTotalPrice:0,
OtherExpensesTitle: '', OtherExpensesTitle: '',
showOtherExpenses: false, showOtherExpenses: false,
DanjuNum:0,
OtherExpensesObj: { OtherExpensesObj: {
ID:0, ID:0,
OtherName:'', OtherName:'',
...@@ -1290,13 +1295,13 @@ ...@@ -1290,13 +1295,13 @@
}, },
OtherExpensesMsg: { OtherExpensesMsg: {
OtherExpensesList: [ OtherExpensesList: [
{ // {
ID:0, // ID:0,
OtherName:'', // OtherName:'',
OtherPrice:'', // OtherPrice:'',
PayType:'', // PayType:'',
CurrencyId:'' // CurrencyId:''
}, // },
], ],
TCID: 0, TCID: 0,
}, },
...@@ -1343,6 +1348,7 @@ ...@@ -1343,6 +1348,7 @@
this.$refs['OtherExpensesMsg'].resetFields(); this.$refs['OtherExpensesMsg'].resetFields();
this.showOtherExpenses = false; this.showOtherExpenses = false;
this.Success(res.data.message) this.Success(res.data.message)
this.clearOtherExpensesMsg();
} else { } else {
this.Error(res.data.message) this.Error(res.data.message)
} }
...@@ -1360,13 +1366,49 @@ ...@@ -1360,13 +1366,49 @@
this.OtherExpensesMsg.OtherExpensesList.splice(index,1) this.OtherExpensesMsg.OtherExpensesList.splice(index,1)
}, },
addOtherExpenses() { addOtherExpenses() {
this.OtherExpensesTitle = this.$t('objFill.v101.dmc.xinzengqtzc') this.OtherExpensesTitle = this.$t('objFill.v101.dmc.xinzengqtzc');
if(this.TotalNav.leaderOtherExpensesList&&this.TotalNav.leaderOtherExpensesList.length>0){
this.OtherExpensesMsg.OtherExpensesList=JSON.parse(JSON.stringify(this.TotalNav.leaderOtherExpensesList))
}
this.showOtherExpenses = true this.showOtherExpenses = true
}, },
editorOtherExpenses(item) { editorOtherExpenses(item,index) {
this.OtherExpensesMsg = JSON.parse(JSON.stringify(item)) this.$confirm(this.$t('objFill.ydscbkhf'), this.$t("tips.tips"), {
this.OtherExpensesTitle = this.$t('objFill.v101.dmc.bianjiqizc') confirmButtonText: this.$t("pub.sureBtn"),
this.showOtherExpenses = true cancelButtonText: this.$t("pub.cancelBtn"),
type: "warning"
}
)
.then(() => {
this.OtherExpensesMsg.OtherExpensesList=[];
this.OtherExpensesMsg.TCID = this.msg.TCIDs = this.$route.query.id;
if(this.TotalNav.leaderOtherExpensesList&&this.TotalNav.leaderOtherExpensesList.length>0){
this.OtherExpensesMsg.OtherExpensesList=JSON.parse(JSON.stringify(this.TotalNav.leaderOtherExpensesList))
}
if(this.OtherExpensesMsg.OtherExpensesList&&this.OtherExpensesMsg.OtherExpensesList.length>0){
this.OtherExpensesMsg.OtherExpensesList.splice(index, 1);
}
this.apipost(
'dmcstatistics_post_SetOtherExpenses', this.OtherExpensesMsg,
res => {
if (res.data.resultCode == 1) {
this.getTotalNav()
this.Success('删除成功')
this.clearOtherExpensesMsg();
} else {
this.Error(res.data.message)
}
this.OtherLoading = false
},
err => {}
)
})
.catch(() => {
return false;
});
// this.OtherExpensesMsg = JSON.parse(JSON.stringify(item))
// this.OtherExpensesTitle = this.$t('objFill.v101.dmc.bianjiqizc')
// this.showOtherExpenses = true
}, },
//用款计划下载 //用款计划下载
downloadMoneyPlan() { downloadMoneyPlan() {
...@@ -1820,6 +1862,10 @@ ...@@ -1820,6 +1862,10 @@
} }
}) })
} }
if (this.msgCompanyAlipay.EffectiveDateList && this.msgCompanyAlipay.EffectiveDateList.length > 0) {
this.msgCompanyAlipay.EffectiveStartDate = this.msgCompanyAlipay.EffectiveDateList[0];
this.msgCompanyAlipay.EffectiveEndDate = this.msgCompanyAlipay.EffectiveDateList[1];
}
if(leaderGetPrice>Number(this.UseTotalPrice)){ if(leaderGetPrice>Number(this.UseTotalPrice)){
this.Error("总额度不能超过"+this.UseTotalPrice); this.Error("总额度不能超过"+this.UseTotalPrice);
return; return;
...@@ -1857,9 +1903,14 @@ ...@@ -1857,9 +1903,14 @@
this.msgCompanyAlipay.InstitutionName=""; this.msgCompanyAlipay.InstitutionName="";
this.msgCompanyAlipay.InstitutionDesc=""; this.msgCompanyAlipay.InstitutionDesc="";
this.$refs['companyalipay'].clearMsg() this.$refs['companyalipay'].clearMsg()
},
clearOtherExpensesMsg(){
this.showOtherExpenses=false;
this.OtherExpensesMsg.TCID=0;
this.OtherExpensesMsg.OtherExpensesList=[];
}, },
OpenCompanyAlipay(obj, num, leadr, cur){ OpenCompanyAlipay(obj, num, leadr, cur){
console.log("OpenCompanyAlipay-->obj:",obj);
let totailMoney = (Number(leadr.LeaderGetPriceT) + Number(cur.yiLing)).toFixed(2); let totailMoney = (Number(leadr.LeaderGetPriceT) + Number(cur.yiLing)).toFixed(2);
let leadrPlanPrice = 0; let leadrPlanPrice = 0;
if (leadr && leadr.PlanPrice) { if (leadr && leadr.PlanPrice) {
...@@ -1888,7 +1939,6 @@ ...@@ -1888,7 +1939,6 @@
return; return;
} }
} }
if (this.list.hotelNoSureInfo !== "") {
this.CompanyAlipayTCID=obj.TCIDS; this.CompanyAlipayTCID=obj.TCIDS;
this.ShowCompanyAlipay=true; this.ShowCompanyAlipay=true;
this.TeamStartDateList=[]; this.TeamStartDateList=[];
...@@ -1901,7 +1951,6 @@ ...@@ -1901,7 +1951,6 @@
this.TeamStartDateList.push(Y + M + D); this.TeamStartDateList.push(Y + M + D);
this.UseTotalPrice=leadr.LeaderGetPriceT; this.UseTotalPrice=leadr.LeaderGetPriceT;
console.log("CompanyAlipayTCID222",this.CompanyAlipayTCID); console.log("CompanyAlipayTCID222",this.CompanyAlipayTCID);
}
}, },
addOtherList(index, id) { addOtherList(index, id) {
this.list.OtherOrderReportList.OtherList.push({ this.list.OtherOrderReportList.OtherList.push({
...@@ -2083,6 +2132,7 @@ ...@@ -2083,6 +2132,7 @@
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
let nav = res.data.data.list; let nav = res.data.data.list;
this.DanjuNum=res.data.data.DanjuNum;
this.LineId = res.data.data.EntryId; this.LineId = res.data.data.EntryId;
if (nav[0].OutBranchId == 1216 || this.myLineId == 90) { if (nav[0].OutBranchId == 1216 || this.myLineId == 90) {
this.IsShowRMB = true; this.IsShowRMB = true;
...@@ -2935,5 +2985,26 @@ ...@@ -2935,5 +2985,26 @@
.cursor-pointer { .cursor-pointer {
cursor: pointer; cursor: pointer;
} }
table.OtherExpensesList {
font-family: verdana,arial,sans-serif;
font-size:11px;
color:#333333;
border: 1px solid #DCDFE6;
border-collapse: collapse;
}
/* table.OtherExpensesList th:first {
border: 1px solid #ccc;
padding: 8px;
background-color: #dedede ;
} */
table.OtherExpensesList th {
border: 1px solid #ccc;
padding: 8px;
background-color: #dedede ;
}
table.OtherExpensesList td {
border: 1px solid #DCDFE6;
padding: 8px;
background-color: #ffffff;
}
</style> </style>
...@@ -41,6 +41,13 @@ table.companyalipay { ...@@ -41,6 +41,13 @@ table.companyalipay {
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col >
<el-form-item label="制度有效期" prop="EffectiveDateList">
<el-date-picker value-format="yyyy-MM-dd" v-model="msg.EffectiveDateList" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"> </el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col > <el-col >
<el-form-item label="员工" prop="EmployeeIdList"> <el-form-item label="员工" prop="EmployeeIdList">
<el-select <el-select
...@@ -78,7 +85,7 @@ table.companyalipay { ...@@ -78,7 +85,7 @@ table.companyalipay {
<el-radio v-model="item.ShareMode" label="1"></el-radio> <el-radio v-model="item.ShareMode" label="1"></el-radio>
</td> </td>
<td> <td>
<el-date-picker v-model="item.effectiveDateList" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"> </el-date-picker> <el-date-picker value-format="yyyy-MM-dd" v-model="item.effectiveDateList" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"> </el-date-picker>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -107,6 +114,9 @@ export default { ...@@ -107,6 +114,9 @@ export default {
QuotaCreateList: [], QuotaCreateList: [],
InstitutionName: "",//支付名称 20 InstitutionName: "",//支付名称 20
InstitutionDesc: "", //制度描述 200 InstitutionDesc: "", //制度描述 200
EffectiveDateList:[],
EffectiveEndDate:"",
EffectiveStartDate:"",
//StandardName: "", //规则名称 string(20) //StandardName: "", //规则名称 string(20)
// RuleName: "", //费控条件名称 string(32) // RuleName: "", //费控条件名称 string(32)
}, },
...@@ -122,6 +132,12 @@ export default { ...@@ -122,6 +132,12 @@ export default {
trigger: 'change', trigger: 'change',
type: 'array', type: 'array',
}], }],
EffectiveDateList: [{
required: true,
message: "请选择制度有效期",
trigger: 'blur',
type: 'array',
}],
}, },
} }
}, },
...@@ -140,7 +156,10 @@ export default { ...@@ -140,7 +156,10 @@ export default {
this.msg.EmployeeIdList=[]; this.msg.EmployeeIdList=[];
this.msg.QuotaCreateList=[]; this.msg.QuotaCreateList=[];
this.msg.InstitutionName=""; this.msg.InstitutionName="";
this.msg.EffectiveDateList=[];
this.msg.InstitutionDesc=""; this.msg.InstitutionDesc="";
this.msg.EffectiveEndDate="";
this.msg.EffectiveStartDate="";
}, },
AddQuotaCreate() { AddQuotaCreate() {
if(this.msg.EmployeeIdList&&this.msg.EmployeeIdList.length>0){ if(this.msg.EmployeeIdList&&this.msg.EmployeeIdList.length>0){
...@@ -204,6 +223,7 @@ export default { ...@@ -204,6 +223,7 @@ export default {
this.employeeMsg.GroupId = userInfo.RB_Group_id; this.employeeMsg.GroupId = userInfo.RB_Group_id;
this.msg.EmployeeIdList=[]; this.msg.EmployeeIdList=[];
this.EmployeeList=[]; this.EmployeeList=[];
this.msg.EffectiveDateList=this.TeamStartDateList;
this.getEmployee(); this.getEmployee();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment