Commit 92e33093 authored by zhengke's avatar zhengke
parents 2431c3d6 b8d57cc4
...@@ -389,7 +389,7 @@ ...@@ -389,7 +389,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="5">
<el-form-item :label="$t('ground.songjiBj')" prop="SendPrice" style="display:none;"> <el-form-item :label="$t('ground.songjiBj')" style="display:none;">
<el-input v-model="addMsg.SendPrice" @keyup.native="checkPrice(addMsg,'SendPrice')"></el-input> <el-input v-model="addMsg.SendPrice" @keyup.native="checkPrice(addMsg,'SendPrice')"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -404,7 +404,7 @@ ...@@ -404,7 +404,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5" style="display:none;"> <el-col :span="5" style="display:none;">
<el-form-item label="小时报价" prop="HourPrice"> <el-form-item label="小时报价" >
<el-input v-model="addMsg.HourPrice" @keyup.native="checkPrice(addMsg,'HourPrice')"></el-input> <el-input v-model="addMsg.HourPrice" @keyup.native="checkPrice(addMsg,'HourPrice')"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
......
...@@ -1652,21 +1652,22 @@ ...@@ -1652,21 +1652,22 @@
let list = [] let list = []
for (var j = 0; j < Diningdest.length; j++) { for (var j = 0; j < Diningdest.length; j++) {
var dj = Diningdest[j]; var dj = Diningdest[j];
if (dj.UseTimeStr == ai.UseTimeStr && dj.NewDiningID == ai.NewDiningID) { if (dj.id == (ai.NewDiningID + ai.UseTimeStr + ai.UseDinnerTypeStr)) {
dj.data.push(ai); dj.data.push(ai);
break; break;
} else { }
list.push(ai) // else {
} // list.push(ai)
} // }
for (let i = 0; i < list.length; i++) {
Diningdest.push({
UseTimeStr: ai.UseTimeStr,
DiningID: ai.NewDiningID,
id: ai.NewDiningID + ai.UseTimeStr + ai.UseDinnerTypeStr,
data: [ai]
});
} }
// for (let i = 0; i < list.length; i++) {
// Diningdest.push({
// UseTimeStr: ai.UseTimeStr,
// DiningID: ai.NewDiningID,
// id: ai.NewDiningID + ai.UseTimeStr + ai.UseDinnerTypeStr,
// data: [ai]
// });
// }
} }
} }
for (var i = 0; i < Diningdest.length; i++) { for (var i = 0; i < Diningdest.length; i++) {
......
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