Commit 9b6eff4d authored by 华国豪's avatar 华国豪 🙄

'op备注@@@'

parent 38405ae4
......@@ -1566,6 +1566,7 @@
<div v-if="item.orderState!='4'" @click="goUrlP('旅客名单','passengerSaleList',item)">旅客名单</div>
<div v-if="item.isOrder=='1'&&(item.isHaveFinance=='1'||item.orderState=='1')" @click='getHouse(item)'>修改房型</div>
<div v-if="item.isOrder=='1'&&item.orderState!='4'" @click="transfer(item)">订单转团</div>
<div v-if="isUpdateOrder" @click='zhuanLoading = true,OPRemarkMsg.OrderId = item.orderId'>OP备注</div>
<div v-if="item.isOrder=='1'&&(item.orderState=='1'||item.orderState=='2'||item.orderState=='3')" @click='deleteItem(item)'>取消</div>
</div>
<el-button slot="reference" type="primary" style='background:#297BEF; border-color:#297BEF;border-top-left-radius: 0;border-bottom-left-radius: 0;' icon="iconfont icon-more"></el-button>
......@@ -1827,7 +1828,7 @@
</div>
<el-button slot="reference" type="primary" style='background:#297BEF; border-color:#297BEF;border-top-left-radius: 0;border-bottom-left-radius: 0;' icon="iconfont icon-more"></el-button>
</el-popover>
</el-tooltip>
</el-tooltip>
</el-button-group>
<payurlItem v-if='item.isOwn==1' :item="item" :showID="showID" v-show="item.orderState!='4'&&item.orderState!='3'" v-on:childByValue="childByValue"></payurlItem>
</td>
......@@ -1922,6 +1923,18 @@
<div class="combottomDiv" v-if="showChangeSales" style="height:200px;">
<updateSalesMan @closeUpdiv="closeSalseDiv" @getList="getList" :subInfo="subInfo"></updateSalesMan>
</div>
<el-dialog custom-class='w350' title="修改OP备注" :visible.sync="zhuanLoading" center :before-close="initOPRemarkMsg">
<!--zhaunMsg.TCNUM-->
<el-form label-width="110px">
<el-form-item label="OP备注:" class="w280">
<el-input type="textarea" :rows="2" v-model="OPRemarkMsg.OP_Remarks"></el-input>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<button class="normalBtn" type="primary" @click="TransferDocuments">{{$t('pub.saveBtn')}}</button>
<button class="hollowFixedBtn" @click="initOPRemarkMsg">{{$t('pub.cancelBtn')}}</button>
</div>
</el-dialog>
</div>
</template>
......@@ -1933,6 +1946,11 @@ import updateSalesMan from "../commonPage/updateSalesMan.vue";
export default {
data() {
return {
OPRemarkMsg: {
OrderId: '',
OP_Remarks: '',
},
zhuanLoading: false,
checkedObj:{},
positionId:0,
pickerOptions0: {
......@@ -2227,6 +2245,25 @@ export default {
}
},
methods: {
TransferDocuments: function () {
this.apipost('sellorder_get_SetOrderOPRemarks', this.OPRemarkMsg, res=>{
if (res.data.resultCode == 1) {
this.$message.success(res.data.message)
this.getList()
this.initOPRemarkMsg()
this.zhuanLoading = false
} else {
this.$message.error(res.data.message);
}
}, null)
},
initOPRemarkMsg(){
this.OPRemarkMsg = {
OP_Remarks: '',
OrderId: '',
}
this.zhuanLoading = false
},
goUrlSFD: function (path, name, item) {
let obj = JSON.parse(JSON.stringify(item))
obj.oP_Remarks = ''
......
......@@ -2730,7 +2730,7 @@ import updateSalesMan from "../../commonPage/updateSalesMan.vue";
}
this.returnPrice = 0;
if (res.data.data.modelPrice && res.data.data.modelPrice.BackAddPrice) {
this.stratPrice = res.data.data.modelPrice.BackAddPrice;
this.returnPrice = res.data.data.modelPrice.BackAddPrice;
}
if (this.returnPrice == 0) {
this.returnPriceShow = false;
......
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