Commit fa8448db authored by 吴春's avatar 吴春

超哥修改报名清单修复不能修改单地接价格

parent 405f643a
......@@ -1191,7 +1191,7 @@
</el-select>
</el-form-item>
<el-form-item label="成交单价" prop="Unit_Price" v-else>
<el-input v-model='addMsg.Unit_Price' @change="getTotalPrice(3)"></el-input>
<el-input v-model='addMsg.Unit_Price' @change="getTotalPrice(3)" ></el-input><!--:disabled="addMsg.GroupType==4" -->
</el-form-item>
</template>
<el-form-item label="高于本团单价" v-show="addMsg.GroupType != 4">
......@@ -1206,7 +1206,7 @@
<el-col :span="5" v-else>
<el-form-item label="成交单价" prop="Unit_Price">
<el-input v-model='addMsg.Unit_Price' class="w210"
@keyup.native="checkPrice(addMsg,'Unit_Price');getTotalPrice()"></el-input>
@keyup.native="checkPrice(addMsg,'Unit_Price');getTotalPrice()" ></el-input>
</el-form-item>
<el-form-item>
<p style="line-height: 18px; color: #E95252;">注:如果超出本团的最低让价,差价将由你来承担</p>
......@@ -3249,6 +3249,7 @@
},
// 点击弹出下拉框
getDetail(obj) {
console.log(obj)
this.Ysze = false;
this.starTime = obj.StartDate;
this.endTime = obj.BackDate;
......@@ -3846,13 +3847,14 @@
}
},
getTotalPrice(t) {
console.log(t)
if (t === 3) {
if (parseFloat(this.addMsg.Unit_Price).toString() === "NaN") {
this.$message.error('请输入正确的价格!')
this.addMsg.Unit_Price = this.addMsg.TC_Price
return
}
if (this.addMsg.Unit_Price < this.addMsg.TC_Price) {
if (this.addMsg.Unit_Price < this.addMsg.TC_Price && this.addMsg.GroupType!=4) {
this.$message.error('成交单价必须大于等于本团单价!')
this.addMsg.Unit_Price = this.addMsg.TC_Price
return
......@@ -4966,7 +4968,7 @@
gettypechange(type) {
//切换参团类型时 把值初始化
if (type == 4) {
this.addMsg.Unit_Price = this.Unit_Price; //成交单价
this.addMsg.Unit_Price = this.addObj.SingleDMCPrice; //成交单价
this.HightUnitPrice = '1';
this.addMsg.AirticketNum = 0;
this.addMsg.ManNum = 0;
......
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