Commit a834bf06 authored by 黄奎's avatar 黄奎

页面修改

parent 7a900e43
...@@ -998,7 +998,6 @@ ...@@ -998,7 +998,6 @@
}) })
}) })
}); });
console.log("list",list);
this.list = list; this.list = list;
this.$forceUpdate(); this.$forceUpdate();
} }
......
...@@ -683,7 +683,6 @@ export default { ...@@ -683,7 +683,6 @@ export default {
}, },
methods: { methods: {
changeSelect() { changeSelect() {
console.log("changeSelect");
this.list.forEach((element) => { this.list.forEach((element) => {
element.check = this.allCheck; element.check = this.allCheck;
}); });
...@@ -922,7 +921,6 @@ export default { ...@@ -922,7 +921,6 @@ export default {
this.$tripUtils.GotoB2CPage(B2BDomain, item.ConfigID, item.TCID); this.$tripUtils.GotoB2CPage(B2BDomain, item.ConfigID, item.TCID);
}, },
goUrlT(path, obj, outItem, title) { goUrlT(path, obj, outItem, title) {
console.log('goUrlTO',path, obj, outItem, title)
this.$router.push({ this.$router.push({
name: path, name: path,
query: { query: {
......
...@@ -574,20 +574,19 @@ ...@@ -574,20 +574,19 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="6"> <el-col :span="6">
<el-form-item label="統一编号" prop="UniqueCode"> <el-form-item label="統一编号" prop="UniqueCode">
<el-input v-model="addMsg.UniqueCode" placeholder="请输入統一编号" <el-input v-model="addMsg.UniqueCode" placeholder="请输入統一编号" maxlength="20"></el-input>
maxlength="20"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="LINE ID" prop="LINEID"> <el-form-item label="LINE ID" prop="LINEID">
<el-input v-model="addMsg.LINEID" placeholder="请输入LINE ID" <el-input v-model="addMsg.LINEID" placeholder="请输入LINE ID" maxlength="20"></el-input>
maxlength="20"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Email" prop="Email"> <el-form-item label="Email" prop="Email">
<el-input v-model="addMsg.Email" placeholder="请输入Email" style="width: 240px;"></el-input> <el-input v-model="addMsg.Email" placeholder="请输入Email" style="width: 240px;"></el-input>
<span class="q-pl-lg text-grey-8" style="cursor: pointer;margin-left: 10px;color: gray;" @click="isShow=!isShow">{{isShow?'收起':'展开'}}</span> <span class="q-pl-lg text-grey-8" style="cursor: pointer;margin-left: 10px;color: gray;"
@click="isShow=!isShow">{{isShow?'收起':'展开'}}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
...@@ -722,7 +721,8 @@ ...@@ -722,7 +721,8 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="6"> <el-col :span="6">
<el-form-item label="联系电话"> <el-form-item label="联系电话">
<el-input class='w200' v-model="updateMsg.contactNumber" @input='searchHistory(updateMsg.contactNumber)' placeholder="请输入联系电话"></el-input> <el-input class='w200' v-model="updateMsg.contactNumber" @input='searchHistory(updateMsg.contactNumber)'
placeholder="请输入联系电话"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
...@@ -1027,7 +1027,6 @@ ...@@ -1027,7 +1027,6 @@
this.UploadSelfFileT(path, newArr, x => { this.UploadSelfFileT(path, newArr, x => {
let fileSize = file.file.size < 1024 ? file.file.size : (file.file.size / 1024).toFixed(0); let fileSize = file.file.size < 1024 ? file.file.size : (file.file.size / 1024).toFixed(0);
this.saveMsg = [] this.saveMsg = []
console.log('file', file, x)
this.saveMsg.push({ this.saveMsg.push({
Path: x.data.FilePath, Path: x.data.FilePath,
FileName: file.file.name, FileName: file.file.name,
...@@ -1068,11 +1067,11 @@ ...@@ -1068,11 +1067,11 @@
// this.$message.error('请输入联系电话') // this.$message.error('请输入联系电话')
// return // return
// } // }
if(!this.updateMsg.CustomerName){ if (!this.updateMsg.CustomerName) {
this.$message.error('请输入客户名称') this.$message.error('请输入客户名称')
return return
} }
if(!this.updateMsg.Contact){ if (!this.updateMsg.Contact) {
this.$message.error('请输入联系人') this.$message.error('请输入联系人')
return return
} }
...@@ -1133,7 +1132,7 @@ ...@@ -1133,7 +1132,7 @@
}) })
let AreaName = sheng + shi + qu let AreaName = sheng + shi + qu
this.updateMsg.Address = AreaName + ',' + this.updateMsg.Address this.updateMsg.Address = AreaName + ',' + this.updateMsg.Address
if(!this.updateMsg.Address){ if (!this.updateMsg.Address) {
this.$message.error('请输入输入详情地址') this.$message.error('请输入输入详情地址')
return return
} }
...@@ -1499,42 +1498,33 @@ ...@@ -1499,42 +1498,33 @@
} }
}, err => {}) }, err => {})
}, },
saveVisa() { // saveVisa() {
this.addMsg.SigningType = this.addMsg.SigningType ? 1 : 0 this.addMsg.SigningType = this.addMsg.SigningType ? 1 : 0
console.log('save', this.addMsg, this.updateMsg) if (!this.addMsg.contactNumber) {
if(!this.addMsg.contactNumber){
this.$message.error('请输入联系电话') this.$message.error('请输入联系电话')
return return
} }
if(!this.addMsg.customerName){ if (!this.addMsg.customerName) {
this.$message.error('请输入客户名称') this.$message.error('请输入客户名称')
return return
} }
if(!this.addMsg.contact){ if (!this.addMsg.contact) {
this.$message.error('请输入联系人') this.$message.error('请输入联系人')
return return
} }
if(this.addMsg.SigningType && !this.saveMsg.length){ if (this.addMsg.SigningType && !this.saveMsg.length) {
this.$message.error('请上传签约材料') this.$message.error('请上传签约材料')
return return
} else { } else {
if(this.saveMsg&&this.saveMsg.length>0) if (this.saveMsg && this.saveMsg.length > 0) {
{
this.addMsg.SigningFile = this.saveMsg[0].Path this.addMsg.SigningFile = this.saveMsg[0].Path
} }
} }
// if(!this.addMsg.UniqueCode){
// this.$message.error('请输入统一编码') if (this.updateMsg.Email) {
// return var reg = /^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;
// } if (!reg.test(this.updateMsg.Email)) {
// if(!this.addMsg.LINEID){
// this.$message.error('请输入LINE ID')
// return
// }
if(this.updateMsg.Email){
var reg=/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;
if(!reg.test(this.updateMsg.Email)){
this.$message.error('请输入有效的邮箱') this.$message.error('请输入有效的邮箱')
return return
} }
...@@ -1581,7 +1571,7 @@ ...@@ -1581,7 +1571,7 @@
}) })
let AreaName = sheng + shi + qu let AreaName = sheng + shi + qu
this.addMsg.address = AreaName + ',' + this.addMsg.address this.addMsg.address = AreaName + ',' + this.addMsg.address
if(!this.addMsg.address){ if (!this.addMsg.address) {
this.$message.error('请输入输入详情地址') this.$message.error('请输入输入详情地址')
return return
} }
......
...@@ -539,7 +539,6 @@ ...@@ -539,7 +539,6 @@
this.UploadSelfFileT(path, newArr, x => { this.UploadSelfFileT(path, newArr, x => {
let fileSize = file.file.size < 1024 ? file.file.size : (file.file.size / 1024).toFixed(0); let fileSize = file.file.size < 1024 ? file.file.size : (file.file.size / 1024).toFixed(0);
this.saveMsg = [] this.saveMsg = []
console.log('file', file, x)
this.saveMsg.push({ this.saveMsg.push({
Path: x.data.FilePath, Path: x.data.FilePath,
FileName: file.file.name, FileName: file.file.name,
......
...@@ -887,7 +887,6 @@ export default { ...@@ -887,7 +887,6 @@ export default {
methods: { methods: {
financeCheck(item) { financeCheck(item) {
this.checkObj = item; this.checkObj = item;
console.log("financeCheck", item);
this.showCheck = true this.showCheck = true
}, },
checkSubmit() { checkSubmit() {
......
...@@ -2292,7 +2292,6 @@ ...@@ -2292,7 +2292,6 @@
this.addMsg.GoCityTime = this.starTime = oldValue.StartCityTime; this.addMsg.GoCityTime = this.starTime = oldValue.StartCityTime;
this.addMsg.BackCityTime = this.endTime = oldValue.BackCityTime; this.addMsg.BackCityTime = this.endTime = oldValue.BackCityTime;
this.addMsg.SonControlID = oldValue.SonControlID; this.addMsg.SonControlID = oldValue.SonControlID;
console.log("this.addMsg.SonControlID ", this.addMsg.SonControlID);
this.priceObj = JSON.parse(JSON.stringify(oldValue)); this.priceObj = JSON.parse(JSON.stringify(oldValue));
if (this.pagesTitle == "当地游产品") { if (this.pagesTitle == "当地游产品") {
let str = ""; let str = "";
......
...@@ -115,7 +115,6 @@ ...@@ -115,7 +115,6 @@
remarksMsg: { remarksMsg: {
immediate: true, immediate: true,
handler(newVal) { handler(newVal) {
console.log("old", newVal);
this.postMsg.OrderId = this.remarksMsg.OrderId; this.postMsg.OrderId = this.remarksMsg.OrderId;
this.postMsg.OldRemarks = this.remarksMsg.OldRemarks; this.postMsg.OldRemarks = this.remarksMsg.OldRemarks;
this.postMsg.Remarks = this.remarksMsg.Remarks; this.postMsg.Remarks = this.remarksMsg.Remarks;
......
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