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
......
...@@ -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