fix:定制化迁移

dev
zhaoxingchang.sd 11 months ago
parent 9ea09099ff
commit 264ecb8f00
  1. 13
      src/App.vue
  2. 7
      src/common/http/baseServiceUrl.js
  3. 37
      src/common/http/orderApiUrl.js
  4. 1
      src/common/utils/common.js
  5. 13
      src/common/utils/fpdmListEnum.js
  6. 9
      src/router/order/index.js
  7. 675
      src/views/order/orderReading.vue
  8. 116
      src/views/statistics/invoiceList.vue
  9. 13
      vue.config.js

@ -303,6 +303,19 @@ export default {
systemSign: "XXGL",
children: [],
},
{
id: 5047,
parentId: 145,
parentName: null,
name: "订单读入",
url: "/order/orderReading",
perms: "/order/orderReading",
type: 2,
icon: null,
orderNum: 4,
systemSign: "XXGL",
children: [],
},
],
},
{

@ -451,10 +451,15 @@ export const updateTaxClassCodeHttp = (data) => request({
data
});
//车辆识别代号/车架号查询
export const queryVehiclesVinHttp = (data) => request({
method: 'post',
url: '/sims-api/vehiclesVin/queryVehiclesVin',
data
});
export const emailSendPushApi = (data) => request({
method: 'post',
url: '/sims-api/bespoke/order/emailSend',
data
});

@ -872,15 +872,50 @@ export const queryQdZzfppzHttp = (data) => request({
data
});
// 乐企模式
// 乐企模式
export const queryLqModelHttp = (data) => request({
method: 'post',
url: '/sims-api/order/queryLqModel',
data
});
// 订单读入
// 订单读入列表查询
export const sapOrderList = (data) => request({
method: 'post',
url: '/sims-api/bespoke/order/queryList',
data
});
// SAP读入
export const readIn = (data) => request({
method: 'post',
url: '/sims-api/bespoke/order/orderRead',
data
});
// SAP发票详情
export const sapOrderItemListApi = (data) => request({
method: 'post',
url: '/sims-api/bespoke/order/queryDetail',
data
});
export const orderExtractApi = (data) => request({
method: 'post',
url: '/sims-api/bespoke/order/orderExtract',
data
});
//读入数据删除
export const deleteByIdsApi = (data) => request({
method: 'post',
url: '/sims-api/bespoke/order/delOrder',
data
});
export const createOrderByCopyInvoiceApi = (data) => request({
method: 'post',
url: '/sims-api/bespoke/order/createOrderByCopyInvoice',
data
});

@ -377,7 +377,6 @@ const formatDate = function formatDate() {
var timeArr = []
timeArr.push(year + '-' + month + '-01')
timeArr.push(year + '-' + month + '-' + date);
timeArr.push(year + '-' + month1 )
return timeArr
}
//初始化日期,默认为当年

@ -0,0 +1,13 @@
const fpdmEnum = new Map([
["001", "数电专用发票"],
["002", "数电普通发票"],
["085", "数电纸票专用发票"],
["086", "数电纸票普通发票"],
["004", "增值税专用发票"],
["005", "机动车销售统一发票"],
["006", "二手车销售统一发票"],
["007", "增值税普通发票"],
["026", "增值税电子普通发票"],
["028", "增值税电子专用发票"],
]);
export default fpdmEnum;

@ -126,6 +126,13 @@ export default [
keepAlive: false
}
},
{
path: '/order/orderReading',
name: "orderReading",
component: () => import(/* webpackChunkName: "orderReading" */ '@views/order/orderReading'),
meta: {
keepAlive: false
}
},
]

@ -0,0 +1,675 @@
<template>
<div class="box-padding">
<pi-search :formConfig="formConfig" v-model="formInline" @piSearchEvent="orderSearch" @piResetEvent="orderSearch" @toggle="toggle"></pi-search>
<el-row>
<el-button plain size="small" type="primary" @click="delBtn()" class="btnleft">删除</el-button>
<el-button plain size="small" type="primary" @click="saveInvoiceBtn()" class="btnleft">保存</el-button>
<el-button plain size="small" type="primary" @click="SAPReadingBeforeFn" class="btnleft">订单读入</el-button>
</el-row>
<custom-table :columns="tableColumn" :data="tableList" :default-sort="{prop: 'ddcjsj', order: 'descending'}" @selection-change="handleSelectChange" ref='CustomTable' :height='tableHeight'></custom-table>
<Pagination :total="page.totalCount" :page="page.page" :limit="page.limit" @pagination="pageChange"></Pagination>
<el-dialog title="订单读入" :visible.sync="SAPReadingShow" class="SAPdialog" center width="750px">
<el-form ref='SAPReadingFormData' :model="ReadingData" label-width="110px" label-position="right">
<el-row :gutter="12">
<el-col :span="12">
<el-form-item label='凭证号:'>
<el-input v-model="ReadingData.pzh" placeholder="请输入凭证号" clearable />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label='发货单号:'>
<el-input v-model="ReadingData.ddh" placeholder="请输入发货单号" clearable />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label='订单时间:'>
<el-date-picker v-model="ReadingData.date" :clearable="false" format="yyyy-MM-dd" value-format="yyyy-MM-dd" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button plain size="small" type="primary" @click="ReadingSubmitFn">读入</el-button>
<el-button plain size="small" @click="SAPReadingShow=false">取消</el-button>
</span>
</el-dialog>
<deleteModel v-if="modelFrom.Show" :deleteVisible="modelFrom.Show" :tip="modelFrom.Tip" @click-cancel="deleteBtncancel" @click-sure="deleteBtn" />
<el-dialog title="提示" :visible.sync="savaShow" center width="650px">
<div class="savaShowCss">
<div class="dev" v-for="(item,index) in savaData" :key="index">{{index + 1 + ''+ item }}</div>
</div>
<span slot="footer" class="dialog-footer">
<el-button plain size="small" type="primary" @click="savaShow=false">确认</el-button>
</span>
</el-dialog>
</div>
</template>
<script>
import common from "@common/utils/common";
import { showLoading, hideLoading } from "@common/utils/loading";
import setting from "@common/mixins/setting";
import { convertInvoiceTypeApi, sapOrderList, readIn, orderExtractApi, deleteByIdsApi } from "@common/http/orderApiUrl";
import fpdmListEnum from '@/common/utils/fpdmListEnum'
export default {
mixins: [setting],
data () {
return {
searchIsShow: false,
SAPReadingShow: false,
ReadingData: {
date: [],
ddh:'',
pzh:''
},
savaShow: false,
savaData: [],
//
modelFrom: {
Show: false,
Tip: ''
},
spaPickerOptions: {
disabledDate: (time) => {
return time > Date.now() || time.getTime() < new Date(JSON.stringify(new Date().getFullYear() - 3))
}
},
changeTypeShow: false,
changeTypeData: {
tdysbs: '',
fplxbs: ''
},
fpdmList: Object.freeze(
[
{
label: '数电专用发票',
value: '001'
}, {
label: '数电普通发票',
value: '002'
}, {
label: '数电纸票专用发票',
value: '085'
}, {
label: '数电纸票普通发票',
value: '086'
}, {
label: '增值税专用发票',
value: '004'
}, {
label: '机动车销售统一发票',
value: '005'
}, {
label: '二手车销售统一发票',
value: '006'
}, {
label: '增值税普通发票',
value: '007'
}, {
label: '增值税电子普通发票',
value: '026'
}, {
label: '增值税电子专用发票',
value: '028'
}]
),
formConfig: [
{
label: "订单号",
type: "input",
key: "ddh",
placeholder: "请输入订单号",
},
{
label: "购方名称",
type: "input",
key: "gfmc",
placeholder: "请输入购方名称",
},
{
type: "select",
label: "发票类型",
key: "invoiceType",
placeholder: "全部",
showAll: true,
props: {
value: "value",
label: "label",
},
optionsKey: 'index',
options: [
{
label: '数电专票(电子)',
value: 'Z'
}, {
label: '数电普票(电子)',
value: 'P'
}]
},
{
label: "凭证号",
type: "input",
key: "pzh",
placeholder: "请输入凭证号",
},
{
label: "订单读入时间",
key: "time",
type: "date",
isHide: false,
subtype: "date",
value: "",
valueFormat: "yyyy-MM-dd",
placeholder: "开始时间",
editable: false,
clearable: false,
brothers: {
editable: false,
clearable: false,
valueFormat: "yyyy-MM-dd",
key: "time",
type: "date",
isHide: false,
subtype: "date",
placeholder: "结束时间"
},
},
{
label: "订单时间",
key: "time1",
type: "date",
isHide: false,
subtype: "date",
value: "",
valueFormat: "yyyy-MM-dd",
placeholder: "开始时间",
editable: false,
clearable: false,
brothers: {
editable: false,
clearable: false,
valueFormat: "yyyy-MM-dd",
key: "time1",
type: "date",
isHide: false,
subtype: "date",
placeholder: "结束时间"
},
},
],
formInline: {
time: [],
time1: [],
ddh: '',
gfmc: '',
invoiceType: '',
pzh:'',
enterpriseNumbers: "", // "",
nsrsbh: "", // "",
// "pageSize": "",
// "currPage": ""
},
tableList: [],
// orgSpaArrCode: [],
dplxList: [{
label: "数电普票(电子)",
code: "002",
}, {
label: "数电专票(电子)",
code: " 001",
}],
page: {
totalCount: null,
page: 1,
limit: 10,
},
tableColumn: [
{
type: "selection",
width: "40",
fixed: "left",
},
{ label: "序号", type: "index", width: "50", fixed: "left" },
{
prop: 'cpznum',
label: "凭证号",
width: "120"
},
{
prop: 'cdlcode',
label: "订单号",
width: "120"
},
{
prop: 'ccusname',
label: "购方名称",
width: "170"
},
{
prop: 'ccusregcode',
label: "购方税号",
width: "180"
},
{
prop: 'detailCount',
label: "行数",
width: "110"
},
{
label: "发票类型",
minWidth: "74",
prop: "cvouchtype",
render: ({ row }) => {
let p = (
<span>
数电普票(电子)
</span>
);
let z = (
<span>
数电专票(电子)
</span>
);
let str = ''
if (row.cvouchtype === "001") {
str = z
} else if (row.cvouchtype === "002") {
str = p
} else {
str = ''
}
return str;
},
},
{
label: "含税金额",
minWidth: "100",
prop: "hsje",
align: "right",
render: ({ row }) => <span>{common.decimalPrettyValue(row.hsje)}</span>,
},
{
label: "税额",
minWidth: "100",
prop: "se",
align: "right",
render: ({ row }) => <span>{common.decimalPrettyValue(row.se)}</span>,
},
{
prop: 'cdldate',
label: "订单日期",
width: "180"
},
{
prop: 'createTime',
label: "订单读入时间",
width: "180"
},
{
label: "操作",
width: "160",
fixed: "right",
render: ({ row }) => {
let save = (
<span
class="common_hover_color common_hover_color_margin"
onClick={() => this.save(row)}
>
保存
</span>
);
let del = (
<span
class="common_hover_color common_hover_color_margin"
onClick={() => this.del(row)}
>
删除
</span>
);
let showBtn = [];
this.buttonCode('common_hover_color') ? showBtn.push(save) : ''
this.buttonCode('common_hover_color') ? showBtn.push(del) : ''
return showBtn;
},
},
],
multipleSelection: [],
newDate: "",
chooseVal: [],
SyncDisabled: false,
};
},
computed: {
userInfo: function () {
return this.$store.state.system.userInfo
}
},
methods: {
pageChange (cur) {
this.page.page = cur.page;
this.page.limit = cur.limit;
this.orderList();
},
//
orderSearch () {
this.page.page = 1;
this.orderList();
},
//table
orderList () {
let invoiceData = {
ghfNsrsbh: "",
startTime: this.formInline.time[0] + ' ' + '00:00:00',
endTime: this.formInline.time[1] + ' ' + '23:59:59',
readTimeStart: this.formInline.time1[0] + ' ' + '00:00:00',
readTimeEnd: this.formInline.time1[1] + ' ' + '23:59:59',
ddh: this.formInline.ddh,
gfmc: this.formInline.gfmc,
pzh:this.formInline.pzh,
invoiceType: this.formInline.invoiceType,
loginAccount: this.$store.state.system.userInfo.phone,
orgId: this.$store.state.system.userInfo.dept.enterpriseNumbers,
entId: this.$store.state.system.userInfo.currentDeptId,
nsrsbh: this.$store.state.system.userInfo.dept.taxpayerCode, // "",
pageSize: this.page.limit, // "",
currPage: this.page.page, // ""
};
sapOrderList(invoiceData).then((response) => {
if (response.code == "0000") {
response.data.list.map((item) => {
item.fpdmDesc = fpdmListEnum.get(item.fplxdm)
})
this.tableList = response.data.list;
this.page.totalCount = response.data.total;
} else {
this.$message({
message: response.msg,
type: "error",
});
}
})
.catch((error) => {
this.$message({
message: error.msg,
type: "error",
});
}).finally(() => {
hideLoading();
})
},
//SPA
SAPReadingBeforeFn () {
for (let key in this.ReadingData) {
this.ReadingData[key] = ''
}
this.SAPReadingShow = true;
this.$nextTick(() => {
this.$refs.SAPReadingFormData.resetFields();
console.log(common.formatDate())
this.$set(this.ReadingData, 'date', common.formatDate());
})
},
ReadingSubmitFn () {
this.$refs.SAPReadingFormData.validate((valid) => {
if (valid) {
showLoading()
readIn({
readTimeStart: this.ReadingData.date[0] + ' ' + '00:00:00',
readTimeEnd: this.ReadingData.date[1] + ' ' + '23:59:59',
pzh: this.ReadingData.pzh,
ddh: this.ReadingData.ddh,
orgId: this.$store.state.system.userInfo.dept.enterpriseNumbers,
entId: this.$store.state.system.userInfo.currentDeptId,
nsrsbh: this.$store.state.system.userInfo.dept.taxpayerCode, // "",
}).then(res => {
this.message(res)
}).finally(() => {
hideLoading()
})
}
})
},
//
saveInvoiceBtn () {
if (this.chooseVal.length === 0) {
this.$message({
message: "请至少选择一条数据",
type: "error",
});
} else {
let params = {
entId: this.$store.state.system.userInfo.currentDeptId,
nsrsbh: this.$store.state.system.userInfo.dept.taxpayerCode, // "",
ids: [],
}
this.chooseVal.map((item) => {
params.ids.push(item.id)
})
showLoading()
orderExtractApi(params).then((res) => {
if (res.code === '0000') {
if (res.data) {
this.savaShow = true;
this.savaData = res.data
this.orderList()
} else {
this.$message({
message: res.msg,
type: "error",
});
}
} else {
this.$message.error(res.msg)
}
}).finally(() => {
hideLoading()
})
}
},
getDefaultDateRange() {
const endDate = new Date();
const startDate = new Date();
startDate.setDate(startDate.getDate() - 7); // 7
return [
this.formatDate(startDate),
this.formatDate(endDate)
];
},
formatDate(date) {
const year = date.getFullYear();
const month = (date.getMonth() + 1).toString().padStart(2, '0');
const day = date.getDate().toString().padStart(2, '0');
return `${year}-${month}-${day}`;
},
save (row) {
let params = {
entId: this.$store.state.system.userInfo.currentDeptId,
nsrsbh: this.$store.state.system.userInfo.dept.taxpayerCode, // "",
ids: [row.id],
}
showLoading()
orderExtractApi(params).then((res) => {
if (res?.code === '0000') {
if (res.data) {
this.savaShow = true;
this.savaData = res.data
this.orderList()
} else {
this.$message({
message: res.msg,
type: "error",
});
}
} else {
this.$message.error(res.msg)
}
}).finally(() => {
hideLoading()
})
},
//
delBtn () {
if (this.chooseVal.length === 0) {
this.$message({
message: "请至少选择一条数据",
type: "error",
});
} else {
this.modelFrom.Show = true;
this.modelFrom.Tip = '是否确认删除选中数据?'
}
},
deleteBtncancel () {
this.modelFrom.Show = false
},
deleteBtn () {
let params = {
ids: [],
entId: this.$store.state.system.userInfo.currentDeptId,
nsrsbh: this.$store.state.system.userInfo.dept.taxpayerCode, // "",
}
this.chooseVal.map((item) => {
params.ids.push(item.id)
})
showLoading()
deleteByIdsApi(params).then((res) => {
this.message(res)
}).finally(() => {
this.modelFrom.Show = false;
hideLoading()
})
},
del (row) {
let params = {
ids: [row.id],
entId: this.$store.state.system.userInfo.currentDeptId,
nsrsbh: this.$store.state.system.userInfo.dept.taxpayerCode, // "",
}
showLoading()
deleteByIdsApi(params).then((res) => {
if (res?.code === '0000') {
this.$message({
dangerouslyUseHTMLString: true,//HTML
message: res.msg?.replace(/\n/g, ' <br/> '),//msgJSON /n HTML <br/>
duration: 6000,//
showClose: true,//
type: "success",
});
this.orderList()
} else {
this.$message.error(res.msg)
}
}).finally(() => {
this.modelFrom.Show = false;
hideLoading()
})
},
//
message (res) {
if (res?.code === '0000') {
this.$message({
dangerouslyUseHTMLString: true,//HTML
message: res.msg?.replace(/\n/g, ' <br/> '),//msgJSON /n HTML <br/>
duration: 6000,//
showClose: true,//
type: "success",
});
this.orderList()
} else {
this.$message.error(res.msg)
}
},
getTime (val) {
return val.replace(/-/g, "");
},
//
handleSelectChange (val) {
this.chooseVal = val;
},
},
created () {
this.formInline.xhfmc = common.defaultXhfNsrsbhIndex.call(this, 'index');
this.formInline.time = common.formatDate();
this.formInline.time1 = common.formatDate();
// this.formInline.generateStatus = '0'
this.orderList();
},
mounted () {
// let orgArr = this.$store.state.system.userInfo.taxplayercodeDeptList;
// let list = []
// if (orgArr.length !== 0) {
// orgArr.map((item) => {
// if (item.enterpriseNumbers.indexOf("-") !== -1) {
// list.push(item.enterpriseNumbers.split("-")[0])
// }
//
// })
// }
// this.orgSpaArrCode = Array.from(new Set(list))
}
};
</script>
<style lang="less" scoped>
.common_mgs_t {
color: rgb(0, 168, 84);
}
.common_mgs_t:before {
content: "●";
color: rgb(0, 168, 84);
}
.common_mgs_f {
color: rgb(254, 91, 9);
}
.common_mgs_f:before {
content: "●";
color: rgb(254, 91, 9);
}
.common_mgs_d:before {
content: "●";
color: red;
}
//
/deep/.el-range-editor.el-input__inner {
width: 100% !important;
}
/deep/.el-date-editor .el-range-separator {
width: 10% !important;
}
.SAPdialog {
/deep/.el-date-editor .el-range-separator {
line-height: 18px !important;
}
/deep/.el-input--suffix .el-input__inner {
padding-right: 65px !important;
}
}
.changeTypeStyle {
/deep/.el-radio-group {
display: flex;
margin-top: 12px;
}
.colonesty {
margin-bottom: 10px;
}
.elradiosty {
padding-left: 42px;
}
}
.savaShowCss {
text-align: left;
}
</style>

@ -135,7 +135,7 @@
</el-button>
<!-- v-if="this.buttonCode('xx_fpgl_fplb_jdcgzssbb')" -->
<el-button
plain
size="small"
type="primary"
@ -144,6 +144,14 @@
@click="jdcExport"
>机动车购置税申报表
</el-button>
<el-button
plain
size="small"
type="primary"
class="btnleft"
@click="emilPushBtn"
>邮箱推送
</el-button>
</el-row>
<!--@sort-change="handleSort" -->
<custom-table
@ -310,6 +318,17 @@
<el-button plain size="small" type="primary" @click="qrcodeModel = false">关闭</el-button>
</div>
</el-dialog>
<!--确认开票模态框-->
<el-dialog title="确认提示" :visible.sync="sureOrderModel" center width="25%">
<div>
<el-radio v-model="fpzldmType" label="001">数电专票(电子)</el-radio>
<el-radio v-model="fpzldmType" label="002">数电普票(电子)</el-radio>
</div>
<span slot="footer" class="dialog-footer">
<el-button plain size="small" @click="sureOrderModel = false">取消</el-button>
<el-button plain size="small" type="primary" @click="sureCopyBtn">确定</el-button>
</span>
</el-dialog>
</div>
</template>
@ -320,15 +339,15 @@ import common from "@common/utils/common";
import {showLoading, hideLoading} from "@common/utils/loading";
import setting from "@common/mixins/setting";
import printJS from "print-js";
import {queryYwlxHttp} from "@common/http/baseServiceUrl";
import {emailSendPushApi, queryYwlxHttp} from "@common/http/baseServiceUrl";
import {
downInvoiceHttp,
downInvoiceHttp, createOrderByCopyInvoiceApi,
downRpaInvoiceHttp, excelExportHttp, exportExcelByInvoicingSoftwareFormatHttp, exportVehicleInvoiceHttp,
manualPushInvalidInvoiceHttp, manualPushInvoiceHttp,
previewInvoicePngMoreHttp, queryFpzlDmHttp,
queryInvoiceAccessPointListHttp,
queryInvoiceDetailsHttp, queryVehicleInvoiceListHttp,
downNuoHttp,getSdjfewmHttp,exportExcelJdcXmlHttp
downNuoHttp, getSdjfewmHttp, exportExcelJdcXmlHttp, readIn
} from "@common/http/orderApiUrl";
export default {
@ -344,6 +363,9 @@ export default {
mixins: [setting],
data() {
return {
fpzldmType:'',
sureOrderModel:false,
invoiceCopyRow:void 0,
qrcodeModel:false,
ewmSrc:'',
address:'',
@ -890,7 +912,7 @@ export default {
prop: "kplx",
render: ({row}) => <span>{this.kplxCode(row.kplx)}</span>,
},
{
label: "作废标志",
width: "",
@ -935,20 +957,20 @@ export default {
width: "250",
prop: "invoicePushSbyy",
},
{
label: "开票点",
width: "",
prop: "sldmc",
},
{
label: "业务类型",
width: "",
prop: "ywlx",
},
{
label: "销方名称",
width: "",
@ -973,7 +995,7 @@ export default {
},
{
label: "操作",
width: "170",
width: "200",
fixed: "right",
render: ({row}) => {
// return (
@ -1010,8 +1032,17 @@ export default {
交付二维码
</span>
);
let save = (
<span
class="common_hover_color"
onClick={() => this.saveBtn(row)}
>
复制
</span>
);
let showBtn = [];
this.buttonCode('xx_fpgl_fplb_xq') ? showBtn.push(detail) : '';
showBtn.push(save)
//2,rpa
row.fpzlDm == '01' || row.fpzlDm == '02' || row.fpzlDm == '03' || row.fpzlDm == '04' ? showBtn.push(down) : ''; // RPA
row.qdfwlx !='0' && (row.fpzlDm == '01' || row.fpzlDm == '02' || row.fpzlDm == '03' || row.fpzlDm == '04' ) ? showBtn.push(ewm):'';
@ -1157,7 +1188,7 @@ export default {
},
immediate: true
}
},
methods: {
// toggle() {
@ -1173,6 +1204,37 @@ export default {
this.queryYwlx();
this.queryInvoices();
},
saveBtn(){
this.sureOrderModel = true;
this.fpzldmType = void 0;
},
sureCopyBtn(row){
showLoading()
createOrderByCopyInvoiceApi({
fpzldm:JSON.stringify(this.fpzldmType),
entList:JSON.stringify([row.entId]),
fpqqlshList:JSON.stringify([row.fpqqlsh]),
xhfNsrsbh:JSON.stringify([row.xhfNsrsbh]),
}).then((response) => {
if (response.code == "0000") {
this.$message({
message:response.msg,
type: "success",
});
this.sureOrderModel = false;
this.queryInvoices();
} else {
this.$message({
message: response.msg,
type: "error",
});
}
}).finally(()=>{
hideLoading();
})
},
//
queryYwlx() {
queryYwlxHttp({
@ -1937,6 +1999,40 @@ export default {
this.form.endTime = common.formatDate()[1];
this.queryFpzlDm()
},
emilPushBtn(){
if (this.multipleSelection.length == "") {
this.$message({
message: "请至少选择一条数据",
type: "error",
});
}else {
showLoading()
let argument = {
entId: this.$store.state.system.userInfo.currentDeptId,
nsrsbh: this.$store.state.system.userInfo.dept.taxpayerCode, // "",
fpqqlshList: this.multipleSelection.map(item => {
return {
fpqqlsh
}
})
}
emailSendPushApi(argument).then(response => {
if (response.code == "0000") {
this.$message({
message:response.msg,
type: "success",
});
} else {
this.$message({
message: response.msg,
type: "error",
});
}
}).finally(() => {
hideLoading()
})
}
},
jdcExport(){
if (this.multipleSelection.length == "") {
this.$message({

@ -65,24 +65,23 @@ module.exports = {
},
devServer: {
port: '9000',
open: true, //项目启动时是否自动打开浏览器,我这里设置为false,不打开,true表示打开
open: false, //项目启动时是否自动打开浏览器,我这里设置为false,不打开,true表示打开
proxy: {
//订单服务
'/sims-api': {
// target: 'http://10.1.31.166:18107/sims-api', // 张双超
// target: 'http://10.1.30.104:18108/sims-api', // 姚旭光
target: 'http://10.1.3.230:10000/sims-api', // 测试环境
target: 'http://10.18.90.125:10000/sims-api', // 测试环境
changeOrigin: false,
// target: 'http://10.1.3.216:10000/sims-api', //乐企通
pathRewrite: {
'^/sims-api': '/'
}
},
},
'/management': {
target: 'http://10.1.3.230:10000/management', // 新测试环境
target: 'http://10.18.90.125:10000/management', // 新测试环境
// target: 'http://10.1.3.216:10000/management', //乐企通
changeOrigin: false,
pathRewrite: {
'^/management': '/',
}

Loading…
Cancel
Save