Commit 1c49bbc6 authored by youjie's avatar youjie

no message

parent 2d2977c9
...@@ -76,31 +76,29 @@ ...@@ -76,31 +76,29 @@
</el-table-column> </el-table-column>
<el-table-column prop="StateName" label="状态" show-overflow-tooltip> <el-table-column prop="StateName" label="状态" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{scope.row.StateName}} {{scope.row.OrderChangePriceId}}</span> <span>{{scope.row.StateName}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="操作" label="操作"
show-overflow-tooltip> show-overflow-tooltip>
<template slot-scope="scope" > <template slot-scope="scope">
<el-button v-if="scope.row.OrderChangePriceId==0" size="mini" type="primary" @click="ckChangePrice(scope.row)">申请改价</el-button> <el-button v-if="scope.row.OrderChangePriceId==0" size="mini" type="primary" @click="ckChangePrice(scope.row)">申请改价</el-button>
<p v-else class="cursor-pointer c059FF6 fz18 row-c" @click="goDetails(scope.row)"> <el-button v-if="scope.row.OrderChangePriceId" size="mini" type="primary" @click="ckChangePrice(scope.row,1)">修改改价</el-button>
<span >{{scope.row.OrderChangePriceId}}</span>
</p>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="combottomDiv OPremarkDiv" v-if="changePriceMsg.outerVisible"> <div class="combottomDiv OPremarkDiv" v-if="changePriceMsg.outerVisible">
<div class="combottomTitle">{{$t('Operation.Op_remark')}}</div> <div class="combottomTitle">{{titlePrice}}</div>
<el-form label-width="100px"> <el-form label-width="100px">
<el-col :span="8"> <el-col :span="8">
<el-form-item label="应收总金额" prop="Remark"> <el-form-item label="应收总金额" prop="">
<el-input type="textarea" v-model="changePriceMsg.Money" rows="6"></el-input> <el-input type="textarea" v-model="changePriceMsg.Money" rows="6"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="改价原因" prop="Remark"> <el-form-item label="改价原因" prop="">
<el-input type="textarea" v-model="changePriceMsg.ApplyForReason" rows="6"></el-input> <el-input type="textarea" v-model="changePriceMsg.ApplyForReason" rows="6"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -123,6 +121,7 @@ ...@@ -123,6 +121,7 @@
props: ["OrderList", "pagesTitle"], props: ["OrderList", "pagesTitle"],
data() { data() {
return { return {
titlePrice:'',
S_CheckBranchOrder: false, S_CheckBranchOrder: false,
S_CheckAllOrder: false, S_CheckAllOrder: false,
queryObj: null, queryObj: null,
...@@ -271,7 +270,9 @@ ...@@ -271,7 +270,9 @@
}) })
}, },
//点击修改订单总价 //点击修改订单总价
ckChangePrice(item) { ckChangePrice(item,type) {
this.titlePrice = type?'修改改价':'申请改价'
this.changePriceMsg.ID = type?item.OrderChangePriceId:0
this.changePriceMsg.OrderId = item.OrderId; this.changePriceMsg.OrderId = item.OrderId;
this.changePriceMsg.OrderType = item.OrderType; this.changePriceMsg.OrderType = item.OrderType;
this.changePriceMsg.PreferPrice = item.PreferPrice; this.changePriceMsg.PreferPrice = item.PreferPrice;
......
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