Commit f072a3dc authored by 黄奎's avatar 黄奎
parents 2227e9df 1b258bcc
...@@ -312,11 +312,11 @@ export default { ...@@ -312,11 +312,11 @@ export default {
// this.Error("请选择分助理!") // this.Error("请选择分助理!")
// return; // return;
// } // }
if(this.form.FInternMoney==0){ if(this.form.FManagerMoney==0){
this.Error("请填写分负责人金额!") this.Error("请填写分负责人金额!")
return; return;
} }
if(this.form.FManagerMoney==0){ if(this.form.FInternMoney==0){
this.Error("请填写分助理金额!") this.Error("请填写分助理金额!")
return; return;
} }
...@@ -439,7 +439,6 @@ export default { ...@@ -439,7 +439,6 @@ export default {
this.apipost('admin_get_DepartmentGetList', this.departmentMsg, res => { this.apipost('admin_get_DepartmentGetList', this.departmentMsg, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
this.departmentList = res.data.data; this.departmentList = res.data.data;
console.log("this.departmentList",this.departmentList)
} }
}, err => {}) }, err => {})
}, },
......
...@@ -1485,7 +1485,7 @@ export default { ...@@ -1485,7 +1485,7 @@ export default {
var that=this; var that=this;
this.orderObj = this.$route.query.orderObj?JSON.parse(this.$route.query.orderObj):null; this.orderObj = this.$route.query.orderObj?JSON.parse(this.$route.query.orderObj):null;
this.isFrompassenger = this.orderObj ? this.orderObj.isFromPassenger : undefined; this.isFrompassenger = this.orderObj ? this.orderObj.isFromPassenger : undefined;
let TCID = (this.orderObj && this.orderObj.TCIDList && this.orderObj.TCIDList.length>0) ? this.orderObj.TCIDList[0] : 0
if(this.orderObj!=null&&this.orderObj.OrderSource===10&&this.isFrompassenger==undefined){ if(this.orderObj!=null&&this.orderObj.OrderSource===10&&this.isFrompassenger==undefined){
that.Description="旅客名单:"; that.Description="旅客名单:";
that.describeList=JSON.parse(sessionStorage.getItem("saveGuestInfo")); that.describeList=JSON.parse(sessionStorage.getItem("saveGuestInfo"));
...@@ -1499,7 +1499,12 @@ export default { ...@@ -1499,7 +1499,12 @@ export default {
if (this.orderObj && this.orderObj.OtherType) { if (this.orderObj && this.orderObj.OtherType) {
this.ZhuiJiaTK = true this.ZhuiJiaTK = true
} }
this.apipost('financeinfo_post_GetList',{Name:'', TCID: TCID}, res => {
if(res.data.resultCode == 1) {
this.coinGetList = res.data.data;
console.log("this.coinGetList 522555",this.coinGetList )
}
}, err => {})
}, },
mounted(){ mounted(){
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
...@@ -1520,8 +1525,7 @@ export default { ...@@ -1520,8 +1525,7 @@ export default {
let minute = myDate.getMinutes() < 10 ? "0" + myDate.getMinutes() : myDate.getMinutes(); let minute = myDate.getMinutes() < 10 ? "0" + myDate.getMinutes() : myDate.getMinutes();
let second = myDate.getSeconds() < 10 ? "0" + myDate.getSeconds() : myDate.getSeconds(); let second = myDate.getSeconds() < 10 ? "0" + myDate.getSeconds() : myDate.getSeconds();
this.timer = hour + ':' + minute + ':' + second; this.timer = hour + ':' + minute + ':' + second;
let TCID = (this.orderObj && this.orderObj.TCIDList && this.orderObj.TCIDList.length>0) ? this.orderObj.TCIDList[0] : 0 // this.financeinfo_post_GetList(TCID);
this.financeinfo_post_GetList(TCID);
if(this.$route.query.edit){ if(this.$route.query.edit){
// 编辑 // 编辑
this.msg.FrID = this.$route.query.FrID; this.msg.FrID = this.$route.query.FrID;
......
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
RB_Branch_Id:data.RB_Branch_Id, RB_Branch_Id:data.RB_Branch_Id,
IsPublic:6, IsPublic:6,
BType:4, BType:4,
AccountId:22, AccountId:23,
CostTypeID:189, CostTypeID:189,
WBMoney:data.CommissionMoney, WBMoney:data.CommissionMoney,
Remark:'', Remark:'',
...@@ -162,7 +162,7 @@ export default { ...@@ -162,7 +162,7 @@ export default {
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.apipost( this.apipost(
"OPCommission_UpdatePeriodsFrID", "VisaCommission_UpdatePeriodsFrID",
{ID:this.oPComissionPeriods.ID,FrId:res.data.data}, {ID:this.oPComissionPeriods.ID,FrId:res.data.data},
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
...@@ -293,14 +293,14 @@ export default { ...@@ -293,14 +293,14 @@ export default {
// 单据号:${oPComissionPeriods.FRID}</span>`; // 单据号:${oPComissionPeriods.FRID}</span>`;
// } // }
}; };
// let opera = { let opera = {
// title: "操作", title: "操作",
// titleAlign: "left", titleAlign: "left",
// columnAlign: "left", columnAlign: "left",
// width: 80, width: 80,
// isResize: false, isResize: false,
// componentName: "commission-table-operation" componentName: "commission-table-operation"
// }; };
this.columns = []; this.columns = [];
this.columns.push(company); this.columns.push(company);
this.columns.push(department); this.columns.push(department);
...@@ -313,7 +313,7 @@ export default { ...@@ -313,7 +313,7 @@ export default {
// this.columns.push(visaPeopleCount); // this.columns.push(visaPeopleCount);
this.columns.push(Zhanbi); this.columns.push(Zhanbi);
this.columns.push(remark); this.columns.push(remark);
// this.columns.push(opera); this.columns.push(opera);
this.isReady = true; this.isReady = true;
}, },
sortChange(param) { sortChange(param) {
......
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