Commit d8e815ab authored by 黄奎's avatar 黄奎

1111

parent d55adca6
...@@ -170,7 +170,6 @@ ...@@ -170,7 +170,6 @@
mounted() { mounted() {
this.getList(); this.getList();
}, },
filters: {},
methods: { methods: {
//获取数据 //获取数据
getList() { getList() {
......
...@@ -144,9 +144,6 @@ export default { ...@@ -144,9 +144,6 @@ export default {
this.getCommodityTypeList(); this.getCommodityTypeList();
this.getGoodsTypeManager(); this.getGoodsTypeManager();
}, },
filters: {
},
methods: { methods: {
setPrice(id){ setPrice(id){
this.$router.push({ name: 'BuyingPrice',query:{blank: 'y', proId: id} }) this.$router.push({ name: 'BuyingPrice',query:{blank: 'y', proId: id} })
......
...@@ -166,9 +166,6 @@ export default { ...@@ -166,9 +166,6 @@ export default {
this.msg.CommodityId = this.addMsg.CommodityId = this.$route.query.proId this.msg.CommodityId = this.addMsg.CommodityId = this.$route.query.proId
this.getList(); this.getList();
}, },
filters: {
},
methods: { methods: {
regDate(t){ regDate(t){
if (t) { if (t) {
......
...@@ -248,8 +248,6 @@ export default { ...@@ -248,8 +248,6 @@ export default {
this.getList(); this.getList();
this.getGoodsTypeManager() this.getGoodsTypeManager()
}, },
filters: {},
methods: { methods: {
changeParentId(){ changeParentId(){
if(this.addMsg.ParentId !== 0) { if(this.addMsg.ParentId !== 0) {
......
...@@ -200,7 +200,6 @@ ...@@ -200,7 +200,6 @@
//this.getCustomerList(); //this.getCustomerList();
this.getList(); this.getList();
}, },
filters: {},
methods: { methods: {
ChangeList(){ ChangeList(){
let list = [] let list = []
......
...@@ -132,7 +132,6 @@ ...@@ -132,7 +132,6 @@
mounted() { mounted() {
this.getList(); this.getList();
}, },
filters: {},
methods: { methods: {
handleCurrentChange(val) { handleCurrentChange(val) {
this.msg.pageIndex = val; this.msg.pageIndex = val;
......
...@@ -49,7 +49,6 @@ ...@@ -49,7 +49,6 @@
this.msg.GuestAccountId=this.$route.query.Id; this.msg.GuestAccountId=this.$route.query.Id;
this.getList(); this.getList();
}, },
filters: {},
methods: { methods: {
//获取数据 //获取数据
getList() { getList() {
......
...@@ -2130,7 +2130,8 @@ ...@@ -2130,7 +2130,8 @@
<p class="RL-redType RL-remarkCon" v-if="item.GuestList.length > 0"> <p class="RL-redType RL-remarkCon" v-if="item.GuestList.length > 0">
<span style="color: blue !important" v-for="(childItem,childIndex) in item.GuestList" :key="childIndex" <span style="color: blue !important" v-for="(childItem,childIndex) in item.GuestList" :key="childIndex"
@click="goToPassenger(childItem, 2)">{{ childItem.userName }} @click="goToPassenger(childItem, 2)">{{ childItem.userName }}
<span :style="childItem.IsBed==1?'color:#d332e5':'color:#67c23a' ">({{childItem.IsBed==1?'占床':'不占床'}}) </span> <span :style="childItem.IsBed==1?'color:#d332e5':'color:#67c23a' ">({{childItem.IsBed==1?'占床':'不占床'}})
</span>
<span style="color:#f56c6c">{{childItem.VisaType==1?'(个签)':''}}</span> <span style="color:#f56c6c">{{childItem.VisaType==1?'(个签)':''}}</span>
<span style="color:#f56c6c">{{childItem.TicketOutTypeStr}} <span style="color:#f56c6c">{{childItem.TicketOutTypeStr}}
</span> </span>
...@@ -2181,8 +2182,10 @@ ...@@ -2181,8 +2182,10 @@
<template v-for="(uItem,uIndex) in item.OrderGuestFlightList"> <template v-for="(uItem,uIndex) in item.OrderGuestFlightList">
<div :key="uIndex+20000"> <div :key="uIndex+20000">
{{uItem.GuestNames}} 航班信息: {{uItem.GuestNames}} 航班信息:
<span v-if="uItem.IsSure==1" style="color:rgb(71, 191, 140)">【OK】</span> <span v-else>{{$t('visa.v_zanding')}}</span> <span v-if="uItem.IsSure==1" style="color:rgb(71, 191, 140)">【OK】</span> <span
<a v-if="(item.outNotice == 1&&childItem.OrderGuestFlightList&&childItem.OrderGuestFlightList.length>1)||(uItem.TicketUnionId&&uItem.TicketUnionId>0)" @click="toTrip(item,uItem.TicketUnionId,uItem.GuestIds)" v-else>{{$t('visa.v_zanding')}}</span>
<a v-if="(item.outNotice == 1&&childItem.OrderGuestFlightList&&childItem.OrderGuestFlightList.length>1)||(uItem.TicketUnionId&&uItem.TicketUnionId>0)"
@click="toTrip(item,uItem.TicketUnionId,uItem.GuestIds)"
style="cursor:pointer;text-decoration:underline;color:green;"> style="cursor:pointer;text-decoration:underline;color:green;">
{{ $t("Operation.Op_teamNotice") }}({{ {{ $t("Operation.Op_teamNotice") }}({{
SetNoticeMsg.OutNotice == 1 ? "OK" : "暂定" SetNoticeMsg.OutNotice == 1 ? "OK" : "暂定"
...@@ -2677,7 +2680,9 @@ ...@@ -2677,7 +2680,9 @@
<template v-for="(fourthItem,fourthIndex) in childItem.GuestList"> <template v-for="(fourthItem,fourthIndex) in childItem.GuestList">
<span style="color: blue !important" :key="fourthIndex" <span style="color: blue !important" :key="fourthIndex"
@click="goToPassenger2(msg.TCID, fourthItem.OrderId, 2)">{{ fourthItem.userName }} @click="goToPassenger2(msg.TCID, fourthItem.OrderId, 2)">{{ fourthItem.userName }}
<span :style="fourthItem.IsBed==1?'color:#d332e5':'color:#67c23a' ">{{fourthItem.IsBed==1?'占床':'不占床'}}</span> <span
:style="fourthItem.IsBed==1?'color:#d332e5':'color:#67c23a' ">{{fourthItem.IsBed==1?'占床':'不占床'}}
</span>
<span style="color:#f56c6c">{{fourthItem.VisaType==1?'(个签)':''}} <span style="color:#f56c6c">{{fourthItem.VisaType==1?'(个签)':''}}
</span> </span>
<span v-if="fourthItem.TicketOutType==1" style="color:#409EFF;">{{fourthItem.TicketOutTypeStr}} <span v-if="fourthItem.TicketOutType==1" style="color:#409EFF;">{{fourthItem.TicketOutTypeStr}}
...@@ -2915,27 +2920,26 @@ ...@@ -2915,27 +2920,26 @@
<div> <div>
{{$t('objFill.tejiasheqinghan')}}: {{$t('objFill.tejiasheqinghan')}}:
<template v-if="childItem.OrderspecialofferId === 0"> <template v-if="childItem.OrderspecialofferId === 0">
<span class="font-color-blur">{{$t('objFill.weishenqing')}</span> <span class="font-color-blur">{{$t('objFill.weishenqing')}}</span>
</template> </template>
<template v-else> <template v-else>
<span class="font-color-red" v-if="childItem.OrderspecialofferState === -1">{{$t('visa.v_jujue')}}</span> <span class="font-color-red"
<span class="font-color-org" v-if="childItem.OrderspecialofferState === 0">{{$t('objFill.shengpizhong')}</span> v-if="childItem.OrderspecialofferState === -1">{{$t('visa.v_jujue')}}</span>
<span class="font-color-green" v-if="childItem.OrderspecialofferState === 1">{{$t('visa.v_tongguo')}}</span> <span class="font-color-org"
v-if="childItem.OrderspecialofferState === 0">{{$t('objFill.shengpizhong')}}</span>
<span class="font-color-green"
v-if="childItem.OrderspecialofferState === 1">{{$t('visa.v_tongguo')}}</span>
</template> </template>
</div> </div>
<div class="font-color-red" v-if="childItem.OrderspecialofferId !== 0"> <div class="font-color-red" v-if="childItem.OrderspecialofferId !== 0">
{{$t('objFill.shengqingsm')}:<span>{{ {{$t('objFill.shengqingsm')}}:<span>{{ childItem.OrderspecialofferApplyReason }}</span>
childItem.OrderspecialofferApplyReason
}}</span>
</div> </div>
<div class="font-color-red" v-if="childItem.OrderspecialofferId !== 0"> <div class="font-color-red" v-if="childItem.OrderspecialofferId !== 0">
{{$t('objFill.shengpism')}:<span>{{ childItem.OrderspecialofferReason }}</span> {{$t('objFill.shengpism')}}<span>{{ childItem.OrderspecialofferReason }}</span>
</div> </div>
</td> </td>
<td colspan="3" style="height: 40px; cursor: pointer"> <td colspan="3" style="height: 40px; cursor: pointer">
<div @click=" <div @click="goUrlSFD('SalesFinancialDetail', '销售财务单据', childItem) ">
goUrlSFD('SalesFinancialDetail', '销售财务单据', childItem)
">
<span>{{$t('fnc.skdanju')}}:</span> <span>{{$t('fnc.skdanju')}}:</span>
<span v-for="(item2, index2) in childItem.FinanceList" :key="index2"> <span v-for="(item2, index2) in childItem.FinanceList" :key="index2">
<span v-if="item2.ColorState === 1" <span v-if="item2.ColorState === 1"
...@@ -3378,19 +3382,20 @@ ...@@ -3378,19 +3382,20 @@
<div> <div>
{{$t('objFill.tejiasheqinghan')}}: {{$t('objFill.tejiasheqinghan')}}:
<template v-if="item.OrderspecialofferId === 0"> <template v-if="item.OrderspecialofferId === 0">
<span class="font-color-blur">{{$t('objFill.weishenqing')}</span> <span class="font-color-blur">{{$t('objFill.weishenqing')}}</span>
</template> </template>
<template v-else> <template v-else>
<span class="font-color-red" v-if="item.OrderspecialofferState === -1">{{$t('visa.v_jujue')}}</span> <span class="font-color-red" v-if="item.OrderspecialofferState === -1">{{$t('visa.v_jujue')}}</span>
<span class="font-color-org" v-if="item.OrderspecialofferState === 0">{{$t('objFill.shengpizhong')}</span> <span class="font-color-org"
v-if="item.OrderspecialofferState === 0">{{$t('objFill.shengpizhong')}}</span>
<span class="font-color-green" v-if="item.OrderspecialofferState === 1">{{$t('visa.v_tongguo')}}</span> <span class="font-color-green" v-if="item.OrderspecialofferState === 1">{{$t('visa.v_tongguo')}}</span>
</template> </template>
</div> </div>
<div class="font-color-red" v-if="item.OrderspecialofferId !== 0"> <div class="font-color-red" v-if="item.OrderspecialofferId !== 0">
{{$t('objFill.shengqingsm')}:<span>{{ item.OrderspecialofferApplyReason }}</span> {{$t('objFill.shengqingsm')}}<span>{{ item.OrderspecialofferApplyReason }}</span>
</div> </div>
<div class="font-color-red" v-if="item.OrderspecialofferId !== 0"> <div class="font-color-red" v-if="item.OrderspecialofferId !== 0">
{{$t('objFill.shengpism')}:<span>{{ item.OrderspecialofferReason }}</span> {{$t('objFill.shengpism')}}<span>{{ item.OrderspecialofferReason }}</span>
</div> </div>
</td> </td>
<td colspan="2"> <td colspan="2">
...@@ -4102,7 +4107,7 @@ ...@@ -4102,7 +4107,7 @@
orderId: 0, orderId: 0,
unionfid: 0, //订单旅客联运编号(rb_airticket_union表Id) unionfid: 0, //订单旅客联运编号(rb_airticket_union表Id)
isopOperation: true, isopOperation: true,
GuestIds:'', GuestIds: '',
}, },
employeeMsg: { employeeMsg: {
BranchId: "-1", BranchId: "-1",
...@@ -4404,26 +4409,6 @@ ...@@ -4404,26 +4409,6 @@
} }
return x1 + x2; return x1 + x2;
}, },
priceFormat2(value) {
if (value == null) {
return this.$t('objFill.yibaohan');
}
let nStr = value.toFixed(2);
nStr += "";
let x = nStr.split(".");
let x1 = x[0];
let x2 = x.length > 1 ? "." + x[1] : "";
var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) {
x1 = x1.replace(rgx, "$1" + "," + "$2");
}
let result = x1 + x2;
if (result === "0.00") {
result = this.$t('objFill.yibaohan');
}
return result;
},
}, },
methods: { methods: {
//显示订单联运信息 //显示订单联运信息
...@@ -4471,7 +4456,7 @@ ...@@ -4471,7 +4456,7 @@
); );
}) })
.catch(() => { .catch(() => {
this.$message.info(this.$t('pub.cancelBtn')+'!'); this.$message.info(this.$t('pub.cancelBtn') + '!');
}); });
}, },
//上传 //上传
...@@ -4910,7 +4895,6 @@ ...@@ -4910,7 +4895,6 @@
(err) => {} (err) => {}
); );
}, },
// 获取订单收损详情 // 获取订单收损详情
OrderLossInfo(childItem) { OrderLossInfo(childItem) {
this.OrderLossMsg.OrderId = childItem.OrderId; this.OrderLossMsg.OrderId = childItem.OrderId;
...@@ -5204,13 +5188,13 @@ ...@@ -5204,13 +5188,13 @@
}, },
}); });
}, },
toTrip: function (obj, TicketUnionId,GuestIds) { toTrip: function (obj, TicketUnionId, GuestIds) {
this.tripObj.tcid = obj.TCID; this.tripObj.tcid = obj.TCID;
this.tripObj.configId = obj.ConfigId; this.tripObj.configId = obj.ConfigId;
this.tripObj.orderId = obj.OrderId; this.tripObj.orderId = obj.OrderId;
this.tripObj.cityId = obj.DepartureCityId; this.tripObj.cityId = obj.DepartureCityId;
this.tripObj.unionfid =0; this.tripObj.unionfid = 0;
this.tripObj.GuestIds =GuestIds; this.tripObj.GuestIds = GuestIds;
if (TicketUnionId) { if (TicketUnionId) {
this.tripObj.unionfid = TicketUnionId; this.tripObj.unionfid = TicketUnionId;
} }
......
...@@ -854,7 +854,7 @@ ...@@ -854,7 +854,7 @@
}} }}
</td> </td>
<td> <td>
{{ item.VisaPrice | priceFormat2(item.VisaPrice) }}(-{{ {{ item.VisaPrice | priceFormat(item.VisaPrice) }}(-{{
item.BackVisaPrice | priceFormat(item.BackVisaPrice) item.BackVisaPrice | priceFormat(item.BackVisaPrice)
}}) }})
</td> </td>
...@@ -1014,25 +1014,6 @@ ...@@ -1014,25 +1014,6 @@
} }
return x1 + x2; return x1 + x2;
}, },
priceFormat2(value) {
if (value == null) {
return this.$t('objFill.yibaohan');
}
let nStr = value.toFixed(2);
nStr += "";
let x = nStr.split(".");
let x1 = x[0];
let x2 = x.length > 1 ? "." + x[1] : "";
var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) {
x1 = x1.replace(rgx, "$1" + "," + "$2");
}
let result = x1 + x2;
if (result === "0.00") {
result = this.$t('objFill.yibaohan');
}
return result;
},
}, },
methods: { methods: {
//刷新页面 //刷新页面
......
...@@ -6,14 +6,16 @@ ...@@ -6,14 +6,16 @@
@click='dowloadSingle()'>{{$t('objFill.xz')}}</el-button> @click='dowloadSingle()'>{{$t('objFill.xz')}}</el-button>
<el-button v-if='fileList.length>0||notFileList.length>0' type="danger" icon="el-icon-download" <el-button v-if='fileList.length>0||notFileList.length>0' type="danger" icon="el-icon-download"
@click='yzmVisible=true,createCode()'>{{$t('objFill.v101.administrative.yasuoxz')}}</el-button> @click='yzmVisible=true,createCode()'>{{$t('objFill.v101.administrative.yasuoxz')}}</el-button>
<el-button v-if='fileList.length>0||notFileList.length>0' type="danger" @click='moveFiles'>{{$t('objFill.v101.administrative.yidongdao')}}</el-button> <el-button v-if='fileList.length>0||notFileList.length>0' type="danger" @click='moveFiles'>
{{$t('objFill.v101.administrative.yidongdao')}}</el-button>
</el-button-group> </el-button-group>
<el-button-group v-if='isChildFiles'> <el-button-group v-if='isChildFiles'>
<el-button v-if='notFileListInside.length==1&&fileListInside.length<1' type="danger" icon="el-icon-download" <el-button v-if='notFileListInside.length==1&&fileListInside.length<1' type="danger" icon="el-icon-download"
@click='dowloadSingleInside()'>{{$t('objFill.v101.administrative.xiazali')}}</el-button> @click='dowloadSingleInside()'>{{$t('objFill.v101.administrative.xiazali')}}</el-button>
<el-button v-if='fileListInside.length>0||notFileListInside.length>0' type="danger" icon="el-icon-download" <el-button v-if='fileListInside.length>0||notFileListInside.length>0' type="danger" icon="el-icon-download"
@click='yzmVisible=true,createCode()'>{{$t('objFill.v101.administrative.yasuoxz')}}</el-button> @click='yzmVisible=true,createCode()'>{{$t('objFill.v101.administrative.yasuoxz')}}</el-button>
<el-button v-if='fileListInside.length>0||notFileListInside.length>0' type="danger" @click='moveFiles'>{{$t('objFill.v101.administrative.yidongdl')}} <el-button v-if='fileListInside.length>0||notFileListInside.length>0' type="danger" @click='moveFiles'>
{{$t('objFill.v101.administrative.yidongdl')}}
</el-button> </el-button>
</el-button-group> </el-button-group>
<div class="fr" v-if='!isChildFiles'> <div class="fr" v-if='!isChildFiles'>
...@@ -31,7 +33,8 @@ ...@@ -31,7 +33,8 @@
<table class="singeRowTable myDocumentsTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable myDocumentsTable" border="0" cellspacing="0" cellpadding="0">
<tbody v-if='!isChildFiles'> <tbody v-if='!isChildFiles'>
<tr> <tr>
<th width="400"><input v-model="isCkedAll" type="checkbox" @click='checkedAll()' />{{$t('objFill.v101.chat.wenjianming')}}</th> <th width="400"><input v-model="isCkedAll" type="checkbox"
@click='checkedAll()' />{{$t('objFill.v101.chat.wenjianming')}}</th>
<th width="200">&nbsp;</th> <th width="200">&nbsp;</th>
<th>{{$t('objFill.v101.chat.daxiao')}}</th> <th>{{$t('objFill.v101.chat.daxiao')}}</th>
<th width="200">{{$t('objFill.v101.administrative.fenxiangren')}}</th> <th width="200">{{$t('objFill.v101.administrative.fenxiangren')}}</th>
...@@ -73,7 +76,8 @@ ...@@ -73,7 +76,8 @@
<tbody v-if='isChildFiles'> <tbody v-if='isChildFiles'>
<tr> <tr>
<th width="400"><input v-model="isCkedAllInside" type="checkbox" @click='checkedAllInside()' />{{$t('objFill.v101.chat.wenjianming')}}</th> <th width="400"><input v-model="isCkedAllInside" type="checkbox"
@click='checkedAllInside()' />{{$t('objFill.v101.chat.wenjianming')}}</th>
<th width="400">&nbsp;</th> <th width="400">&nbsp;</th>
<th width="400">{{$t('objFill.v101.chat.daxiao')}}</th> <th width="400">{{$t('objFill.v101.chat.daxiao')}}</th>
</tr> </tr>
...@@ -143,10 +147,12 @@ ...@@ -143,10 +147,12 @@
</el-carousel> </el-carousel>
</div> </div>
<el-dialog custom-class='w400' :title="$t('objFill.v101.administrative.yasuoxz')" :visible.sync="yzmVisible" center> <el-dialog custom-class='w400' :title="$t('objFill.v101.administrative.yasuoxz')" :visible.sync="yzmVisible"
center>
<p> <p>
<span>{{$t('objFill.yanzhengma')}} : </span> <span>{{$t('objFill.yanzhengma')}} : </span>
<el-input class='w150' type="text" :placeholder="$t('objFill.qingshuruyzm')" v-model="picLyanzhengma"></el-input> <el-input class='w150' type="text" :placeholder="$t('objFill.qingshuruyzm')" v-model="picLyanzhengma">
</el-input>
<input type="button" @click="createCode" class="DocumentLoadVerification" v-model="checkCode" /> <input type="button" @click="createCode" class="DocumentLoadVerification" v-model="checkCode" />
</p> </p>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
...@@ -157,12 +163,11 @@ ...@@ -157,12 +163,11 @@
@click="downloadTotalInside()" /> @click="downloadTotalInside()" />
</div> </div>
</el-dialog> </el-dialog>
<a target="_blank" style="display:none" id="blankLink"></a> <a target="_blank" style="display:none" id="blankLink"></a>
</div> </div>
</template> </template>
<script> <script>
// let browserMD5File = require('browser-md5-file');
export default { export default {
data() { data() {
return { return {
...@@ -170,7 +175,6 @@ ...@@ -170,7 +175,6 @@
picLyanzhengma: '', picLyanzhengma: '',
checkCode: '', checkCode: '',
yzmVisible: false, yzmVisible: false,
initialIndex: 0, initialIndex: 0,
picObj: [], picObj: [],
picIsShow: false, picIsShow: false,
...@@ -286,14 +290,14 @@ ...@@ -286,14 +290,14 @@
rules: { //表单验证 rules: { //表单验证
FolderName: [{ FolderName: [{
required: true, required: true,
message: this.$t('objFill.v101.administrative.qingshurwjjmc') , message: this.$t('objFill.v101.administrative.qingshurwjjmc'),
trigger: 'blur' trigger: 'blur'
}] }]
}, },
rules1: { //表单验证 rules1: { //表单验证
FileName: [{ FileName: [{
required: true, required: true,
message: this.$t('objFill.v101.administrative.qingsrwjmc') , message: this.$t('objFill.v101.administrative.qingsrwjmc'),
trigger: 'blur' trigger: 'blur'
}] }]
}, },
...@@ -388,7 +392,6 @@ ...@@ -388,7 +392,6 @@
this.initialIndex = i this.initialIndex = i
return false return false
} }
}) })
this.picIsShow = true this.picIsShow = true
//this.picPath=obj.FilePath //this.picPath=obj.FilePath
...@@ -563,11 +566,11 @@ ...@@ -563,11 +566,11 @@
} }
if (obj.shareFileType == 2) { if (obj.shareFileType == 2) {
let reg = /^http(s)?:\/\/(.*?)\// let reg = /^http(s)?:\/\/(.*?)\//
let dom = document.querySelector("#blankLink") let dom = document.querySelector("#blankLink")
dom.href = obj.fileUrl dom.href = obj.fileUrl
dom.click() dom.click()
return return
this.downloadFileRename(obj.fileUrl.replace(reg, ''), obj.FolderName); this.downloadFileRename(obj.fileUrl.replace(reg, ''), obj.FolderName);
} }
}, },
downloadTotal() { downloadTotal() {
...@@ -624,11 +627,11 @@ ...@@ -624,11 +627,11 @@
} }
if (obj.DataType == 2) { if (obj.DataType == 2) {
let reg = /^http(s)?:\/\/(.*?)\// let reg = /^http(s)?:\/\/(.*?)\//
let dom = document.querySelector("#blankLink") let dom = document.querySelector("#blankLink")
dom.href = obj.fileUrl dom.href = obj.fileUrl
dom.click() dom.click()
return return
this.downloadFileRename(obj.fileUrl.replace(reg, ''), obj.FolderName); this.downloadFileRename(obj.fileUrl.replace(reg, ''), obj.FolderName);
} }
}, },
downloadTotalInside() { downloadTotalInside() {
...@@ -727,7 +730,7 @@ ...@@ -727,7 +730,7 @@
}, err => {}) }, err => {})
}, },
deleteFiles() { deleteFiles() {
this.$confirm(this.$t('objFill.v101.administrative.shancwjfxzwjjbs')+'?', this.$t('tips.tips'), { this.$confirm(this.$t('objFill.v101.administrative.shancwjfxzwjjbs') + '?', this.$t('tips.tips'), {
confirmButtonText: this.$t('pub.sureBtn'), confirmButtonText: this.$t('pub.sureBtn'),
cancelButtonText: this.$t('pub.cancelBtn'), cancelButtonText: this.$t('pub.cancelBtn'),
type: 'warning' type: 'warning'
...@@ -1170,7 +1173,6 @@ ...@@ -1170,7 +1173,6 @@
created() { created() {
this.createCode() this.createCode()
} }
} }
</script> </script>
......
...@@ -481,15 +481,6 @@ ...@@ -481,15 +481,6 @@
this.getPost(); this.getPost();
this.getTotalNum() this.getTotalNum()
}, },
filters: {
// leaveTimeFormat(value) {
// if (value == '') {
// return this.leaves.t1
// } else {
// return value
// }
// }
},
methods: { methods: {
leaveTimeFormat(value) { leaveTimeFormat(value) {
if (value == '') { if (value == '') {
......
...@@ -259,8 +259,6 @@ export default { ...@@ -259,8 +259,6 @@ export default {
that.VotingShow = false that.VotingShow = false
}); });
}, },
filters: {},
methods: { methods: {
getDetails (ID) { getDetails (ID) {
this.apipost( this.apipost(
......
...@@ -254,7 +254,6 @@ ...@@ -254,7 +254,6 @@
this.getList(); this.getList();
this.getTypeList(); this.getTypeList();
}, },
filters: {},
methods: { methods: {
// 获取类型名称 // 获取类型名称
getTypeName: function (type) { getTypeName: function (type) {
......
...@@ -646,18 +646,7 @@ ...@@ -646,18 +646,7 @@
this.getDerpartMent(); this.getDerpartMent();
this.getPost(); this.getPost();
this.getTotalNum(); this.getTotalNum();
},
filters: {
// leaveTimeFormat(value) {
// if (value == "") {
// return this.getLeaves();
// } else {
// return value;
// }
// }
}, },
methods: { methods: {
leaveTimeFormat(value) { leaveTimeFormat(value) {
if (value == "") { if (value == "") {
......
...@@ -577,10 +577,6 @@ export default { ...@@ -577,10 +577,6 @@ export default {
titleAlign: "left", titleAlign: "left",
columnAlign: "left", columnAlign: "left",
isResize: true, isResize: true,
// result: "",
// filterMultiple: false,
// filters: [{}],
// type: "text"
}; };
let ShareTeam = { let ShareTeam = {
field: "TCIDList", field: "TCIDList",
...@@ -590,10 +586,6 @@ export default { ...@@ -590,10 +586,6 @@ export default {
isResize: true, isResize: true,
width: 80, width: 80,
componentName:'table-teamList' componentName:'table-teamList'
// orderBy: "desc",
// filterMultiple: false,
// filters: [{}],
// type: "text"
}; };
let ProductDoc = { let ProductDoc = {
field: "FinanceIdList", field: "FinanceIdList",
...@@ -603,10 +595,6 @@ export default { ...@@ -603,10 +595,6 @@ export default {
isResize: true, isResize: true,
width: 80, width: 80,
componentName:'table-docment', componentName:'table-docment',
// filterMultiple: true,
// result: [],
// filters: [{}],
// type: "text"
}; };
let operaler = { let operaler = {
title: this.$t('visa.v_czuser'), title: this.$t('visa.v_czuser'),
......
...@@ -225,7 +225,6 @@ export default { ...@@ -225,7 +225,6 @@ export default {
}else{ }else{
return date; return date;
} }
} }
}, },
......
...@@ -144,7 +144,6 @@ ...@@ -144,7 +144,6 @@
this.getConfigTypeList(); this.getConfigTypeList();
this.getList(); this.getList();
}, },
filters: {},
methods: { methods: {
//新增地区 //新增地区
addBaoJiaData() { addBaoJiaData() {
......
...@@ -1068,25 +1068,6 @@ ...@@ -1068,25 +1068,6 @@
} }
return x1 + x2; return x1 + x2;
}, },
priceFormat2(value) {
if (value == null) {
return this.$t('objFill.yibaohan');
}
let nStr = value.toFixed(2);
nStr += "";
let x = nStr.split(".");
let x1 = x[0];
let x2 = x.length > 1 ? "." + x[1] : "";
var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) {
x1 = x1.replace(rgx, "$1" + "," + "$2");
}
let result = x1 + x2;
if (result === "0.00") {
result = this.$t('objFill.yibaohan');
}
return result;
},
}, },
methods: { methods: {
//刷新页面 //刷新页面
......
...@@ -696,25 +696,6 @@ ...@@ -696,25 +696,6 @@
} }
return x1 + x2; return x1 + x2;
}, },
priceFormat2(value) {
if (value == null) {
return this.$t('objFill.yibaohan');
}
let nStr = value.toFixed(2);
nStr += "";
let x = nStr.split(".");
let x1 = x[0];
let x2 = x.length > 1 ? "." + x[1] : "";
var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) {
x1 = x1.replace(rgx, "$1" + "," + "$2");
}
let result = x1 + x2;
if (result === "0.00") {
result = this.$t('objFill.yibaohan');
}
return result;
},
}, },
methods: { methods: {
setDanren(e) { setDanren(e) {
......
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