月结客户导入企业税号
This commit is contained in:
parent
9c366d95f8
commit
0dc3f18bf7
Binary file not shown.
BIN
public/static/tpl/imp_month_user_enterpriseTaxId.xlsx
Normal file
BIN
public/static/tpl/imp_month_user_enterpriseTaxId.xlsx
Normal file
Binary file not shown.
@ -182,7 +182,7 @@
|
||||
:show-file-list="false"
|
||||
v-hasPermi="['emis:emisCustomerUser:add']"
|
||||
:before-upload="beforeAvatarUpload">
|
||||
<el-button slot="trigger" plain class="filter-item" size="mini" type="primary" >导入</el-button>
|
||||
<el-button slot="trigger" plain class="filter-item" size="mini" type="primary" @click="blImport=1" >导入</el-button>
|
||||
<el-link type="primary" style="line-height: 28px;font-size:13px" href="/static/tpl/imp_month_user.xlsx">下载导入模版</el-link>
|
||||
</el-upload>
|
||||
</el-col>
|
||||
@ -200,6 +200,19 @@
|
||||
月结网点维护
|
||||
</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-upload
|
||||
action=""
|
||||
name="file"
|
||||
accept="application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
||||
:show-file-list="false"
|
||||
v-hasPermi="['emis:emisCustomerUser:edit']"
|
||||
:before-upload="beforeAvatarUpload">
|
||||
<el-button slot="trigger" plain class="filter-item" size="mini" type="primary" @click="blImport=2">导入企业税号</el-button>
|
||||
|
||||
<el-link type="primary" style="line-height: 28px;font-size:13px" href="/static/tpl/imp_month_user_enterpriseTaxId.xlsx">下载导入模版</el-link>
|
||||
</el-upload>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
|
||||
@ -420,6 +433,7 @@ export default {
|
||||
// 修改站点代码时间范围
|
||||
daterangeUpdateTime: [],
|
||||
selectionList:[],
|
||||
blImport:1,
|
||||
// 查询参数
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
@ -594,8 +608,9 @@ export default {
|
||||
for (let index = 0; index < results.length; index++) {
|
||||
const element = results[index]
|
||||
// 客户名称 英文简称 月结编号 联系人 手机号码 主归属网点 回款联系人 销售联系人 销售主管 销售支持 结算类型 国家 省份 城市 区县 联系地址 E-Mail 是否启用 是否开启OMS账号 首次签约时间 备注
|
||||
|
||||
const postData= {
|
||||
let postData={}
|
||||
if(this.blImport==1){
|
||||
postData= {
|
||||
customerName: element['客户名称'],
|
||||
customerNameEn: element['客户英文简称'],
|
||||
contact: element['联系人'],
|
||||
@ -610,6 +625,8 @@ export default {
|
||||
city:element['城市'],
|
||||
county: element['区县'],
|
||||
address: element['联系地址'],
|
||||
enterpriseName: element['企业名称'],
|
||||
enterpriseTaxId: element['企业税号'],
|
||||
creditPeriod: element['账期(天)'],
|
||||
settleDay: element['账单日'],
|
||||
email: element['E-Mail'],
|
||||
@ -624,8 +641,17 @@ export default {
|
||||
blOpenOms: element['是否开启OMS账号'],
|
||||
blSms: element['是否短信'],
|
||||
remark: element['备注'],
|
||||
blImport: 1,
|
||||
blImport: this.blImport,
|
||||
};
|
||||
}else {
|
||||
postData= {
|
||||
customerName: element['客户名称'],
|
||||
monthlyPayCode: element['月结编号'],
|
||||
enterpriseName: element['企业名称'],
|
||||
enterpriseTaxId: element['企业税号'],
|
||||
blImport: this.blImport,
|
||||
}
|
||||
}
|
||||
// postData.cosignee= element['']
|
||||
// postData.cosigneeAddress= element['收件地址']
|
||||
// postData.cosigneeTelephone= element['收件电话']
|
||||
|
||||
Loading…
Reference in New Issue
Block a user