Commit f6380281 authored by 黄奎's avatar 黄奎

页面修改

parent 57efa883
......@@ -128,9 +128,9 @@
label="客户名称" @clear="resetSearch" maxlength="20" />
</div>
<div class="col-3">
<q-select filled stack-label use-input option-value="Id" clearable @input="resetSearch"
<q-select filled stack-label use-input input-debounce="0" option-value="Id" clearable @input="resetSearch"
option-label="EmployeeName" v-model="msg.CreateBy" :options="EmployeeList" label="员工" :dense="false"
emit-value map-options @filter="filterFn">
emit-value map-options @filter="filterFn" >
<template v-slot:no-option>
<q-item>
<q-item-section class="text-grey">
......
......@@ -119,6 +119,14 @@
<q-input @input="resetSearch" clearable standout="bg-primary text-white" v-model="msg.Name" label="报价单名称"
@clear="resetSearch" maxlength="20" />
</div>
<div class="col-3">
<q-input @input="resetSearch" clearable standout="bg-primary text-white" v-model="msg.SerialNum" label="流水号"
@clear="resetSearch" maxlength="20" />
</div>
<div class="col-3">
<q-input @input="resetSearch" clearable standout="bg-primary text-white" v-model="msg.CustomerName"
label="客户名称" @clear="resetSearch" maxlength="20" />
</div>
</div>
</div>
<div class="page-content">
......@@ -149,13 +157,16 @@
<q-item-label>详情</q-item-label>
</q-item-section>
</q-item>
<q-item clickable v-close-popup v-if="props.row.CustomerStatus==1||props.row.CustomerStatus==2"
<q-item clickable v-close-popup
v-if="props.row.CustomerStatus==1||props.row.CustomerStatus==2||props.row.CustomerStatus==6"
@click="offerTransOrder(props.row)">
<q-item-section>
<q-item-label>转订单</q-item-label>
</q-item-section>
</q-item>
<q-item clickable v-close-popup @click="applyUpdatePrice(props.row)">
<q-item clickable v-close-popup
v-if="props.row.CustomerStatus==1||props.row.CustomerStatus==2||props.row.CustomerStatus==6"
@click="applyUpdatePrice(props.row)">
<q-item-section>
<q-item-label>申请改价</q-item-label>
</q-item-section>
......@@ -171,24 +182,24 @@
</template>
</q-table>
</div>
<!-- 新增修改报价单 -->
<q-dialog v-model="showForm" persistent>
<quotation-form :obj="offerObj" @save="refreshPage()"></quotation-form>
</q-dialog>
<!-- 报价单转订单 -->
<q-dialog v-model="showOrderForm" persistent>
<offertransorder-form :obj="offerObj" @save="refreshPage()"></offertransorder-form>
</q-dialog>
<!-- 查看报价单 -->
<viewquotation-form v-if="isShowviewQuo" :rId="rId" :isShowCancle="0" @close="closeQuota">
</viewquotation-form>
<!-- 申请改价 -->
<q-dialog v-model="isShowUpPrice" persistent>
<q-card style="width: 500px;max-width:500px;" class="CLM-Form">
<q-card-section>
<div class="text-h6">申请改价</div>
</q-card-section>
<q-card-section class="q-pt-none scroll" style="max-height: 70vh">
<q-card-section class="q-pt-none scroll" style="max-height: 70vh">
<div class="row wrap">
<div class="col-12">
<q-input v-model="uppriceMsg.ApplyReason" filled type="textarea" placeholder="改价原因" />
......@@ -219,7 +230,7 @@
export default {
meta: {
title: "报价单"
title: "我的报价单"
},
components: {
quotationForm,
......@@ -237,7 +248,9 @@
rowsPerPage: 10,
Name: "",
IsGetDetails: 1,
CreateBy: 0
CreateBy: 0,
SerialNum: "", //流水号
CustomerName: "", //客户名称
},
pageCount: 0,
showForm: false, //是否显示报价单弹窗
......@@ -326,9 +339,9 @@
isShowviewQuo: false,
rId: 0,
isShowUpPrice: false,
uppriceMsg:{
Id:0,
ApplyReason:''
uppriceMsg: {
Id: 0,
ApplyReason: ''
}
}
},
......@@ -345,8 +358,8 @@
this.isShowUpPrice = true;
},
//提交改价原因
saveUpprice(){
if(this.uppriceMsg.ApplyReason==''){
saveUpprice() {
if (this.uppriceMsg.ApplyReason == '') {
this.$q.notify({
type: 'negative',
position: "top",
......@@ -355,9 +368,9 @@
return;
}
SetApplyModifyPrice(this.uppriceMsg).then(res => {
this.isShowUpPrice=false;
this.uppriceMsg.ApplyReason='';
this.$q.notify({
this.isShowUpPrice = false;
this.uppriceMsg.ApplyReason = '';
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
......
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