张同海 2 years ago
commit 9f77a56008

@ -285,7 +285,7 @@ export default {
}, },
beforeRouteUpdate(to, from, next) { beforeRouteUpdate(to, from, next) {
// console.log('fromId', from.query.id, '| toId', to.query.id) // console.log('fromId', from.query.id, '| toId', to.query.id)
console.log('Router 2.2 === beforeRouteUpdate ===', this.$route.query.id, this.isCopy) // console.log('Router 2.2 === beforeRouteUpdate ===', this.$route.query.id, this.isCopy)
// if (!Object.keys(this.historyData).includes(this.$route.query.id)) { // if (!Object.keys(this.historyData).includes(this.$route.query.id)) {
// const hisData = { // const hisData = {
// bookingDetails: this.bookingDetails, // bookingDetails: this.bookingDetails,
@ -330,7 +330,7 @@ export default {
this.getRouterHis() this.getRouterHis()
}, },
beforeRouteLeave(to, from, next) { beforeRouteLeave(to, from, next) {
console.log('Router 2.1 === beforeRouteLeave ===', this.id, this.isCopy) // console.log('Router 2.1 === beforeRouteLeave ===', this.id, this.isCopy)
// if (!Object.keys(this.historyData).includes(this.id)) { // if (!Object.keys(this.historyData).includes(this.id)) {
// const hisData = { // const hisData = {
// bookingDetails: this.bookingDetails, // bookingDetails: this.bookingDetails,
@ -383,11 +383,11 @@ export default {
methods: { methods: {
...mapActions(['setNeedSavePages']), ...mapActions(['setNeedSavePages']),
getRouterHis() { getRouterHis() {
console.log( // console.log(
'Router 2.3 === beforeRouteEnter - getRouterHis ===', // 'Router 2.3 === beforeRouteEnter - getRouterHis ===',
Object.keys(this.historyData), // Object.keys(this.historyData),
this.$route.query.id // this.$route.query.id
) // )
this.inChildLoading = true this.inChildLoading = true
const newId = this.$route.query.id const newId = this.$route.query.id
if (Object.keys(this.historyData).includes(`copy-${newId}`) && this.$route.query.isCopy === 'true') { if (Object.keys(this.historyData).includes(`copy-${newId}`) && this.$route.query.isCopy === 'true') {

@ -530,7 +530,7 @@ export default {
editOption: { editOption: {
// cell value change // cell value change
cellValueChange: ({ row, column }) => { cellValueChange: ({ row, column }) => {
console.log('编辑', row, column) // console.log('', row, column)
} }
}, },
checkboxOption: { checkboxOption: {
@ -615,7 +615,6 @@ export default {
style="width: 240px" style="width: 240px"
placeholder="请选择角色" placeholder="请选择角色"
on-change={val => { on-change={val => {
console.log(val, row['roleCode'])
row['roleCode'] = val row['roleCode'] = val
}} }}
> >
@ -903,20 +902,20 @@ export default {
this.etdWeek = this.getWeek(this.details.etd) this.etdWeek = this.getWeek(this.details.etd)
} }
this.ContactType = this.$options.filters['dictData']('booking_contact_type') this.ContactType = this.$options.filters['dictData']('booking_contact_type')
console.log(this.ContactType, 'this.ContactType')
}, },
// - start // - start
getDjyCustomerpage(name = '', type, key) { getDjyCustomerpage(name = '', type, key) {
const _type = type === 'customer' ? 'consignor' : 'booking_agent'
DjyCustomerSuggest({ DjyCustomerSuggest({
// SearchValue: name, // SearchValue: name,
// PropString: key, // PropString: key,
keyword: name keyword: name,
type: _type
}) })
.then(res => { .then(res => {
if (res.code === 200) { if (res.code === 200) {
// this.customerData = res.data.rows // this.customerData = res.data.rows
this[`${type}Data`] = res.data.rows this[`${type}Data`] = res.data.rows
console.log(this[`${type}DataArr`])
this.$forceUpdate() this.$forceUpdate()
} }
}) })
@ -931,6 +930,9 @@ export default {
}, },
customerChange(value) { customerChange(value) {
// this.getCustomer(value) // this.getCustomer(value)
if (!value) {
this.details.customername = ''
}
this.getDjyCustomerpage(value, 'customer', 'consignor') this.getDjyCustomerpage(value, 'customer', 'consignor')
}, },
// - end // - end
@ -940,6 +942,10 @@ export default {
this.details.forwarder = value this.details.forwarder = value
}, },
forwarderChange(value) { forwarderChange(value) {
console.log('订舱代理发生变化', value)
if (!value) {
this.details.forwarder = ''
}
this.getDjyCustomerpage(value, 'forwarder', 'booking_agent') this.getDjyCustomerpage(value, 'forwarder', 'booking_agent')
}, },
// - end // - end
@ -1009,6 +1015,9 @@ export default {
this.details.shipagency = value this.details.shipagency = value
}, },
shipagencyChange(value) { shipagencyChange(value) {
if (!value) {
this.details.shipagency = ''
}
this.getForwarderlist(value) this.getForwarderlist(value)
}, },
// - end // - end
@ -1034,6 +1043,9 @@ export default {
this.details.vesselid = this.vesselData[index].code this.details.vesselid = this.vesselData[index].code
}, },
vesselChange(value) { vesselChange(value) {
if (!value) {
this.details.vessel = ''
}
this.getVessel(value) this.getVessel(value)
}, },
// - end // - end
@ -1046,6 +1058,9 @@ export default {
this.details.voynoinner = value this.details.voynoinner = value
}, },
voynoinnerChange(value) { voynoinnerChange(value) {
if (!value) {
this.details.voynoinner = ''
}
this.getVoynoinner(value) this.getVoynoinner(value)
}, },
@ -1061,6 +1076,9 @@ export default {
this.details.lanecode = this.lanenameData[index].code this.details.lanecode = this.lanenameData[index].code
}, },
lanenameChange(value) { lanenameChange(value) {
if (!value) {
this.details.lanename = ''
}
this.getLanename(value) this.getLanename(value)
}, },
@ -1096,6 +1114,9 @@ export default {
this.details.saleid = this.saleUserList[index].id this.details.saleid = this.saleUserList[index].id
}, },
saleChange(value) { saleChange(value) {
if (!value) {
this.details.sale = ''
}
this.getUserList(value, 'sale') this.getUserList(value, 'sale')
}, },
@ -1106,6 +1127,9 @@ export default {
this.details.opid = this.opUserList[index].id this.details.opid = this.opUserList[index].id
}, },
opChange(value) { opChange(value) {
if (!value) {
this.details.op = ''
}
this.getUserList(value, 'op') this.getUserList(value, 'op')
}, },
@ -1116,6 +1140,9 @@ export default {
this.details.docid = this.docUserList[index].id this.details.docid = this.docUserList[index].id
}, },
docChange(value) { docChange(value) {
if (!value) {
this.details.doc = ''
}
this.getUserList(value, 'doc') this.getUserList(value, 'doc')
}, },
@ -1126,6 +1153,9 @@ export default {
this.details.custserviceid = this.custserviceUserList[index].id this.details.custserviceid = this.custserviceUserList[index].id
}, },
custserviceChange(value) { custserviceChange(value) {
if (!value) {
this.details.custservice = ''
}
this.getUserList(value, 'custservice') this.getUserList(value, 'custservice')
}, },
@ -1141,7 +1171,6 @@ export default {
this.customerType = type this.customerType = type
this.customerVisible = true this.customerVisible = true
DjyCustomerdetail({ id: this.details.customerid }).then(res => { DjyCustomerdetail({ id: this.details.customerid }).then(res => {
console.log(res.data.contacts)
this.customerContactsData = res.data.contacts this.customerContactsData = res.data.contacts
}) })
BookingOrderContactPage({ id: this.details.customerid, BookingId: this.$route.query.id, pageSize: 999 }).then(res => { BookingOrderContactPage({ id: this.details.customerid, BookingId: this.$route.query.id, pageSize: 999 }).then(res => {
@ -1302,7 +1331,7 @@ export default {
text-align: center; text-align: center;
} }
/deep/ .date-box{ /deep/ .date-box{
padding-top: 7px; padding-top: 7px !important;
} }
// .ant-calendar-picker-input{ // .ant-calendar-picker-input{

@ -553,6 +553,9 @@ export default {
this.details.issueplaceid = this.issueplaceData[index].ediCode this.details.issueplaceid = this.issueplaceData[index].ediCode
}, },
issueplaceChange(value) { issueplaceChange(value) {
if (!value) {
this.details.issueplace = ''
}
this.getPortloadlist(value, 'issueplace') this.getPortloadlist(value, 'issueplace')
}, },
// - end // - end
@ -564,6 +567,9 @@ export default {
this.details.prepardatid = this.prepardatData[index].ediCode this.details.prepardatid = this.prepardatData[index].ediCode
}, },
prepardatChange(value) { prepardatChange(value) {
if (!value) {
this.details.prepardat = ''
}
this.getPortloadlist(value, 'prepardat') this.getPortloadlist(value, 'prepardat')
}, },
// - end // - end
@ -589,6 +595,9 @@ export default {
this.details.payableatid = this.payableatData[index].ediCode this.details.payableatid = this.payableatData[index].ediCode
}, },
payableatChange(value) { payableatChange(value) {
if (!value) {
this.details.payableat = ''
}
this.getPortlist(value, 'payableat') this.getPortlist(value, 'payableat')
}, },
// - end // - end
@ -612,6 +621,9 @@ export default {
this.details.blfrt = value this.details.blfrt = value
}, },
blfrtChange(value) { blfrtChange(value) {
if (!value) {
this.details.blfrt = ''
}
this.getFrt(value) this.getFrt(value)
}, },
// - end // - end
@ -635,6 +647,9 @@ export default {
this.details.service = value this.details.service = value
}, },
serviceChange(value) { serviceChange(value) {
if (!value) {
this.details.service = ''
}
this.getService(value) this.getService(value)
}, },
// - end // - end

@ -447,7 +447,6 @@ export default {
changeValue = changeValue + '' changeValue = changeValue + ''
const valIndex = changeValue.indexOf('.') + 1 const valIndex = changeValue.indexOf('.') + 1
const valCount = changeValue.length - valIndex const valCount = changeValue.length - valIndex
console.log(valCount)
// 4 // 4
if (valCount > 4) { if (valCount > 4) {
const height = document.body.clientHeight - 100 const height = document.body.clientHeight - 100
@ -508,7 +507,6 @@ export default {
} }
}, },
cellValueChange: ({ row, column }) => { cellValueChange: ({ row, column }) => {
console.log('编辑', row, column)
} }
}, },
editChildOption: { editChildOption: {
@ -550,7 +548,6 @@ export default {
this.$forceUpdate() this.$forceUpdate()
}, },
cellValueChange: ({ row, column }) => { cellValueChange: ({ row, column }) => {
console.log('编辑', row, column)
} }
}, },
// //
@ -818,7 +815,6 @@ export default {
rowKey: this.tableData.length > 0 ? Number(this.tableData[this.tableData.length - 1].rowKey) + 1 : 0 rowKey: this.tableData.length > 0 ? Number(this.tableData[this.tableData.length - 1].rowKey) + 1 : 0
} }
this.tableData.push(data) this.tableData.push(data)
console.log('== 新增 ==', this.tableData)
}, },
removeLine() { removeLine() {
this.selectArr.map((item, index) => { this.selectArr.map((item, index) => {
@ -1039,9 +1035,9 @@ export default {
}) })
}, },
log({ data, selectionRangeIndexes, selectionRangeKeys }) { log({ data, selectionRangeIndexes, selectionRangeKeys }) {
console.log('data::', data) // console.log('data::', data)
console.log('selectionRangeIndexes::', selectionRangeIndexes) // console.log('selectionRangeIndexes::', selectionRangeIndexes)
console.log('selectionRangeKeys::', selectionRangeKeys) // console.log('selectionRangeKeys::', selectionRangeKeys)
}, },
calc(num1, num2, calcStr) { calc(num1, num2, calcStr) {
var str1; // var str1; //
@ -1139,10 +1135,8 @@ export default {
} }
val.split('').map((item, index) => { val.split('').map((item, index) => {
if (index < 3 && !new RegExp(/^[a-zA-Z]+$/).test(item)) { if (index < 3 && !new RegExp(/^[a-zA-Z]+$/).test(item)) {
console.log('箱号前3位为字母')
str = '输入的箱号不符合规则' str = '输入的箱号不符合规则'
} else if (index > 4 && !new RegExp(/^[0-9]+$/).test(item)) { } else if (index > 4 && !new RegExp(/^[0-9]+$/).test(item)) {
console.log('箱号后7位为数字')
str = '输入的箱号不符合规则' str = '输入的箱号不符合规则'
} }
}) })

@ -1103,6 +1103,9 @@ export default {
this.details.portloadid = this.portloadData[index].ediCode this.details.portloadid = this.portloadData[index].ediCode
}, },
portloadChange(value) { portloadChange(value) {
if (!value) {
this.details.portloadid = ''
}
this.getPortloadlist(value, 'portload') this.getPortloadlist(value, 'portload')
}, },
placereceiptSelect(value) { placereceiptSelect(value) {
@ -1111,6 +1114,9 @@ export default {
this.details.placereceiptid = this.placereceiptData[index].ediCode this.details.placereceiptid = this.placereceiptData[index].ediCode
}, },
placereceiptChange(value) { placereceiptChange(value) {
if (!value) {
this.details.placereceiptid = ''
}
this.getPortloadlist(value, 'placereceipt') this.getPortloadlist(value, 'placereceipt')
}, },
// ( / ) - end // ( / ) - end
@ -1140,6 +1146,9 @@ export default {
this.details.portdischargeid = this.portdischargeData[index].ediCode this.details.portdischargeid = this.portdischargeData[index].ediCode
}, },
portdischargeChange(value) { portdischargeChange(value) {
if (!value) {
this.details.portdischargeid = ''
}
this.getPortlist(value, 'portdischarge') this.getPortlist(value, 'portdischarge')
}, },
// //
@ -1149,6 +1158,9 @@ export default {
this.details.destinationid = this.destinationData[index].ediCode this.details.destinationid = this.destinationData[index].ediCode
}, },
destinationChange(value) { destinationChange(value) {
if (!value) {
this.details.destinationid = ''
}
this.getPortlist(value, 'destination') this.getPortlist(value, 'destination')
}, },
// //
@ -1158,6 +1170,9 @@ export default {
this.details.placedeliveryid = this.placedeliveryData[index].ediCode this.details.placedeliveryid = this.placedeliveryData[index].ediCode
}, },
placedeliveryChange(value) { placedeliveryChange(value) {
if (!value) {
this.details.placedeliveryid = ''
}
this.getPortlist(value, 'placedelivery') this.getPortlist(value, 'placedelivery')
}, },
// //
@ -1167,6 +1182,9 @@ export default {
this.details.transportid = this.transportData[index].ediCode this.details.transportid = this.transportData[index].ediCode
}, },
transportChange(value) { transportChange(value) {
if (!value) {
this.details.transportid = ''
}
this.getPortlist(value, 'transport') this.getPortlist(value, 'transport')
}, },
// ( / / / ) - end // ( / / / ) - end
@ -1190,6 +1208,9 @@ export default {
this.details.kindpkgs = value this.details.kindpkgs = value
}, },
kindpkgsChange(value) { kindpkgsChange(value) {
if (!value) {
this.details.kindpkgs = ''
}
this.getPackage(value) this.getPackage(value)
}, },
// - end // - end
@ -1214,6 +1235,9 @@ export default {
this.details.customser = value this.details.customser = value
}, },
customserChange(value) { customserChange(value) {
if (!value) {
this.details.customser = ''
}
this.getDjyCustomerpage(value, 'customser', 'customs_broker') this.getDjyCustomerpage(value, 'customser', 'customs_broker')
}, },
// - end // - end
@ -1223,6 +1247,9 @@ export default {
this.details.trucker = value this.details.trucker = value
}, },
truckerChange(value) { truckerChange(value) {
if (!value) {
this.details.trucker = ''
}
this.getDjyCustomerpage(value, 'trucker', 'fleet') this.getDjyCustomerpage(value, 'trucker', 'fleet')
}, },
// - end // - end
@ -1232,6 +1259,9 @@ export default {
this.details.agentid = value this.details.agentid = value
}, },
agentidChange(value) { agentidChange(value) {
if (!value) {
this.details.agentid = ''
}
this.getDjyCustomerpage(value, 'agentid', 'out_agent') this.getDjyCustomerpage(value, 'agentid', 'out_agent')
}, },
// - end // - end

@ -33,6 +33,9 @@
<button @click="openModel('paper')"> <button @click="openModel('paper')">
<span class="iconfont icon-zhizhishu" style="font-size:18px;"></span>下货纸 <span class="iconfont icon-zhizhishu" style="font-size:18px;"></span>下货纸
</button> </button>
<button>
<span class="iconfont icon-yunshu1" @click="openModel('trace')" style="font-size:18px;"></span>运踪订阅
</button>
</div> </div>
<div class="btn-list more-view-2"> <div class="btn-list more-view-2">
<button @click="openModel('initCabin')"> <button @click="openModel('initCabin')">
@ -492,6 +495,37 @@
</a-drawer> </a-drawer>
<!-- OCR抽屉 end --> <!-- OCR抽屉 end -->
<!-- 运踪弹窗 start -->
<a-modal width="50vw" :maskClosable="false" v-model="PrintModalVisible" title="打印">
<template slot="footer"> <span></span> </template>
<div class="PrintMain">
<div class="PrintTitle">
<p>默认打印格式为<span>pdf</span>,如需其他格式请选择</p>
<p>
打印格式
<a-radio-group v-model="PrintType" name="radioGroup">
<a-radio value="1">pdf</a-radio>
<a-radio value="2">xlsx</a-radio>
<a-radio value="3">docx</a-radio>
</a-radio-group>
</p>
</div>
<a-row class="PrintMainBox">
<a-col
v-for="(item, index) in templateType"
:key="item.typeCode"
@click="FnCilckTemplateType(item.typeCode)"
class="items"
:span="11"
:offset="index % 2 == 0 ? 0 : 1"
>
<span>·</span>{{ item.typeName }}
</a-col>
</a-row>
</div>
</a-modal>
<!-- 运踪弹窗 end -->
</div> </div>
</template> </template>
<script> <script>
@ -1537,4 +1571,47 @@ export default {
padding-left: 1rem; padding-left: 1rem;
margin-bottom: 0.8rem; margin-bottom: 0.8rem;
} }
.PrintMain {
display: flex;
flex-wrap: wrap;
.PrintTitle {
width: 100%;
display: flex;
padding: 20px;
box-sizing: border-box;
background: #f7f8fe;
border: 1px dashed #cdcdcd;
p {
margin: 0;
&:nth-child(2) {
margin-left: 35px;
}
span {
color: #ff6646;
}
}
}
.PrintMainBox {
width: 100%;
max-height: 50vh;
overflow-y: auto;
margin-top: 5px;
.items {
padding-left: 1rem;
height: 2.5rem;
line-height: 2.5rem;
border-bottom: 1px solid #ebebeb;
cursor: pointer;
&:hover {
color: #2f54eb;
}
span {
font-weight: bolder;
margin-right: 0.6rem;
}
}
}
}
</style> </style>

@ -391,7 +391,7 @@ export default {
}) })
}, },
editRemark (data) { editRemark (data) {
console.log('=== 暂无接口, 需要添加编辑备注 ===') // console.log('=== ===')
this.remarkModelvisible = true this.remarkModelvisible = true
this.remarkVal = data.remark this.remarkVal = data.remark
this.editRemarkVal = data this.editRemarkVal = data
@ -410,7 +410,6 @@ export default {
.then(res => { .then(res => {
if (res.success) { if (res.success) {
this.fileList = res.data this.fileList = res.data
console.log(this.fileList)
} }
}) })
.catch(err => { .catch(err => {
@ -444,7 +443,6 @@ export default {
return false return false
}, },
WebTest001(val) { WebTest001(val) {
console.log(val.upFileList)
this.beforeUpload(val.upFileList) this.beforeUpload(val.upFileList)
// this.upFileList = this.upFileList.unshift(val.upFileList) // this.upFileList = this.upFileList.unshift(val.upFileList)
this.attachCode = val.attachCode this.attachCode = val.attachCode
@ -453,7 +451,6 @@ export default {
}, },
handleUpload() { handleUpload() {
const { upFileList, attachCode, attachName } = this const { upFileList, attachCode, attachName } = this
console.log(upFileList, attachCode, attachName)
if (upFileList.length === 0) { if (upFileList.length === 0) {
this.$message.error('请上传文件') this.$message.error('请上传文件')
return false return false

@ -4,7 +4,7 @@
<div class="btn-list more-view"> <div class="btn-list more-view">
<button @click="copyFun"><span class="iconfont icon-fuzhi1"></span>复制</button> <button @click="copyFun"><span class="iconfont icon-fuzhi1"></span>复制</button>
<button @click="saveFun"><span class="iconfont icon-icon_baocun"></span>保存</button> <button @click="saveFun"><span class="iconfont icon-icon_baocun"></span>保存</button>
<button><span class="iconfont icon-printing" @click="FSnhowPrintModal"></span></button> <button @click="FSnhowPrintModal"><span class="iconfont icon-printing"></span></button>
</div> </div>
</a-card> </a-card>
<!-- 打印弹窗 start --> <!-- 打印弹窗 start -->
@ -64,7 +64,6 @@ export default {
}, },
mounted() { mounted() {
BookingOrderPrintTemplateList().then(res => { BookingOrderPrintTemplateList().then(res => {
console.log(res.data)
this.templateType = res.data this.templateType = res.data
}) })
}, },
@ -84,7 +83,6 @@ export default {
}, },
FSnhowPrintModal() { FSnhowPrintModal() {
this.PrintModalVisible = true this.PrintModalVisible = true
debugger
}, },
FnCilckTemplateType(typeCode) { FnCilckTemplateType(typeCode) {
this.$message.success(`搜索文件中...`) this.$message.success(`搜索文件中...`)
@ -260,4 +258,53 @@ export default {
text-align: center; text-align: center;
margin: 20px 0; margin: 20px 0;
} }
.PrintRadio {
width: 100%;
padding-left: 1rem;
margin-bottom: 0.8rem;
}
.PrintMain {
display: flex;
flex-wrap: wrap;
.PrintTitle {
width: 100%;
display: flex;
padding: 20px;
box-sizing: border-box;
background: #f7f8fe;
border: 1px dashed #cdcdcd;
p {
margin: 0;
&:nth-child(2) {
margin-left: 35px;
}
span {
color: #ff6646;
}
}
}
.PrintMainBox {
width: 100%;
max-height: 50vh;
overflow-y: auto;
margin-top: 5px;
.items {
padding-left: 1rem;
height: 2.5rem;
line-height: 2.5rem;
border-bottom: 1px solid #ebebeb;
cursor: pointer;
&:hover {
color: #2f54eb;
}
span {
font-weight: bolder;
margin-right: 0.6rem;
}
}
}
}
</style> </style>

@ -397,7 +397,6 @@ export default {
} else { } else {
this.formBtnCol = 24 - len * 4 this.formBtnCol = 24 - len * 4
} }
console.log('formBtnCol', this.formBtnCol)
this.$forceUpdate() this.$forceUpdate()
}) })
}, },
@ -417,7 +416,6 @@ export default {
}) })
this.formMoreTableData = moreTableArr this.formMoreTableData = moreTableArr
this.$forceUpdate() this.$forceUpdate()
console.log(this.gridOptions.columns)
} else { } else {
const nowTableArr = this.formTableData.map((item, index) => { const nowTableArr = this.formTableData.map((item, index) => {
return item.field return item.field
@ -431,10 +429,7 @@ export default {
this.formMoreTableData = moreTableArr this.formMoreTableData = moreTableArr
this.$forceUpdate() this.$forceUpdate()
} }
console.log('== 表头 ==', this.gridOptions.columns)
}) })
// === ===
console.log('表格自定义数据 - 更多: ', this.formMoreTableData)
}, },
handlePageChange({ currentPage, pageSize }) { handlePageChange({ currentPage, pageSize }) {
this.gridOptions.pagerConfig.currentPage = currentPage this.gridOptions.pagerConfig.currentPage = currentPage
@ -553,7 +548,6 @@ export default {
resizableChange(e) { resizableChange(e) {
this.gridOptions.columns[e.columnIndex].width = e.resizeWidth this.gridOptions.columns[e.columnIndex].width = e.resizeWidth
console.log('==== 列宽拖动 =====', e.resizeWidth, this.gridOptions.columns[e.columnIndex])
this.editColumnsSave(this.gridOptions.columns) this.editColumnsSave(this.gridOptions.columns)
}, },
editColumnsSave(data = {}) { editColumnsSave(data = {}) {
@ -561,7 +555,6 @@ export default {
type: 'booking_list_column', type: 'booking_list_column',
configJson: JSON.stringify(data) configJson: JSON.stringify(data)
}).then(res => { }).then(res => {
console.log('保存成功')
this.$refs.setForm.handleCancel() this.$refs.setForm.handleCancel()
}) })
}, },
@ -728,7 +721,6 @@ export default {
}, },
tableSortChange (e) { tableSortChange (e) {
const { property, order } = e const { property, order } = e
console.log(property, order)
this.tableOrderLabel = property || '' this.tableOrderLabel = property || ''
this.tableOrderType = order || '' this.tableOrderType = order || ''
this.getList(this.formRes) this.getList(this.formRes)

Loading…
Cancel
Save