Commit 2ce66ef5 authored by youjie's avatar youjie
parents 782e04de 73e8c775
...@@ -142,7 +142,6 @@ ...@@ -142,7 +142,6 @@
if (this.$route.query && this.$route.query.TypeStr) { if (this.$route.query && this.$route.query.TypeStr) {
this.msg.TypeStr = this.$route.query.TypeStr; this.msg.TypeStr = this.$route.query.TypeStr;
} }
console.log("this.msg", this.msg);
this.getCanvas(); this.getCanvas();
document.getElementsByTagName('body')[0].style = "overscroll-behavior-y: contain;" document.getElementsByTagName('body')[0].style = "overscroll-behavior-y: contain;"
}, },
......
...@@ -200,7 +200,11 @@ ...@@ -200,7 +200,11 @@
</td> </td>
<td align="right"> <td align="right">
<el-button type="primary" size="medium" @click="saveData()" :loading="SaveLoading">保存</el-button> <el-button type="primary" size="medium" @click="saveData()" :loading="SaveLoading">保存</el-button>
<el-button type="primary" size="medium" @click="isShowFade=true;createQrCode()">生成二维码</el-button> <template v-if="addMsg.ProtocolId>0">
<el-button type="primary" size="medium" @click="saveCompanySign()" :loading="SaveLoading">签章
</el-button>
<el-button type="primary" size="medium" @click="isShowFade=true;createQrCode()">生成二维码</el-button>
</template>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -342,7 +346,6 @@ ...@@ -342,7 +346,6 @@
this.addMsg.OrderId = tempObj.OrderId; this.addMsg.OrderId = tempObj.OrderId;
this.addMsg.GuestId = tempObj.GuestId; this.addMsg.GuestId = tempObj.GuestId;
this.addMsg.DiscountMoney = tempObj.DiscountMoney; this.addMsg.DiscountMoney = tempObj.DiscountMoney;
this.addMsg.GuestName = tempObj.GuestName;
this.addMsg.GuestIsSign = tempObj.GuestIsSign; this.addMsg.GuestIsSign = tempObj.GuestIsSign;
this.addMsg.GuestSignature = tempObj.GuestSignature; this.addMsg.GuestSignature = tempObj.GuestSignature;
this.addMsg.GuestSignDate = tempObj.GuestSignDate; this.addMsg.GuestSignDate = tempObj.GuestSignDate;
...@@ -351,6 +354,7 @@ ...@@ -351,6 +354,7 @@
this.addMsg.CompanyImage = tempObj.CompanyImage; this.addMsg.CompanyImage = tempObj.CompanyImage;
this.addMsg.EnterName = tempObj.EnterName; this.addMsg.EnterName = tempObj.EnterName;
} }
this.addMsg.GuestName = tempObj.GuestName;
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
...@@ -376,6 +380,25 @@ ...@@ -376,6 +380,25 @@
err => {} err => {}
); );
}, },
//公司盖章
saveCompanySign() {
var postMsg = {
ProtocolId: this.addMsg.ProtocolId,
CompanyIsSign: 1,
};
this.apipost(
"traveldisProtocol_post_UpdateCompanySignature", postMsg,
res => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.GetData();
} else {
this.Error(res.data.message);
}
},
err => {}
);
},
//生成二维码 //生成二维码
createQrCode() { createQrCode() {
let urlObj = this.domainManager(); let urlObj = this.domainManager();
......
...@@ -204,7 +204,6 @@ ...@@ -204,7 +204,6 @@
} }
}) })
this.citiesData = tempData; this.citiesData = tempData;
console.log("citiesData_2", this.citiesData);
if (this.citiesData && this.citiesData.length > 0) { if (this.citiesData && this.citiesData.length > 0) {
// 可见范围 // 可见范围
const bounds = new mapboxgl.LngLatBounds(); const bounds = new mapboxgl.LngLatBounds();
......
...@@ -822,7 +822,6 @@ ...@@ -822,7 +822,6 @@
this.RenderingOk = true; this.RenderingOk = true;
setTimeout(()=>{ setTimeout(()=>{
this.pageHeight = document.querySelector(`#LineOfTravel${this.item * 4}_0${this.index}`).offsetHeight; this.pageHeight = document.querySelector(`#LineOfTravel${this.item * 4}_0${this.index}`).offsetHeight;
console.log("dayTrip"+(this.index+1),this.pageHeight);
},500) },500)
this.$forceUpdate() this.$forceUpdate()
}, },
......
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