Commit d5e214bf authored by youjie's avatar youjie

no message

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