Commit 645ee428 by 刘泽奇

213

parent d3730fda
...@@ -1476,7 +1476,6 @@ ...@@ -1476,7 +1476,6 @@
}, },
closeConfrim(){ closeConfrim(){
this.agree = false;
this.showConfrim = false; this.showConfrim = false;
}, },
......
...@@ -1109,30 +1109,29 @@ ...@@ -1109,30 +1109,29 @@
this.nclOne = []; this.nclOne = [];
}, },
closeConfrim(){ closeConfrim(){
this.agree = false;
this.showConfrim = false; this.showConfrim = false;
}, },
submitForm(formName, agree) { submitForm(formName, agree) {
var that = this; var that = this;
if (agree) {
this.agree = agree; if (this.nclOne.length > 0) {
this.showConfrim = false; if (this.nclOne[0].nclThree.length < 10) {
if (!this.form.name || !this.form.colorizedPicUrl) { this.showConfrim = true;
this.$message("请完善信息"); this.nclSelected = this.nclOne[0].nclThree.length;
this.agree = false; if (agree) {
return; if (!this.form.name || !this.form.colorizedPicUrl) {
} this.$message.warning("请完善信息");
} console.log('ppppppppppppppppppppp');
console.log(formName, ";;;;;;;;;;;;;", this.agree); return;
if (this.agree == false) { }else{
if (this.nclOne.length > 0) { this.showConfrim = false;
if (this.nclOne[0].nclThree.length < 10) { }
this.nclSelected = this.nclOne[0].nclThree.length; } else {
this.showConfrim = true;
return; return;
} }
} }
}; }
if (!this.form.name || !this.form.colorizedPicUrl) { if (!this.form.name || !this.form.colorizedPicUrl) {
this.$message.warning("请完善信息"); this.$message.warning("请完善信息");
return false; return false;
...@@ -1140,11 +1139,13 @@ ...@@ -1140,11 +1139,13 @@
if (formName == "form" || formName == "apply") { if (formName == "form" || formName == "apply") {
if (formName == "apply") { if (formName == "apply") {
console.log(this.apply); console.log(this.apply);
/*
if (this.apply.customerType != 'person' && this.apply.sealAuthorizeStuff == '' || this.apply.businessLicensePic == '') { if (this.apply.customerType != 'person' && this.apply.sealAuthorizeStuff == '' || this.apply.businessLicensePic == '') {
return that.$message.warning(`请按要求上传资料`); return that.$message.warning(`请按要求上传资料`);
} else if (this.apply.customerType == 'person' && this.apply.identityCardPic == '' || this.apply.sealAuthorizeStuff == '' || this.apply.businessLicensePic == '') { } else if (this.apply.customerType == 'person' && this.apply.identityCardPic == '' || this.apply.sealAuthorizeStuff == '' || this.apply.businessLicensePic == '') {
return that.$message.warning(`请按要求上传资料`); return that.$message.warning(`请按要求上传资料`);
} }
*/
}; };
this.$refs[formName].validate((valid) => { this.$refs[formName].validate((valid) => {
console.log(valid); console.log(valid);
...@@ -1215,13 +1216,13 @@ ...@@ -1215,13 +1216,13 @@
this.$router.push({ this.$router.push({
path: "/1688/jdindentdetail", path: "/1688/jdindentdetail",
query: { query: {
deliveryOrderNo: row.deliveryOrderNo, deliveryOrderNo: row.deliveryOrderNo,
channelUserId: this.$root.channelUserId, channelUserId: this.$root.channelUserId,
itemName: this.currentOrderType, itemName: this.currentOrderType,
deliveryStatus: this.deliveryStatus, deliveryStatus: this.deliveryStatus,
totalSum: row.totalSum, totalSum: row.totalSum,
} }
}); });
/* /*
that.$root.pushx({ that.$root.pushx({
title: "订单支付", title: "订单支付",
......
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