Commit 929a5b39 authored by 黄奎's avatar 黄奎

页面修改

parent 876ee4c0
......@@ -155,11 +155,6 @@
<q-item-label>转订单</q-item-label>
</q-item-section>
</q-item>
<q-item clickable v-close-popup @click="editOrderPrice(props.row)">
<q-item-section>
<q-item-label>改价</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-btn-dropdown>
</div>
......@@ -180,9 +175,7 @@
<offertransorder-form :obj="offerObj" @save="refreshPage()"></offertransorder-form>
</q-dialog>
<q-dialog v-model="showEditPrice" persistent>
<edittransorder-form :obj="offerObj" @save="refreshPage()"></edittransorder-form>
</q-dialog>
<!-- 查看报价单 -->
<viewquotation-form v-if="isShowviewQuo" :rId="rId" @close="closeQuota">
</viewquotation-form>
......@@ -192,7 +185,7 @@
<script>
import quotationForm from '../../components/sale/quotation-form'
import offertransorderForm from '../../components/sale/offertransorder-form'
import edittransorderForm from '../../components/sale/edittransorder-form'
import viewquotationForm from '../../components/sale/viewquotation-form'
import {
queryCourseOfferPage,
......@@ -208,7 +201,6 @@
components: {
quotationForm,
offertransorderForm,
edittransorderForm,
viewquotationForm
},
data() {
......@@ -308,8 +300,8 @@
showOrderForm: false, //是否显示转订单表单
commonId: 0,
showEditPrice: false, //是否显示改价表单
isShowviewQuo:false,
rId:0
isShowviewQuo: false,
rId: 0
}
},
......@@ -319,8 +311,8 @@
this.getcourseofferpage();
},
methods: {
closeQuota(){
this.isShowviewQuo=false;
closeQuota() {
this.isShowviewQuo = false;
},
//跳转到订单列表
goOrderList(item) {
......@@ -336,21 +328,16 @@
this.offerObj = item;
this.showOrderForm = true;
},
//改价
editOrderPrice(item) {
this.offerObj = item;
this.showEditPrice = true;
},
//刷新页面
refreshPage() {
this.showForm = false;
this.showOrderForm = false;
this.showEditPrice = false;
this.getcourseofferpage();
},
gotoDetails(item) {
this.rId=item.Id;
this.isShowviewQuo=true;
this.rId = item.Id;
this.isShowviewQuo = true;
},
//显示报价单
editQuotation(item) {
......
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