Commit c5219f6d authored by youjie's avatar youjie

no message

parent c9740bb2
......@@ -51,9 +51,7 @@
</span>
<el-switch
style="margin-left: 15px;"
v-model="addMsg.Is_Merge"
active-value="1"
inactive-value="0"
v-model="SwitchStatus"
@change="getVisaType">
</el-switch>
......@@ -255,6 +253,7 @@ export default {
return {
newProofList: [],
proofList:[],
SwitchStatus: false,
dataList: [],
showState: true,
loading: false,
......@@ -373,8 +372,10 @@ export default {
OrderIdStr: this.addMsg.OrderIdStr,
AuditId: this.addMsg.AuditId,
detailList: [],
vorcherInos: []
vorcherInos: [],
Is_Merge: 0
}
msg.Is_Merge = this.SwitchStatus==true?1:0
this.addMsg.detailList.forEach(x=>{
let obj = {
TemplateId: x.TemplateId,
......@@ -399,6 +400,8 @@ export default {
msg.vorcherInos.push(obj)
})
})
console.log(msg,'-----')
return
this.submitLoading = true
this.apipost("Financial_post_SetVisaBathCreateFinance",msg, res => {
if (res.data.resultCode === 1) {
......@@ -503,9 +506,9 @@ export default {
Content: null,
Url: null
}
if(this.addMsg.Is_Merge&&(x.SetUpTypeStr=='签证费'||x.SetUpTypeStr=='快递费')){
if(this.SwitchStatus==true&&(x.SetUpTypeStr=='签证费'||x.SetUpTypeStr=='快递费')){
y.vorcherInos.push(obj)
}if(!this.addMsg.Is_Merge){
}if(!this.SwitchStatus){
y.vorcherInos.push(obj)
}
})
......
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