Commit ec9d7675 authored by 黄奎's avatar 黄奎

报价单调整

parent e9573ddb
...@@ -132,6 +132,7 @@ ...@@ -132,6 +132,7 @@
msg, msg,
res => { res => {
this.loading = false; this.loading = false;
console.log("travel_get_GetMyTravelInfo_V4_OfferChange",res.data);
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
var tempData = res.data.data; var tempData = res.data.data;
if (tempData.ID && tempData.ID > 0) { if (tempData.ID && tempData.ID > 0) {
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
border-bottom: 1px solid #606266; border-bottom: 1px solid #606266;
padding-left: 5px !important; padding-left: 5px !important;
} }
</style> </style>
<template> <template>
...@@ -47,7 +48,7 @@ ...@@ -47,7 +48,7 @@
<td style="width:100px;" class="CP_ComTitle2 CostcomCenter">变更类型</td> <td style="width:100px;" class="CP_ComTitle2 CostcomCenter">变更类型</td>
<td style="width:100px;" class="CP_ComTitle2 CostcomCenter">天数</td> <td style="width:100px;" class="CP_ComTitle2 CostcomCenter">天数</td>
<td style="width:100px;" class="CP_ComTitle2 CostcomCenter">变更值</td> <td style="width:100px;" class="CP_ComTitle2 CostcomCenter">变更值</td>
<td style="width:100px;" class="CP_ComTitle2 CostcomCenter">变更备注</td> <td style="width:250px;" class="CP_ComTitle2 CostcomCenter">变更备注</td>
<td style="width:100px;" class="CP_ComTitle2 CostcomCenter"> <td style="width:100px;" class="CP_ComTitle2 CostcomCenter">
<a style="color:blue;cursor:pointer;" @click="AddOfferObj()">添加</a> <a style="color:blue;cursor:pointer;" @click="AddOfferObj()">添加</a>
</td> </td>
...@@ -75,7 +76,10 @@ ...@@ -75,7 +76,10 @@
<el-input v-model="item.ChangeValue" style="width:100px;" max="6"></el-input> <el-input v-model="item.ChangeValue" style="width:100px;" max="6"></el-input>
</td> </td>
<td> <td>
<el-input v-model="item.ChangeRemarks" style="width:100px;" maxlength="50"></el-input> <el-select v-model="item.ChangeRemarks" placeholder="请选择">
<el-option v-for="(cItem,cIndex) in changeRemarkList" :key="cIndex" :label="cItem.Name"
:value="cItem.Name"></el-option>
</el-select>
</td> </td>
<td> <td>
<a style="color:red;cursor:pointer;" @click="DeleteOfferChange(item,index)">删除</a> <a style="color:red;cursor:pointer;" @click="DeleteOfferChange(item,index)">删除</a>
...@@ -98,6 +102,9 @@ ...@@ -98,6 +102,9 @@
loading: false, loading: false,
dataList: [], dataList: [],
changeTypeList: [], //变更类型 changeTypeList: [], //变更类型
changeRemarkList: [
]
}; };
}, },
methods: { methods: {
...@@ -197,13 +204,25 @@ ...@@ -197,13 +204,25 @@
this.changeTypeList = res.data.data; this.changeTypeList = res.data.data;
} }
}); });
},
getChangeRemark() {
var posMsg = {
Key: "Travel_Offer_ChangeRemark"
};
this.apipost("dict_get_GetDictValueCommonList", posMsg, res => {
if (res.data.resultCode == 1) {
this.changeRemarkList = res.data.data;
}
});
} }
}, },
created() { created() {
this.getChangeType(); this.getChangeType();
this.getChangeRemark();
}, },
mounted() { mounted() {
this.getOfferChange(); this.getOfferChange();
} }
}; };
</script> </script>
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