|
@@ -1,7 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<div>
|
|
<div>
|
|
- <by-bill :propConfig="config" @search="search" @onSmt="doSave" ref="bill" @onAdd="onAdd" @onOrder="onOrder"
|
|
|
|
- @resert="resert" @clickHandle="clickHandle" @detail="openEdit" @clickTab="clickTab">
|
|
|
|
|
|
+ <by-bill ref="bill" :propConfig="config" @search="search" @onSmt="onSmt" @onAdd="onAdd" @onDelete="onDelete"
|
|
|
|
+ @onDispatch="onDispatch" @onRefresh="onRefresh" @detail="openEdit" @onSave="onSave" @clickTab="clickTab">
|
|
</by-bill>
|
|
</by-bill>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -26,7 +26,6 @@
|
|
tool: {
|
|
tool: {
|
|
tools: {
|
|
tools: {
|
|
save: true,
|
|
save: true,
|
|
- smt: true,
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
form: {
|
|
form: {
|
|
@@ -53,21 +52,18 @@
|
|
{
|
|
{
|
|
span: 8,
|
|
span: 8,
|
|
label: '单据编号',
|
|
label: '单据编号',
|
|
- slot: true,
|
|
|
|
prop: 'orderNumber',
|
|
prop: 'orderNumber',
|
|
component: 'by-input',
|
|
component: 'by-input',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
span: 8,
|
|
span: 8,
|
|
label: '交货地点',
|
|
label: '交货地点',
|
|
- slot: true,
|
|
|
|
prop: 'deliveryAddress',
|
|
prop: 'deliveryAddress',
|
|
component: 'by-input',
|
|
component: 'by-input',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
span: 8,
|
|
span: 8,
|
|
label: '交货时间',
|
|
label: '交货时间',
|
|
- slot: true,
|
|
|
|
prop: 'deliveryData',
|
|
prop: 'deliveryData',
|
|
component: 'by-date-picker',
|
|
component: 'by-date-picker',
|
|
compConfig: {
|
|
compConfig: {
|
|
@@ -78,21 +74,18 @@
|
|
{
|
|
{
|
|
span: 8,
|
|
span: 8,
|
|
label: '交货人',
|
|
label: '交货人',
|
|
- slot: true,
|
|
|
|
prop: 'delivery',
|
|
prop: 'delivery',
|
|
component: 'by-input',
|
|
component: 'by-input',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
span: 8,
|
|
span: 8,
|
|
label: '联系方式',
|
|
label: '联系方式',
|
|
- slot: true,
|
|
|
|
prop: 'deliveryPhone',
|
|
prop: 'deliveryPhone',
|
|
component: 'by-input',
|
|
component: 'by-input',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
span: 8,
|
|
span: 8,
|
|
label: '交货方式',
|
|
label: '交货方式',
|
|
- slot: true,
|
|
|
|
prop: 'deliveryWay',
|
|
prop: 'deliveryWay',
|
|
component: 'by-input',
|
|
component: 'by-input',
|
|
},
|
|
},
|
|
@@ -105,7 +98,110 @@
|
|
},
|
|
},
|
|
],
|
|
],
|
|
]
|
|
]
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ tableConfig: [
|
|
|
|
+ {
|
|
|
|
+ tool: {
|
|
|
|
+ tools: {
|
|
|
|
+ add: true
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ table: {
|
|
|
|
+ attr: {
|
|
|
|
+ size: 'mini',
|
|
|
|
+ height: 580,
|
|
|
|
+ align: 'center',
|
|
|
|
+ // seq: true,
|
|
|
|
+ // checkbox: true
|
|
|
|
+ },
|
|
|
|
+ columns:
|
|
|
|
+ [{
|
|
|
|
+ width: 300,
|
|
|
|
+ title: '物料名称',
|
|
|
|
+ field: 'materialName',
|
|
|
|
+ component: 'by-input'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '单位',
|
|
|
|
+ field: 'unit',
|
|
|
|
+ component: 'by-input'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '数量',
|
|
|
|
+ field: 'number',
|
|
|
|
+ component: 'by-input'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '已交付数量',
|
|
|
|
+ field: 'deliveryNumber',
|
|
|
|
+ component: 'by-input'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '规格',
|
|
|
|
+ field: 'specs',
|
|
|
|
+ component: 'by-input'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '单价',
|
|
|
|
+ field: 'unitPrice',
|
|
|
|
+ component: 'by-input'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '实际金额',
|
|
|
|
+ field: 'realityPrice',
|
|
|
|
+ component: 'by-input'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '优惠金额',
|
|
|
|
+ field: 'prePrice',
|
|
|
|
+ component: 'by-input'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '合计金额',
|
|
|
|
+ field: 'totalPrice',
|
|
|
|
+ component: 'by-input'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ width: 80,
|
|
|
|
+ title: '操作',
|
|
|
|
+ action: true,
|
|
|
|
+ plugins: [{
|
|
|
|
+ icon: 'el-icon-delete',
|
|
|
|
+ name: '删除',
|
|
|
|
+ audit: '',
|
|
|
|
+ event: {
|
|
|
|
+ click: (item : any) => {
|
|
|
|
+ console.log('该行数据:', item)
|
|
|
|
+ item.isDeleted = 1;
|
|
|
|
+ this.$confirm('确定删除吗', '注意', {
|
|
|
|
+ confirmButtonText: '确定',
|
|
|
|
+ cancelButtonText: '取消',
|
|
|
|
+ type: 'warning',
|
|
|
|
+ center: true
|
|
|
|
+ }).then(() => {
|
|
|
|
+ // api.deleteList({ ids: item.id }, 'supplyTaskOrder').then((res : any) => {
|
|
|
|
+ // if (res.code === 200) {
|
|
|
|
+ // this.getDataList();
|
|
|
|
+ // this.$message({
|
|
|
|
+ // type: 'success',
|
|
|
|
+ // message: '删除成功!'
|
|
|
|
+ // });
|
|
|
|
+ // } else this.failHandle(res)
|
|
|
|
+ // })
|
|
|
|
+ }).catch(() => {
|
|
|
|
+ this.$message({
|
|
|
|
+ type: 'info',
|
|
|
|
+ message: '已取消删除'
|
|
|
|
+ });
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }]
|
|
|
|
+ },
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
},
|
|
},
|
|
// 已提交
|
|
// 已提交
|
|
smt: {
|
|
smt: {
|
|
@@ -139,20 +235,6 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- {
|
|
|
|
- span: 6,
|
|
|
|
- label: '交货地点',
|
|
|
|
- prop: 'deliveryAddress',
|
|
|
|
- component: 'by-input',
|
|
|
|
- compConfig: {
|
|
|
|
- attr: {
|
|
|
|
- placeholder: '请输入交货地点',
|
|
|
|
- clearable: true
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
- [
|
|
|
|
{
|
|
{
|
|
span: 6,
|
|
span: 6,
|
|
label: '交货人',
|
|
label: '交货人',
|
|
@@ -184,6 +266,8 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ ],
|
|
|
|
+ [
|
|
{
|
|
{
|
|
span: 6,
|
|
span: 6,
|
|
label: '交货时间',
|
|
label: '交货时间',
|
|
@@ -199,7 +283,6 @@
|
|
},
|
|
},
|
|
tool: {
|
|
tool: {
|
|
tools: {
|
|
tools: {
|
|
- export: true,
|
|
|
|
delete: true,
|
|
delete: true,
|
|
search: true,
|
|
search: true,
|
|
refresh: true
|
|
refresh: true
|
|
@@ -312,20 +395,6 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- {
|
|
|
|
- span: 6,
|
|
|
|
- label: '交货地点',
|
|
|
|
- prop: 'deliveryAddress',
|
|
|
|
- component: 'by-input',
|
|
|
|
- compConfig: {
|
|
|
|
- attr: {
|
|
|
|
- placeholder: '请输入交货地点',
|
|
|
|
- clearable: true
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
- [
|
|
|
|
{
|
|
{
|
|
span: 6,
|
|
span: 6,
|
|
label: '交货人',
|
|
label: '交货人',
|
|
@@ -348,13 +417,12 @@
|
|
type: 'datetime'
|
|
type: 'datetime'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- ]
|
|
|
|
|
|
+ ],
|
|
]
|
|
]
|
|
},
|
|
},
|
|
tool: {
|
|
tool: {
|
|
tools: {
|
|
tools: {
|
|
smt: true,
|
|
smt: true,
|
|
- export: true,
|
|
|
|
delete: true,
|
|
delete: true,
|
|
search: true,
|
|
search: true,
|
|
refresh: true
|
|
refresh: true
|
|
@@ -461,20 +529,6 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- {
|
|
|
|
- span: 6,
|
|
|
|
- label: '交货地点',
|
|
|
|
- prop: 'deliveryAddress',
|
|
|
|
- component: 'by-input',
|
|
|
|
- compConfig: {
|
|
|
|
- attr: {
|
|
|
|
- placeholder: '请输入交货地点',
|
|
|
|
- clearable: true
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
- [
|
|
|
|
{
|
|
{
|
|
span: 6,
|
|
span: 6,
|
|
label: '交货人',
|
|
label: '交货人',
|
|
@@ -506,6 +560,8 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ ],
|
|
|
|
+ [
|
|
{
|
|
{
|
|
span: 6,
|
|
span: 6,
|
|
label: '交货时间',
|
|
label: '交货时间',
|
|
@@ -523,7 +579,6 @@
|
|
tools: {
|
|
tools: {
|
|
add: true,
|
|
add: true,
|
|
dispatch: true,
|
|
dispatch: true,
|
|
- export: true,
|
|
|
|
delete: true,
|
|
delete: true,
|
|
search: true,
|
|
search: true,
|
|
refresh: true
|
|
refresh: true
|
|
@@ -636,20 +691,6 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- {
|
|
|
|
- span: 6,
|
|
|
|
- label: '交货地点',
|
|
|
|
- prop: 'deliveryAddress',
|
|
|
|
- component: 'by-input',
|
|
|
|
- compConfig: {
|
|
|
|
- attr: {
|
|
|
|
- placeholder: '请输入交货地点',
|
|
|
|
- clearable: true
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
- [
|
|
|
|
{
|
|
{
|
|
span: 6,
|
|
span: 6,
|
|
label: '交货人',
|
|
label: '交货人',
|
|
@@ -681,6 +722,8 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ ],
|
|
|
|
+ [
|
|
{
|
|
{
|
|
span: 6,
|
|
span: 6,
|
|
label: '交货时间',
|
|
label: '交货时间',
|
|
@@ -694,6 +737,12 @@
|
|
]
|
|
]
|
|
]
|
|
]
|
|
},
|
|
},
|
|
|
|
+ tool: {
|
|
|
|
+ tools: {
|
|
|
|
+ search: true,
|
|
|
|
+ refresh: true
|
|
|
|
+ }
|
|
|
|
+ },
|
|
table: {
|
|
table: {
|
|
attr: {
|
|
attr: {
|
|
height: 600,
|
|
height: 600,
|
|
@@ -771,13 +820,71 @@
|
|
this.getDataList()
|
|
this.getDataList()
|
|
}, 500)
|
|
}, 500)
|
|
}
|
|
}
|
|
- // 工具栏方法
|
|
|
|
- clickHandle(e : any) {
|
|
|
|
- console.log(e);
|
|
|
|
|
|
+ // 保存
|
|
|
|
+ onSave(e : any) {
|
|
|
|
+ console.log('保存 ==>', e);
|
|
|
|
+ if(e==='bill'){
|
|
|
|
+ (this as any).$refs.bill.$refs.billForm.validate().then(() => {
|
|
|
|
+ let query = (this.$refs.bill as any).getBillFormValue(); // 获取单据数据
|
|
|
|
+ query.suborderList.unshift({materialName:'test'})
|
|
|
|
+ console.log(query);
|
|
|
|
+ api.updateList(query, 'supplyTaskOrder').then((res : any) => {
|
|
|
|
+ if (res.code === 200) {
|
|
|
|
+ this.$message.success(res.msg);
|
|
|
|
+ this.getDataList();
|
|
|
|
+ (this.$refs.bill as any).showTab = 'all';
|
|
|
|
+ (this.$refs.bill as any).setBillFormValue({});
|
|
|
|
+ } else this.failHandle(res)
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ // 打开新增
|
|
|
|
+ onAdd(e : any) {
|
|
|
|
+ console.log('新增 ==>', e);
|
|
|
|
+ if(e==='billTable_0'){
|
|
|
|
+ let data = (this.$refs.bill as any).getBillFormValue();
|
|
|
|
+ data.suborderList.unshift({isDeleted:0,taskOrderId:data.id})
|
|
|
|
+ console.log(data);
|
|
|
|
+ (this.$refs.bill as any).setBillTableValue(data, 0);// 设置第1张单据表格数据
|
|
|
|
+ }
|
|
|
|
+ // (this.$refs.bill as any).setBillFormValue({}); // 设置单据表单数据
|
|
|
|
+ // (this.$refs.bill as any).showTab = 'bill';
|
|
|
|
+ }
|
|
|
|
+ // 打开编辑
|
|
|
|
+ openEdit(e : any) {
|
|
|
|
+ console.log('编辑 ==>', e);
|
|
|
|
+ e = e.row ? e.row : e;
|
|
|
|
+ (this.$refs.bill as any).setBillFormValue(e); // 设置单据表单数据
|
|
|
|
+ (this.$refs.bill as any).setBillTableValue(e.suborderList, 0);// 设置第1张单据表格数据
|
|
|
|
+ (this.$refs.bill as any).showTab = 'bill';
|
|
|
|
+ }
|
|
|
|
+ // 派单
|
|
|
|
+ onDispatch(e : any) {
|
|
|
|
+ console.log('派单 ==>', e);
|
|
|
|
+ }
|
|
|
|
+ // 提交
|
|
|
|
+ onSmt(e : any) {
|
|
|
|
+ console.log('提交 ==>', e);
|
|
|
|
+ // (this as any).$refs.bill.$refs.billForm.validate().then(() => {
|
|
|
|
+ // let query = (this as any).$refs.bill.$refs.billForm.getValue();
|
|
|
|
+ // api.saveList(query, 'supplyTaskOrder').then((res : any) => {
|
|
|
|
+ // if (res.code === 200) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // type: 'success',
|
|
|
|
+ // message: '提交成功!'
|
|
|
|
+ // });
|
|
|
|
+ // this.getDataList();
|
|
|
|
+ // (this.$refs.bill as any).showTab = 'all';
|
|
|
|
+ // (this.$refs.bill as any).setBillFormValue({});
|
|
|
|
+ // } else this.failHandle(res)
|
|
|
|
+ // })
|
|
|
|
+ // })
|
|
}
|
|
}
|
|
// 切换tab栏
|
|
// 切换tab栏
|
|
clickTab(e : any) {
|
|
clickTab(e : any) {
|
|
- console.log(e);
|
|
|
|
|
|
+ // console.log(e);
|
|
|
|
+ // submitState: 提交状态
|
|
if (e === 'draftsBox') this.getPageList({ submitState: 0 }, 'draftsBox'); // 草稿箱数据
|
|
if (e === 'draftsBox') this.getPageList({ submitState: 0 }, 'draftsBox'); // 草稿箱数据
|
|
if (e === 'smt') this.getPageList({ submitState: 1 }, 'smt'); // 已提交数据
|
|
if (e === 'smt') this.getPageList({ submitState: 1 }, 'smt'); // 已提交数据
|
|
if (e === 'recycleBin') { // 回收站数据
|
|
if (e === 'recycleBin') { // 回收站数据
|
|
@@ -790,41 +897,7 @@
|
|
this.getSelectDeleteList('supplyTaskOrder')
|
|
this.getSelectDeleteList('supplyTaskOrder')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- // 保存新增
|
|
|
|
- doSave() {
|
|
|
|
- // (this.$refs.product as any).setShow(true)
|
|
|
|
- (this as any).$refs.bill.$refs.billForm.validate().then(() => {
|
|
|
|
- let query = (this as any).$refs.bill.$refs.billForm.getValue();
|
|
|
|
- // query.suborderList = [] // 子表单数据
|
|
|
|
- query.status = 0; // 默认未接单
|
|
|
|
- api.saveList(query, 'supplyTaskOrder').then((res : any) => {
|
|
|
|
- if (res.code === 200) {
|
|
|
|
- this.$message({
|
|
|
|
- type: 'success',
|
|
|
|
- message: '提交成功!'
|
|
|
|
- });
|
|
|
|
- this.getDataList();
|
|
|
|
- (this.$refs.bill as any).showTab = 'all';
|
|
|
|
- (this.$refs.bill as any).setBillFormValue({});
|
|
|
|
- } else this.failHandle(res)
|
|
|
|
- })
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
- // 保存修改
|
|
|
|
- orderTaking() {
|
|
|
|
- let query : any = (this as any).$refs.bill.$refs.billForm.getValue();
|
|
|
|
- api.updateList(query, 'supplyTaskOrder').then((res : any) => {
|
|
|
|
- if (res.code === 200) {
|
|
|
|
- this.$message({
|
|
|
|
- type: 'success',
|
|
|
|
- message: '保存成功!'
|
|
|
|
- });
|
|
|
|
- this.getDataList();
|
|
|
|
- (this.$refs.bill as any).showTab = 'all';
|
|
|
|
- (this.$refs.bill as any).setBillFormValue({});
|
|
|
|
- } else this.failHandle(res)
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
|
|
+ // 初始化
|
|
getDataList() {
|
|
getDataList() {
|
|
if (!this.$refs.bill) {
|
|
if (!this.$refs.bill) {
|
|
if (this.timeNum > 5) {
|
|
if (this.timeNum > 5) {
|
|
@@ -834,7 +907,6 @@
|
|
return
|
|
return
|
|
}
|
|
}
|
|
clearInterval(this.timer)
|
|
clearInterval(this.timer)
|
|
- // submitState: 提交状态
|
|
|
|
this.getPageList({}, 'all'); // 综合数据
|
|
this.getPageList({}, 'all'); // 综合数据
|
|
}
|
|
}
|
|
// 获取分页数据
|
|
// 获取分页数据
|
|
@@ -865,31 +937,28 @@
|
|
} else this.failHandle(res)
|
|
} else this.failHandle(res)
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- // 打开新增
|
|
|
|
- onAdd(e : any) {
|
|
|
|
- console.log(e);
|
|
|
|
- // this.orderType = '新增';
|
|
|
|
- (this.$refs.bill as any).setBillFormValue({}); // 设置单据表单数据
|
|
|
|
- (this.$refs.bill as any).showTab = 'bill';
|
|
|
|
- }
|
|
|
|
- // 打开编辑
|
|
|
|
- openEdit(e : any) {
|
|
|
|
- console.log(e);
|
|
|
|
- e = e.row ? e.row : e;
|
|
|
|
- // this.orderType = '编辑';
|
|
|
|
- (this.$refs.bill as any).setBillFormValue(e); // 设置单据表单数据
|
|
|
|
- (this.$refs.bill as any).showTab = 'bill';
|
|
|
|
- }
|
|
|
|
// 搜索
|
|
// 搜索
|
|
search(parames : any) {
|
|
search(parames : any) {
|
|
|
|
+ console.log('搜索 ==> ', parames);
|
|
let query = parames.value
|
|
let query = parames.value
|
|
if (parames.type === 'draftsBox') query.submitState = 0 // 草稿箱数据
|
|
if (parames.type === 'draftsBox') query.submitState = 0 // 草稿箱数据
|
|
if (parames.type === 'smt') query.submitState = 1 // 草稿箱数据
|
|
if (parames.type === 'smt') query.submitState = 1 // 草稿箱数据
|
|
|
|
+ // if (parames.type === 'recycleBin') // 回收站
|
|
this.getPageList(query, parames.type) // 获取分页数据
|
|
this.getPageList(query, parames.type) // 获取分页数据
|
|
}
|
|
}
|
|
|
|
+ // 刷新
|
|
|
|
+ onRefresh(e : any) {
|
|
|
|
+ console.log('刷新 ==>', e);
|
|
|
|
+ (this as any).$refs.bill.$refs[e].resert();
|
|
|
|
+ if (e === 'all') this.getPageList({}, 'all'); // 草稿箱数据
|
|
|
|
+ if (e === 'draftsBox') this.getPageList({ submitState: 0 }, 'draftsBox'); // 草稿箱数据
|
|
|
|
+ if (e === 'smt') this.getPageList({ submitState: 1 }, 'smt'); // 已提交数据
|
|
|
|
+ if (e === 'recycleBin') this.getSelectDeleteList('supplyTaskOrder') // 回收站数据
|
|
|
|
+ }
|
|
// 工具栏删除
|
|
// 工具栏删除
|
|
- onDelete() {
|
|
|
|
- let selectData = (this.$refs.bill as any).getSelectData()
|
|
|
|
|
|
+ onDelete(e:any) {
|
|
|
|
+ console.log('工具栏删除 ==> ',e);
|
|
|
|
+ let selectData = (this.$refs.bill as any).getTableSelectData(e)
|
|
let ids = '';
|
|
let ids = '';
|
|
if (selectData.length > 0) {
|
|
if (selectData.length > 0) {
|
|
selectData.map((v : any) => {
|
|
selectData.map((v : any) => {
|
|
@@ -943,13 +1012,6 @@
|
|
});
|
|
});
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- resert(parames : any) {
|
|
|
|
- console.log('重置回传参数', parames);
|
|
|
|
- }
|
|
|
|
- // 工具栏接单
|
|
|
|
- onOrder(n : string) {
|
|
|
|
- console.log(n + ':工具栏执行操作onOrder')
|
|
|
|
- }
|
|
|
|
// 运行错误
|
|
// 运行错误
|
|
failHandle(err : any) {
|
|
failHandle(err : any) {
|
|
let msg = err.msg ? err.msg : '运行错误!';
|
|
let msg = err.msg ? err.msg : '运行错误!';
|