修改页面样式

ywj_dev
郑明梁 2 years ago
parent c66d8529aa
commit 2ee9518201

@ -221,7 +221,9 @@ export default {
if (formName === "edit") { if (formName === "edit") {
this.subData = JSON.parse(JSON.stringify(data)); this.subData = JSON.parse(JSON.stringify(data));
} else if (formName === "add") { } else if (formName === "add") {
this.subData.parentCode = JSON.parse(JSON.stringify(data)).code; this.subData= {
parentCode:JSON.parse(JSON.stringify(data)).code
};
} }
this.getTreeselect(); this.getTreeselect();
this.subFormVisible = true; this.subFormVisible = true;

@ -610,6 +610,8 @@ export default {
endTime: null, endTime: null,
invCode: this.$store.getters.locInvCode, invCode: this.$store.getters.locInvCode,
}; };
this.actDateRange=[];
this.auditDateRange=[];
this.getList(); this.getList();
}, },
InvoiceRegister(row) { InvoiceRegister(row) {

@ -122,6 +122,7 @@
:closeDialog="closeDialog" :closeDialog="closeDialog"
:inputQuery="inputQuery" :inputQuery="inputQuery"
:editType="editType" :editType="editType"
:auditType="auditType"
></supCompanyEditAdudit> ></supCompanyEditAdudit>
</el-dialog> </el-dialog>
@ -228,6 +229,7 @@
<supManufacturerAuditDialog <supManufacturerAuditDialog
:addCloseDialog="closeManufacturerDialog" :addCloseDialog="closeManufacturerDialog"
:enterpriseId="enterpriseId" :enterpriseId="enterpriseId"
:auditType="auditType"
:inputQuery="inputManufacturerQuery" :inputQuery="inputManufacturerQuery"
:editType="editManufacturerType" :editType="editManufacturerType"
></supManufacturerAuditDialog> ></supManufacturerAuditDialog>
@ -330,6 +332,7 @@
<suppliersRegistrationBasic <suppliersRegistrationBasic
:closeRegistrationDialog="closeProductDialog" :closeRegistrationDialog="closeProductDialog"
:inputQuery="inputProudtQuery" :inputQuery="inputProudtQuery"
:auditType="auditType"
:editType="editProductType" :editType="editProductType"
></suppliersRegistrationBasic> ></suppliersRegistrationBasic>
</el-dialog> </el-dialog>
@ -358,6 +361,7 @@ export default {
page: 1, page: 1,
limit: 20, limit: 20,
}, },
auditType:1,
loading: false, loading: false,
list: [], list: [],
total: 0, total: 0,

@ -11,7 +11,7 @@
<div style="display: flex;"> <div style="display: flex;">
<el-button v-if="editType==2" type="primary" size="mini" icon="search" @click="onPassSubmit"></el-button> <el-button v-if="editType==2" type="primary" size="mini" icon="search" @click="onPassSubmit"></el-button>
<el-button v-if="editType==2" type="primary" size="mini" @click="onRejectSubmit"></el-button> <el-button v-if="editType==2" type="primary" size="mini" @click="onRejectSubmit"></el-button>
<el-button v-if="editType==1" type="primary" size="mini" icon="search" @click="printSupCertAll"></el-button> <el-button v-if="editType==1 && auditType!=1" type="primary" size="mini" icon="search" @click="printSupCertAll"></el-button>
</div> </div>
<el-row :gutter="20" class="el-row" type="flex" style="margin-top: 20px"> <el-row :gutter="20" class="el-row" type="flex" style="margin-top: 20px">
@ -162,7 +162,7 @@
<el-table-column label="确认说明" prop="auditComment" show-overflow-tooltip></el-table-column> <el-table-column label="确认说明" prop="auditComment" show-overflow-tooltip></el-table-column>
<el-table-column label="操作"> <el-table-column label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-if="editType==1" type="text" size="small" @click.native="printSupCert(scope.row)"> <el-button v-if="editType==1 && auditType!=1" type="text" size="small" @click.native="printSupCert(scope.row)">
</el-button> </el-button>
<el-button type="text" size="small" v-if="editType==2" @click.native="auditCert(scope.row)"></el-button> <el-button type="text" size="small" v-if="editType==2" @click.native="auditCert(scope.row)"></el-button>
<el-button type="text" size="small" v-if="scope.row.auditStatus==1" @click.native="revoke(scope.row)"> <el-button type="text" size="small" v-if="scope.row.auditStatus==1" @click.native="revoke(scope.row)">
@ -320,6 +320,10 @@ export default {
editType: {//12: editType: {//12:
type: Object, type: Object,
required: true, required: true,
},
auditType: {
type: Object,
required: true
} }
}, },

@ -13,7 +13,7 @@
<el-button v-if="editType==2" type="primary" size="mini" icon="search" @click="onPassSubmit"></el-button> <el-button v-if="editType==2" type="primary" size="mini" icon="search" @click="onPassSubmit"></el-button>
<el-button v-if="editType==2" type="primary" size="mini" icon="search" @click="onRejectSubmit"> <el-button v-if="editType==2" type="primary" size="mini" icon="search" @click="onRejectSubmit">
</el-button> </el-button>
<el-button v-if="editType==1" type="primary" size="mini" icon="search" @click="printSupCertAll"> <el-button v-if="editType==1 && auditType!=1" type="primary" size="mini" icon="search" @click="printSupCertAll">
</el-button> </el-button>
</div> </div>
<el-row :gutter="20" class="el-row" type="flex" style="margin-top: 20px"> <el-row :gutter="20" class="el-row" type="flex" style="margin-top: 20px">
@ -200,7 +200,7 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" width="250"> <el-table-column label="操作" width="250">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-if="editType==1" type="text" size="small" @click.native="printSupCert(scope.row)"> <el-button v-if="editType==1 && auditType!=1" type="text" size="small" @click.native="printSupCert(scope.row)">
</el-button> </el-button>
<el-button type="text" size="small" v-if="editType==2" @click.native="auditCert(scope.row)"></el-button> <el-button type="text" size="small" v-if="editType==2" @click.native="auditCert(scope.row)"></el-button>
<el-button type="text" size="small" v-if="scope.row.auditStatus==1" @click.native="revoke(scope.row)"> <el-button type="text" size="small" v-if="scope.row.auditStatus==1" @click.native="revoke(scope.row)">
@ -348,6 +348,10 @@ export default {
editType: { editType: {
type: Object, type: Object,
required: true, required: true,
},
auditType: {
type: Object,
required: true
} }
}, },
data() { data() {

@ -158,7 +158,6 @@
size="small" size="small"
placeholder="请输入内容" placeholder="请输入内容"
v-model="inputQuery.placeAddress" v-model="inputQuery.placeAddress"
@input="change()"
></el-input> ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -168,7 +167,6 @@
size="small" size="small"
placeholder="请输入内容" placeholder="请输入内容"
v-model="inputQuery.productionAddress" v-model="inputQuery.productionAddress"
@input="change()"
></el-input> ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -529,8 +527,8 @@ export default {
this.getCompanyCertList() this.getCompanyCertList()
}, },
companyTypeChange(val) { companyTypeChange(val) {
if (this.inputQuery.companyType == 1) { if (this.inputQuery.companyType == 1 && this.inputQuery.agentName!=null) {
this.inputQuery.agentName = '' this.inputQuery.agentName = null
} }
}, },
getCompanyCertList() { getCompanyCertList() {

@ -30,7 +30,7 @@
</el-button </el-button
> >
<el-button <el-button
v-if="editType==1" v-if="editType==1 && auditType!=1"
type="primary" type="primary"
size="mini" size="mini"
icon="search" icon="search"
@ -235,7 +235,7 @@
<el-table-column label="操作" width="250"> <el-table-column label="操作" width="250">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-if="editType==1" type="text" size="small" @click.native="printSupCert(scope.row)"></el-button> <el-button v-if="editType==1 && auditType!=1" type="text" size="small" @click.native="printSupCert(scope.row)"></el-button>
<el-button type="text" size="small" v-if="editType==2" @click.native="auditCert(scope.row)"></el-button> <el-button type="text" size="small" v-if="editType==2" @click.native="auditCert(scope.row)"></el-button>
<el-button type="text" size="small" v-if="scope.row.auditStatus==1" @click.native="revoke(scope.row)"> <el-button type="text" size="small" v-if="scope.row.auditStatus==1" @click.native="revoke(scope.row)">
撤回 撤回
@ -385,6 +385,10 @@ export default {
editType: { editType: {
type: Object, type: Object,
required: true, required: true,
},
auditType: {
type: Object,
required: true
} }
}, },
data() { data() {

Loading…
Cancel
Save