...
|
...
|
@@ -192,6 +192,7 @@ |
|
|
border
|
|
|
style="width: 100%;margin-bottom: 10px">
|
|
|
<el-table-column
|
|
|
fixed="left"
|
|
|
prop="name"
|
|
|
label="姓名">
|
|
|
</el-table-column>
|
...
|
...
|
@@ -216,6 +217,7 @@ |
|
|
label="职务">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
fixed="right"
|
|
|
prop="meno"
|
|
|
label="备注">
|
|
|
</el-table-column>
|
...
|
...
|
@@ -223,6 +225,20 @@ |
|
|
</el-row>
|
|
|
</el-dialog>
|
|
|
</el-row>
|
|
|
<!--对话提示框-->
|
|
|
<el-row>
|
|
|
<el-dialog
|
|
|
title="系统提示"
|
|
|
:visible.sync="centerDialogVisible"
|
|
|
width="30%"
|
|
|
center>
|
|
|
<span>{{msg}}</span>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button @click="centerDialogVisible = false">取 消</el-button>
|
|
|
<el-button type="primary" @click="centerDialogVisible = false">确 定</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
</el-row>
|
|
|
|
|
|
</el-container>
|
|
|
</template>
|
...
|
...
|
@@ -245,7 +261,7 @@ |
|
|
|
|
|
</style>
|
|
|
<script>
|
|
|
import {addBillPerson, editBill, selectBill, selectReturnMsg} from "../../api/transport";
|
|
|
import { addBillPerson, editBill, selectBill, selectReturnMsg} from "../../api/transport";
|
|
|
import loginUserInfo from "../../api/base";
|
|
|
export default {
|
|
|
data(){
|
...
|
...
|
@@ -303,15 +319,35 @@ |
|
|
tableData2:[],
|
|
|
gridData:[],
|
|
|
dialogTableVisible: false,
|
|
|
centerDialogVisible:false,
|
|
|
msg:undefined
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
//添加机组人员按钮
|
|
|
showPerson(index,row){
|
|
|
this.dialogTableVisibles=true;
|
|
|
this.billperson.billsId=row.uuid;
|
|
|
},
|
|
|
//提交按钮
|
|
|
submitPerson(formName){
|
|
|
console.log(this.billperson.billsId)
|
|
|
//console.log(this.billperson.billsId)
|
|
|
this.$refs[formName].validate((valid) => {
|
|
|
if (valid) {
|
|
|
addBillPerson(this.billperson).then(res=>{
|
|
|
let response=res.data;
|
|
|
if(response.code=='200'){
|
|
|
this.centerDialogVisible=true;
|
|
|
this.msg=response.msg;
|
|
|
}else{
|
|
|
this.msg=response.msg;
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
|
console.log('error submit!!');
|
|
|
return false;
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
//查询回执列表
|
|
|
selectDetail(index,row){
|
...
|
...
|
|