'123'
This commit is contained in:
parent
47c7500dc0
commit
17caa7bdd4
|
@ -1,5 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
|
<el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="150px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="150px">
|
||||||
<el-row :gutter="8">
|
<el-row :gutter="8">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
|
@ -67,6 +68,7 @@
|
||||||
<el-row :gutter="8">
|
<el-row :gutter="8">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="核价附件">
|
<el-form-item label="核价附件">
|
||||||
|
<div v-hasPermi="['priceVerification:priceVerification:uploadFile']">
|
||||||
<el-upload class="upload-demo"
|
<el-upload class="upload-demo"
|
||||||
ref="upload"
|
ref="upload"
|
||||||
name="quotFile"
|
name="quotFile"
|
||||||
|
@ -79,6 +81,7 @@
|
||||||
v-if="this.form.quotHjApprovalStatus == '1'">
|
v-if="this.form.quotHjApprovalStatus == '1'">
|
||||||
<el-button size="small" type="primary">上传文件</el-button>
|
<el-button size="small" type="primary">上传文件</el-button>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
@ -98,21 +101,24 @@
|
||||||
<el-button :key="Math.random()" size="small" type="text">
|
<el-button :key="Math.random()" size="small" type="text">
|
||||||
<a @click="downloadFile(scope.row.fileUrl)">下载</a>
|
<a @click="downloadFile(scope.row.fileUrl)">下载</a>
|
||||||
</el-button>
|
</el-button>
|
||||||
|
<div v-if="this.isSelfProp">
|
||||||
<el-button :key="Math.random()" size="small" type="text" v-if="form.quotHjApprovalStatus == '1'">
|
<el-button :key="Math.random()" size="small" type="text" v-if="form.quotHjApprovalStatus == '1'">
|
||||||
<a @click="deleteFile(scope.row.fileId)">删除</a>
|
<a @click="deleteFile(scope.row.fileId)">删除</a>
|
||||||
</el-button>
|
</el-button>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div v-if="this._props.isSelfProp">
|
|
||||||
<div slot="footer" class="dialog-footer" v-if="this.form.quotHjApprovalStatus==1">
|
<div slot="footer" class="dialog-footer" v-if="this.form.quotHjApprovalStatus==1">
|
||||||
|
<div v-if="this.isSelfProp">
|
||||||
<span v-hasPermi="['priceVerification:priceVerification:commit']"><el-button type="primary" @click="commitHj">提交报价</el-button></span>
|
<span v-hasPermi="['priceVerification:priceVerification:commit']"><el-button type="primary" @click="commitHj">提交报价</el-button></span>
|
||||||
<span v-hasPermi="['priceVerification:priceVerification:reject']" style="margin-left: 10px"><el-button type="danger" plain @click="rejectHj">驳回</el-button></span>
|
<span v-hasPermi="['priceVerification:priceVerification:reject']" style="margin-left: 10px"><el-button type="danger" plain @click="rejectHj">驳回</el-button></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<style>
|
<style>
|
||||||
|
@ -136,12 +142,13 @@ import { quotFileList, quotFileDelete} from "@/api/quot/quot";
|
||||||
export default {
|
export default {
|
||||||
name: "hjInfo",
|
name: "hjInfo",
|
||||||
dicts: ['quot_pricing_type','quot_hj_approval_status'],
|
dicts: ['quot_pricing_type','quot_hj_approval_status'],
|
||||||
props: {
|
|
||||||
quotHjIdProp: String,
|
|
||||||
isSelfProp: Boolean
|
|
||||||
},
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
// 弹窗标题 关闭/打开
|
||||||
|
title: "",
|
||||||
|
open: false,
|
||||||
|
// 是否是自身页面调用
|
||||||
|
isSelfProp: true,
|
||||||
// 报价单-核价单附件数据
|
// 报价单-核价单附件数据
|
||||||
quotHjFileList: [],
|
quotHjFileList: [],
|
||||||
//报价单-核价单附件上传地址
|
//报价单-核价单附件上传地址
|
||||||
|
@ -154,14 +161,6 @@ export default {
|
||||||
rules: {}
|
rules: {}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
|
||||||
quotHjIdProp(value,oldvalue){
|
|
||||||
this.getInfo();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
created() {
|
|
||||||
this.getInfo();
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
/** 清空表单 */
|
/** 清空表单 */
|
||||||
reset(){
|
reset(){
|
||||||
|
@ -179,11 +178,17 @@ export default {
|
||||||
|
|
||||||
this.resetForm("form");
|
this.resetForm("form");
|
||||||
},
|
},
|
||||||
|
// 关闭弹窗按钮
|
||||||
|
cancel() {
|
||||||
|
this.open = false;
|
||||||
|
this.$emit('refreshList');
|
||||||
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
getInfo() {
|
getInfo(title,open,isSelfProp,quotHjId) {
|
||||||
|
this.open = true;
|
||||||
|
this.title = "报价单-技术确认单";
|
||||||
|
this.isSelfProp = isSelfProp;
|
||||||
this.reset();
|
this.reset();
|
||||||
const quotHjId = this._props.quotHjIdProp;
|
|
||||||
getPriceVerification(quotHjId).then(response => {
|
getPriceVerification(quotHjId).then(response => {
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
this.open = true;
|
this.open = true;
|
||||||
|
|
|
@ -70,9 +70,7 @@
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- 添加或修改报价单-核价单对话框 -->
|
<!-- 添加或修改报价单-核价单对话框 -->
|
||||||
<el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body>
|
<hjDialog ref="hjDialog" @refreshList="getList"></hjDialog>
|
||||||
<hjDialog :quotHjIdProp="quotHjIdProp" :isSelfProp="true"></hjDialog>
|
|
||||||
</el-dialog>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<style>
|
<style>
|
||||||
|
@ -127,9 +125,7 @@ export default {
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
quotHjCode: null,
|
quotHjCode: null,
|
||||||
quotHjPricingDate: null,
|
quotHjPricingDate: null,
|
||||||
},
|
}
|
||||||
//调用公共核价单页面参数
|
|
||||||
quotHjIdProp: ""
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
@ -171,9 +167,7 @@ export default {
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
const quotHjId = row.quotHjId || this.ids
|
const quotHjId = row.quotHjId || this.ids
|
||||||
this.open = true;
|
this.$refs.hjDialog.getInfo("报价单-核价单",true,true,quotHjId);
|
||||||
this.title = "报价单-核价单";
|
|
||||||
this.quotHjIdProp = quotHjId;//传参设置
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -625,7 +625,7 @@
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
<!-- 特缆、中压、低压、其他协助反馈附件对话框 -->
|
<!-- 特缆、中压、低压、其他协助反馈附件对话框 -->
|
||||||
<el-dialog class="fkfjDialog" :title="addFileTitle" :visible.sync="addFileOpen" width="800px" append-to-body>
|
<el-dialog class="fkfjDialog" :title="addFileTitle" :visible.sync="addFileOpen" width="800px" append-to-body>
|
||||||
<el-upload class="upload-demo"
|
<!--<el-upload class="upload-demo"
|
||||||
ref="upload"
|
ref="upload"
|
||||||
name="quotFile"
|
name="quotFile"
|
||||||
:action="uploadUrl"
|
:action="uploadUrl"
|
||||||
|
@ -636,7 +636,7 @@
|
||||||
:limit="1"
|
:limit="1"
|
||||||
v-if="uploadDis">
|
v-if="uploadDis">
|
||||||
<el-button size="small" type="primary">上传文件</el-button>
|
<el-button size="small" type="primary">上传文件</el-button>
|
||||||
</el-upload>
|
</el-upload>-->
|
||||||
<el-table class="down" :data="quotJsqrFileList" border stripe style="width: 100%;margin-top: 20px;" height="200px">
|
<el-table class="down" :data="quotJsqrFileList" border stripe style="width: 100%;margin-top: 20px;" height="200px">
|
||||||
<el-table-column prop="fileName" label="文件名称" ></el-table-column>
|
<el-table-column prop="fileName" label="文件名称" ></el-table-column>
|
||||||
<el-table-column prop="fileSize" label="文件大小" width="150px">
|
<el-table-column prop="fileSize" label="文件大小" width="150px">
|
||||||
|
@ -651,9 +651,9 @@
|
||||||
<el-button :key="Math.random()" size="small" type="text">
|
<el-button :key="Math.random()" size="small" type="text">
|
||||||
<a @click="downloadFile(scope.row.fileUrl)">下载</a>
|
<a @click="downloadFile(scope.row.fileUrl)">下载</a>
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button :key="Math.random()" size="small" type="text" v-if="uploadDis">
|
<!--<el-button :key="Math.random()" size="small" type="text" v-if="uploadDis">
|
||||||
<a @click="deleteFile(scope.row.fileId)">删除</a>
|
<a @click="deleteFile(scope.row.fileId)">删除</a>
|
||||||
</el-button>
|
</el-button>-->
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -672,14 +672,10 @@
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<!-- 技术确认单详情对话框 -->
|
<!-- 技术确认单详情对话框 -->
|
||||||
<el-dialog :title="jsqrTitle" :visible.sync="jsqrDialogOpen" width="1000px" append-to-body>
|
<jsqrDialog ref="jsqrDialog"></jsqrDialog>
|
||||||
<jsqrDialog :quotJsqrIdProp="quotJsqrIdProp" :isSelfProp="false"></jsqrDialog>
|
|
||||||
</el-dialog>
|
|
||||||
|
|
||||||
<!-- 核价单详情对话框 -->
|
<!-- 核价单详情对话框 -->
|
||||||
<el-dialog :title="hjTitle" :visible.sync="hjDialogOpen" width="1000px" append-to-body>
|
<hjDialog ref="hjDialog"></hjDialog>
|
||||||
<hjDialog :quotHjIdProp="quotHjIdProp" :isSelfProp="false"></hjDialog>
|
|
||||||
</el-dialog>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<style>
|
<style>
|
||||||
|
@ -815,17 +811,7 @@ export default {
|
||||||
showTl: false,
|
showTl: false,
|
||||||
showDy: false,
|
showDy: false,
|
||||||
showZy: false,
|
showZy: false,
|
||||||
showQt: false,
|
showQt: false
|
||||||
|
|
||||||
//调用公共技术确认单页面参数
|
|
||||||
jsqrTitle: "",
|
|
||||||
jsqrDialogOpen: false,
|
|
||||||
quotJsqrIdProp: "",
|
|
||||||
|
|
||||||
//调用公共核价单页面参数
|
|
||||||
hjTitle: "",
|
|
||||||
hjDialogOpen: false,
|
|
||||||
quotHjIdProp: ""
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
@ -1202,16 +1188,12 @@ export default {
|
||||||
|
|
||||||
//技术确认单 详细信息
|
//技术确认单 详细信息
|
||||||
showJsqrDialog(){
|
showJsqrDialog(){
|
||||||
this.jsqrTitle = "技术确认单信息";
|
this.$refs.jsqrDialog.getInfo("报价单-技术确认单",true,false,this.form.quotJsxzConfirmId);
|
||||||
this.jsqrDialogOpen = true;
|
|
||||||
this.quotJsqrIdProp = this.form.quotJsxzConfirmId;//传参设置
|
|
||||||
},
|
},
|
||||||
|
|
||||||
//核价单 详细信息
|
//核价单 详细信息
|
||||||
showHjDialog(){
|
showHjDialog(){
|
||||||
this.hjTitle = "核价单信息";
|
this.$refs.hjDialog.getInfo("报价单-核价单",true,false,this.form.quotHjId);
|
||||||
this.hjDialogOpen = true;
|
|
||||||
this.quotHjIdProp = this.form.quotHjId;//传参设置
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -92,9 +92,7 @@
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- 添加或修改报价单-技术确认单对话框 -->
|
<!-- 添加或修改报价单-技术确认单对话框 -->
|
||||||
<el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body>
|
<jsqrDialog ref="jsqrDialog" @refreshList="getList"></jsqrDialog>
|
||||||
<jsqrDialog :quotJsqrIdProp="quotJsqrIdProp" :isSelfProp="true" @fMethod="cancel"></jsqrDialog>
|
|
||||||
</el-dialog>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<style>
|
<style>
|
||||||
|
@ -156,20 +154,13 @@ export default {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
quotJsqrCode: null
|
quotJsqrCode: null
|
||||||
},
|
}
|
||||||
//调用公共技术确认单页面参数
|
|
||||||
quotJsqrIdProp: ""
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 关闭弹窗按钮
|
|
||||||
cancel() {
|
|
||||||
this.open = false;
|
|
||||||
this.getList();
|
|
||||||
},
|
|
||||||
/** 查询报价单-技术确认单列表 */
|
/** 查询报价单-技术确认单列表 */
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
@ -198,10 +189,8 @@ export default {
|
||||||
|
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
const quotJsqrId = row.quotJsqrId || this.ids
|
const quotJsqrId = row.quotJsqrId || this.ids;
|
||||||
this.open = true;
|
this.$refs.jsqrDialog.getInfo("报价单-技术确认单",true,true,quotJsqrId);
|
||||||
this.title = "报价单-技术确认单";
|
|
||||||
this.quotJsqrIdProp = quotJsqrId;//传参设置
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
|
<el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="150px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="150px">
|
||||||
<el-row :gutter="8">
|
<el-row :gutter="8">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
|
@ -648,20 +649,23 @@
|
||||||
<el-button :key="Math.random()" size="small" type="text">
|
<el-button :key="Math.random()" size="small" type="text">
|
||||||
<a @click="downloadFile(scope.row.fileUrl)">下载</a>
|
<a @click="downloadFile(scope.row.fileUrl)">下载</a>
|
||||||
</el-button>
|
</el-button>
|
||||||
|
<div v-if="this.isSelfProp">
|
||||||
<el-button :key="Math.random()" size="small" type="text" v-if="uploadDis">
|
<el-button :key="Math.random()" size="small" type="text" v-if="uploadDis">
|
||||||
<a @click="deleteFile(scope.row.fileId)">删除</a>
|
<a @click="deleteFile(scope.row.fileId)">删除</a>
|
||||||
</el-button>
|
</el-button>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div v-if="this._props.isSelfProp">
|
|
||||||
<div slot="footer" class="dialog-footer" v-if="this.form.quotJsxzApprovalStatus==1">
|
<div slot="footer" class="dialog-footer" v-if="this.form.quotJsxzApprovalStatus==1">
|
||||||
|
<div v-if="isSelfProp">
|
||||||
<span v-hasPermi="['jsqr:jsqr:commit']"><el-button type="primary" @click="commitQuot">提交报价</el-button></span>
|
<span v-hasPermi="['jsqr:jsqr:commit']"><el-button type="primary" @click="commitQuot">提交报价</el-button></span>
|
||||||
<span style="margin-left: 10px"><el-button @click="cancel">取 消</el-button></span>
|
<span style="margin-left: 10px"><el-button @click="cancel">取 消</el-button></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<style>
|
<style>
|
||||||
|
@ -681,12 +685,13 @@
|
||||||
export default {
|
export default {
|
||||||
name: "jsxzInfo",
|
name: "jsxzInfo",
|
||||||
dicts: ['quot_jsxz_approval_status','quot_jsxz_chapter','quot_jsxz_standard','quot_jsxz_group','quot_jsxz_group_status'],
|
dicts: ['quot_jsxz_approval_status','quot_jsxz_chapter','quot_jsxz_standard','quot_jsxz_group','quot_jsxz_group_status'],
|
||||||
props: {
|
|
||||||
quotJsqrIdProp: String,
|
|
||||||
isSelfProp: Boolean
|
|
||||||
},
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
// 弹窗标题 关闭/打开
|
||||||
|
title: "",
|
||||||
|
open: false,
|
||||||
|
// 是否是自身页面调用
|
||||||
|
isSelfProp: true,
|
||||||
// 报价单-技术确认单-技术规范附件列表数据
|
// 报价单-技术确认单-技术规范附件列表数据
|
||||||
quotJsgfFileList: [],
|
quotJsgfFileList: [],
|
||||||
//报价单-技术确认单-反馈附件上传地址
|
//报价单-技术确认单-反馈附件上传地址
|
||||||
|
@ -746,14 +751,6 @@
|
||||||
quotJsqrQtLeaderRemarkDis: false,
|
quotJsqrQtLeaderRemarkDis: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
|
||||||
quotJsqrIdProp(value,oldvalue){
|
|
||||||
this.getInfo();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
created() {
|
|
||||||
this.getInfo();
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
/** 清空表单 */
|
/** 清空表单 */
|
||||||
reset(){
|
reset(){
|
||||||
|
@ -836,12 +833,15 @@
|
||||||
},
|
},
|
||||||
// 关闭弹窗按钮
|
// 关闭弹窗按钮
|
||||||
cancel() {
|
cancel() {
|
||||||
this.$emit('fMethod');
|
this.open = false;
|
||||||
|
this.$emit('refreshList');
|
||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
getInfo() {
|
getInfo(title,open,isSelfProp,quotJsqrId) {
|
||||||
|
this.open = true;
|
||||||
|
this.title = "报价单-技术确认单";
|
||||||
|
this.isSelfProp = isSelfProp;
|
||||||
this.reset();
|
this.reset();
|
||||||
const quotJsqrId = this._props.quotJsqrIdProp;
|
|
||||||
getJsqr(quotJsqrId).then(response => {
|
getJsqr(quotJsqrId).then(response => {
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
this.$set(this.form, "quotJsxzGroup", (this.form.quotJsxzGroupValues==''||this.form.quotJsxzGroupValues==null)?[]:this.form.quotJsxzGroupValues.split(','));
|
this.$set(this.form, "quotJsxzGroup", (this.form.quotJsxzGroupValues==''||this.form.quotJsxzGroupValues==null)?[]:this.form.quotJsxzGroupValues.split(','));
|
||||||
|
@ -863,8 +863,6 @@
|
||||||
this.getQuotJsqrFileList('quotJsqrQtFkFile');
|
this.getQuotJsqrFileList('quotJsqrQtFkFile');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.open = true;
|
|
||||||
this.title = "报价单-技术确认单";
|
|
||||||
this.getQuotJsgfFileList();
|
this.getQuotJsgfFileList();
|
||||||
this.quotJsqrTlRemarkDisSet();//技术协助-特缆审核意见/组长确认意见 编辑状态设置
|
this.quotJsqrTlRemarkDisSet();//技术协助-特缆审核意见/组长确认意见 编辑状态设置
|
||||||
this.quotJsqrDyRemarkDisSet();//技术协助-低压审核意见/组长确认意见 编辑状态设置
|
this.quotJsqrDyRemarkDisSet();//技术协助-低压审核意见/组长确认意见 编辑状态设置
|
||||||
|
|
Loading…
Reference in New Issue