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

页面修改

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