Commit a233e365 by 刘泽奇

123

parent 6ac55c90
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -79,6 +79,7 @@ ...@@ -79,6 +79,7 @@
height: 32px; height: 32px;
width: 100%; width: 100%;
padding-left: 12px; padding-left: 12px;
padding-right: 12px;
box-sizing: border-box; box-sizing: border-box;
line-height: 32px; line-height: 32px;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
......
...@@ -103,8 +103,8 @@ ...@@ -103,8 +103,8 @@
<div class="license-uploader"> <div class="license-uploader">
<img v-if="imageUrl" :src="imageUrl" class="license"> <img v-if="imageUrl" :src="imageUrl" class="license">
<div class="license-uploader-icon" v-else> <div class="license-uploader-icon" v-else>
<img :src="applyInfo.businessLicensePic ? applyInfo.businessLicensePic : \'/imgs/indent/pdf.png\'" <img :src="applyInfo.businessLicensePic ? applyInfo.businessLicensePic : \'/imgs/indent/materialNull.png\'"
alt="" @click="window.open(applyInfo.businessLicensePdf)"> alt="" @click="openPdf(applyInfo.businessLicensePdf)">
</div> </div>
</div> </div>
<p>营业执照</p> <p>营业执照</p>
...@@ -113,8 +113,8 @@ ...@@ -113,8 +113,8 @@
<div class="license-uploader"> <div class="license-uploader">
<img v-if="imageUrl" :src="imageUrl" class="license"> <img v-if="imageUrl" :src="imageUrl" class="license">
<div class="license-uploader-icon" v-else> <div class="license-uploader-icon" v-else>
<img :src="deliveryInfo.gzwtsUrl?deliveryInfo.gzwtsUrl:\'/imgs/indent/jpg.png\'" alt="" <img :src="deliveryInfo.gzwtsUrl?deliveryInfo.gzwtsUrl:\'/imgs/indent/materialNull.png\'" alt=""
@click="window.open(deliveryInfo.gzwtsUrl)"> @click="openPdf(deliveryInfo.gzwtsUrl)">
</div> </div>
</div> </div>
<p>委托书</p> <p>委托书</p>
...@@ -124,8 +124,8 @@ ...@@ -124,8 +124,8 @@
<div class="license-uploader"> <div class="license-uploader">
<img v-if="imageUrl" :src="imageUrl" class="license"> <img v-if="imageUrl" :src="imageUrl" class="license">
<div class="license-uploader-icon" v-else> <div class="license-uploader-icon" v-else>
<img :src="deliveryInfo.smwjUrl?deliveryInfo.smwjUrl:\'/imgs/indent/jpg.png\'" alt="" <img :src="deliveryInfo.smwjUrl?deliveryInfo.smwjUrl:\'/imgs/indent/materialNull.png\'" alt=""
@click="window.open(deliveryInfo.smwjUrl)> @click="openPdf(deliveryInfo.smwjUrl)">
</div> </div>
</div> </div>
<p>优先权证明</p> <p>优先权证明</p>
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
<div class="license-uploader"> <div class="license-uploader">
<img v-if="imageUrl" :src="imageUrl" class="license"> <img v-if="imageUrl" :src="imageUrl" class="license">
<div class="license-uploader-icon" v-else> <div class="license-uploader-icon" v-else>
<img :src="applyInfo.identityCardPic?applyInfo.identityCardPic:\'/imgs/indent/jpg.png\'" <img :src="applyInfo.identityCardPic?applyInfo.identityCardPic:\'/imgs/indent/materialNull.png\'"
alt=""> alt="">
</div> </div>
</div> </div>
......
...@@ -306,7 +306,6 @@ ...@@ -306,7 +306,6 @@
channelUserId: "", channelUserId: "",
itemName: '', itemName: '',
deliveryStatus: "", deliveryStatus: "",
totalSum: "",
/*大类下标 */ /*大类下标 */
nclIndex: "", nclIndex: "",
editNcl: {}, editNcl: {},
...@@ -329,7 +328,7 @@ ...@@ -329,7 +328,7 @@
/*修改验证 对应表单的值 */ /*修改验证 对应表单的值 */
popupValue: "", popupValue: "",
/**订单付款信息 */ /**订单付款信息 */
receiptVoucher: "", receiptVoucher: {},
} }
}, },
mounted: function() { mounted: function() {
...@@ -444,7 +443,9 @@ ...@@ -444,7 +443,9 @@
this.form = JSON.parse(JSON.stringify(this.deliveryInfo)); this.form = JSON.parse(JSON.stringify(this.deliveryInfo));
this.editDeliveryInfo = JSON.parse(JSON.stringify(this.deliveryInfo)); this.editDeliveryInfo = JSON.parse(JSON.stringify(this.deliveryInfo));
this.form.tmFormType = Number(this.form.tmFormType); this.form.tmFormType = Number(this.form.tmFormType);
if(d.data.receiptVoucher.length>0){
this.receiptVoucher = d.data.receiptVoucher[0]; this.receiptVoucher = d.data.receiptVoucher[0];
}
switch (this.form.tmFormType) { switch (this.form.tmFormType) {
case 3: case 3:
this.brandType = "文字"; this.brandType = "文字";
...@@ -518,6 +519,7 @@ ...@@ -518,6 +519,7 @@
break; break;
case 2: case 2:
this.headerInfo = "商标类别"; this.headerInfo = "商标类别";
this.popupValue = "form";
break; break;
case 3: case 3:
this.headerInfo = "交官文件"; this.headerInfo = "交官文件";
...@@ -1365,15 +1367,22 @@ ...@@ -1365,15 +1367,22 @@
this.checkedNcl = []; this.checkedNcl = [];
this.nclSearch(); this.nclSearch();
}, },
openPdf(v){
if(v){
window.open(v);
}else{
this.$message.warning("您还没有上传相关材料");
}
},
submitEdit(v, agree){ submitEdit(v, agree){
console.log(v); console.log(v);
this.$nextTick(() => { this.$nextTick(() => {
if(this.$refs[this.popupValue].validate){
this.$refs[this.popupValue].validate(valid => { this.$refs[this.popupValue].validate(valid => {
if (valid) { if (valid) {
console.log(valid); console.log(valid);
switch (v) { switch (v) {
case '商标信息': case '商标信息':
/* /*
this.form.channelUserId = this.channelUserId; this.form.channelUserId = this.channelUserId;
...@@ -1514,6 +1523,10 @@ ...@@ -1514,6 +1523,10 @@
return false; return false;
} }
}); });
}else{
}
}); });
}, },
......
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