1、完善项目
2、完善合同 3、完善费用项 4、司机管理对接OCR 5、完善运输计划 6、完善临时额度
This commit is contained in:
@@ -68,6 +68,7 @@ export default {
|
||||
loading: true,
|
||||
selectionList: [],
|
||||
parentId: 0,
|
||||
currentEditMenuId: '',
|
||||
page: {
|
||||
pageSize: 10,
|
||||
currentPage: 1,
|
||||
@@ -331,6 +332,7 @@ export default {
|
||||
);
|
||||
},
|
||||
rowUpdate(row, index, done, loading) {
|
||||
row.id = row.id || this.currentEditMenuId;
|
||||
update(row).then(
|
||||
() => {
|
||||
this.$message({
|
||||
@@ -419,8 +421,11 @@ export default {
|
||||
this.form.isDisplay = 1;
|
||||
}
|
||||
if (['edit', 'view'].includes(type)) {
|
||||
getMenu(this.form.id).then(res => {
|
||||
const menuId = this.form.id;
|
||||
this.currentEditMenuId = menuId;
|
||||
getMenu(menuId).then(res => {
|
||||
this.form = Object.assign(res.data.data, {
|
||||
id: res.data.data.id || menuId,
|
||||
hasChildren: this.form.hasChildren,
|
||||
});
|
||||
if (this.form.parentId === '0') {
|
||||
@@ -432,6 +437,7 @@ export default {
|
||||
},
|
||||
beforeClose(done) {
|
||||
this.parentId = '';
|
||||
this.currentEditMenuId = '';
|
||||
const column = this.findColumn(this.option.column, 'parentId');
|
||||
column.value = '';
|
||||
column.addDisabled = false;
|
||||
|
||||
Reference in New Issue
Block a user