Commit d5e214bf authored by youjie's avatar youjie

no message

parent b803c2ea
......@@ -1716,7 +1716,7 @@ export default {
id: id,
name: name,
blank: "y",
tab: "所有客户"
tab: 1
}
});
},
......
......@@ -1730,7 +1730,7 @@
id: id,
name: name,
blank: "y",
tab: "所有客户"
tab: 1
}
});
},
......
......@@ -868,6 +868,7 @@ export default {
},
created() {
this.msg.SigningCustomerId = this.$route.query.id?this.$route.query.id:0
this.active = this.$route.query.tab?this.$route.query.tab:3
this.isTerminate = -1;
let userinfo = this.getLocalStorage();
let allH, cH;
......
......@@ -931,7 +931,7 @@ input[type="number"] {
</div>
</div>
<div style="text-align: right;">
<button class="normalBtn" type="primary" @click="showCheck = true">
<button class="normalBtn" type="primary" @click="examine">
审核
</button>
</div>
......@@ -1164,7 +1164,7 @@ input[type="number"] {
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<button class="normalBtn" type="primary" @click="checkSubmit">
<button class="normalBtn" type="primary" @click="checkSubmit" v-loading="LoadingReview">
{{ $t("pub.saveBtn") }}
</button>
<button class="hollowFixedBtn" @click="showCheck = false">
......@@ -1191,6 +1191,7 @@ import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue";
},
data() {
return {
LoadingReview: false,
imageOptions: {
navbar: false,
title: false
......@@ -1259,6 +1260,27 @@ import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue";
}
},
methods: {
// 审核
examine(){
this.saveMsg = []
this.detailInfo.vorcherInos&&this.detailInfo.vorcherInos.forEach(item=>{
let dataObj= {
Type: this.verificationFile(item),
Url: item,
Content: item
}
this.saveMsg.push(dataObj)
})
if(this.detailInfo.vorcherInos.length==0){
let dataObj= {
Type: this.verificationFile(this.detailInfo.Voucher),
Url: this.detailInfo.Voucher,
Content: this.detailInfo.Voucher
}
this.saveMsg.push(dataObj)
}
this.showCheck = true
},
deleteUploadFile(i) { // 删除上传文件
this.saveMsg.splice(i, 1);
},
......@@ -1358,6 +1380,7 @@ import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue";
if (res.data.resultCode == 1) {
this.detailLoading = false
this.detailInfo = res.data.data
this.images = [this.detailInfo.Voucher]
} else {
this.detailLoading = false
......@@ -1378,20 +1401,30 @@ import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue";
})
// this.addMsg.ExamineVoucher = this.BusinessCardPhotos;
this.addMsg.Id = this.frId;
this.LoadingReview = true
this.apipost(
"customer_post_UpdateSigningSettlement",
this.addMsg,
(res) => {
if (res.data.resultCode == 1) {
this.LoadingReview = false
this.saveMsg = []
this.showCheck = false;
this.$message.success(res.data.message || "操作成功");
this.getDetail(this.frId)
// this.getDetail(this.frId)
this.$router.push({
path: 'signedFinanceAll',
query: {
blank: 'y',
tab: 3
}
})
} else {
this.LoadingReview = false
this.$message.error(res.data.message || "发生异常,请重试");
}
},
(err) => {}
(err) => {this.LoadingReview = false}
);
},
uploadImg(file) {
......
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