Merge remote-tracking branch 'origin/master'

ywj_dev
anthonywj 2 years ago
commit e3b110dcd7

@ -98,7 +98,7 @@ service.interceptors.response.use(res => {
isRelogin.show = false; isRelogin.show = false;
store.dispatch('LogOut').then(() => { store.dispatch('LogOut').then(() => {
Cookies.remove() Cookies.remove()
location.href = process.env.VUE_APP_CONTEXT_PATH + "index"; location.href = process.env.VUE_APP_CONTEXT_PATH;
}) })
}).catch(() => { }).catch(() => {
isRelogin.show = false; isRelogin.show = false;

@ -349,7 +349,7 @@ export default {
{ required: true, message: "请输入发票编码", trigger: "blur" }, { required: true, message: "请输入发票编码", trigger: "blur" },
], ],
price: [{ required: true, message: "请输入发票价格", trigger: "blur" }], price: [{ required: true, message: "请输入发票价格", trigger: "blur" }],
remark: [{ required: true, message: "请输入备注", trigger: "blur" }], invoiceDate: [{ required: true, message: "请输入备注", trigger: "blur" }],
}, },
certFileUrl: "", certFileUrl: "",
Upinvoice: false, Upinvoice: false,
@ -473,7 +473,7 @@ export default {
components: { AcceptOrder, DialogInvoice, InvoiceRegister, ElImageViewer }, components: { AcceptOrder, DialogInvoice, InvoiceRegister, ElImageViewer },
methods: { methods: {
onSubmit() { onSubmit() {
if (this.invoiceRow.length == 0) { if (this.invoiceRow == null) {
this.$message.error("请选择要登记的物资! "); this.$message.error("请选择要登记的物资! ");
return false; return false;
} }
@ -493,8 +493,8 @@ export default {
this.$message.error("发票价格不能为空!"); this.$message.error("发票价格不能为空!");
return; return;
} }
if (this.$isBlank(this.inputQuery.remark)) { if (this.$isBlank(this.inputQuery.invoiceDate)) {
this.$message.error("备注不能为空!"); this.$message.error("日期不能为空!");
return; return;
} }
this.inputQuery.list = this.invoiceRow; this.inputQuery.list = this.invoiceRow;

@ -196,7 +196,7 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" width="160" fixed="right"> <el-table-column label="操作" width="160" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" :disabled="scope.row.checkStatus==1" size="small" @click.native.stop="determine(scope.row)">确认</el-button> <el-button type="text" :disabled="scope.row.checkStatus==1 " v-if="showSup" size="small" @click.native.stop="determine(scope.row)"></el-button>
<el-button <el-button
type="text" type="text"
size="small" size="small"
@ -547,6 +547,7 @@ export default {
name: "IoCheckSuccessOrder", name: "IoCheckSuccessOrder",
data() { data() {
return { return {
savebillno:null,
invoiceRow:[], invoiceRow:[],
inputInv:[], inputInv:[],
checkInvoice:false, checkInvoice:false,
@ -726,11 +727,16 @@ export default {
this.getList(); this.getList();
}, },
InvoiceRegister1(row){ InvoiceRegister1(row){
this.savebillno=row.billNo
this.inputInv=row; this.inputInv=row;
this.checkInvoice=true; this.checkInvoice=true;
}, },
closecheckInvoice(){ closecheckInvoice(){
this.checkInvoice=false; this.checkInvoice=false;
this.getList();
this.currentRow.billNo=this.savebillno;
this.bizQuery.orderIdFk=this.savebillno;
this.codeQuery.orderIdFk=this.savebillno;
this.getCodeDetailList(); this.getCodeDetailList();
this.getBizDetailListInv(); this.getBizDetailListInv();

Loading…
Cancel
Save