Commit 45b6172b authored by daniel's avatar daniel

fix(outter-link+service): 推文文本改为推文内容bug修复

parent b3cc725c
......@@ -370,7 +370,7 @@
<td style="text-align: left;">
<div class="flex flex-col">
<span class="lh-1.2">
发票抬头:{{item.invoiceTitle}}
发票抬头:{{item.header}}
</span>
<span class="lh-1.2">
纳税人识别号:{{item.taxPayerId}}
......@@ -386,7 +386,7 @@
<td class="name" style="text-align: left;">
<div class="flex flex-col">
<span class="lh-1.2">
物流单号 {{item.shippingNo}}
{{item.shippingNo??'--'}}
</span>
</div>
</td>
......@@ -897,7 +897,7 @@
this.invoice.status = 3;
this.$forceUpdate();
} else {
layer.msg(res.msg, {icon: 2});
layer.msg(res.msg, { icon: 2 });
}
},
beforeSend: () => {
......
......@@ -463,7 +463,7 @@
},
typeOptions: [
{
name: '推文文本',
name: '推文内容',
value: 8
},
{
......@@ -581,7 +581,7 @@
layer.msg("AppId不能为空!", { icon: 5, duration: 1500 });
return;
}
if (this.letter.openType == 0) {
if ([0, 8].includes(this.letter.openType)) {
this.letter.content = this.editor.getContent();
}
if (this.letter.needTime == 1 && !this.letter.startTime) {
......
const uploadUrl = '/api-common/v1/upload?folder=' + 'gk/news' + '&cmptId=' + getCId()
// 定义 typeDesc 映射
const typeDesc = {
8: {
label: '推文内容',
placeholder: '请输入复制推文内容',
},
0: {
label: '文本',
placeholder: '请输入文本内容',
......@@ -239,7 +243,7 @@ function uploadFile(obj) {
$('.cover').css('background-image', 'url(' + res.content + ')')
$('.icon-cover').remove();
} else {
layer.msg(res.msg, {icon: 2});
layer.msg(res.msg, { icon: 2 });
}
},
beforeSend: () => {
......@@ -290,7 +294,7 @@ function uploadImageOrDocFile(obj) {
$('.file-icon-cover').remove();
}
} else {
layer.msg(res.msg, {icon: 2});
layer.msg(res.msg, { icon: 2 });
}
},
beforeSend: () => {
......
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