操作票(张同朕)

main
zhen 11 months ago
parent 084c8e1b8c
commit 8c7e3151c1
  1. 2
      src/views/smart/operationticket.vue
  2. 17
      src/views/smart/operationticketDetail.vue

@ -698,7 +698,7 @@ import {getList, getDetail, add, update, remove, closeticket} from "@/api/smart/
cancelButtonText: "取消",
type: "warning"
}).then(() => {
expUtil.excelExport(`/api/equipmentledger/export?daf-auth=${getToken()}`, this.search, ['station', 'userStatus']);
expUtil.excelExport(`/api/smart/operationticket/export?daf-auth=${getToken()}`, this.search);
});
},
}

@ -38,7 +38,14 @@
@row-update="item_rowUpdate"
@row-save="item_rowSave"
@row-del="item_rowDel">
<template slot="menuRight">
<el-button type="primary"
size="small"
plain
@click="$refs.crud2.rowAdd()">新增</el-button>
</template>
</avue-crud>
</span>
<div class="container">
<span >
@ -525,7 +532,7 @@ export default {
...mapGetters(["permission"]),
permissionList() {
return {
addBtn: true,
addBtn: false,
viewBtn: false,
delBtn: true,
editBtn: true
@ -640,6 +647,14 @@ export default {
this.item_onLoad();
}
}
if(column.prop == 'operationItem'){
if(this.tab1_form.operationTicketNo ==="" || this.tab1_form.operationTicketNo ===null){
this.$message({
type: "error",
message: "请返回基本信息填写“操作票编号”!!!"
});
}
}
this.item_form.operationTicketNo = this.tab1_form.operationTicketNo;
},

Loading…
Cancel
Save