| | |
| | | /** 修改按钮操作 */ |
| | | handleUpdate() { |
| | | this.reset(); |
| | | let rowHmainid = this.linterid; |
| | | let rowHmainid = this.linterid || this.hmainid; |
| | | console.log(this.linterid); |
| | | //主表 |
| | | //主表 %EF%BB%BFEditList |
| | | axios |
| | | .get(this.$baseUrl + "/Cg_ContractTransportBillListController/%EF%BB%BFEditList", { |
| | | params: { HInterID: rowHmainid,user: sessionStorage["HUserName"]}, |
| | |
| | | </el-dialog> |
| | | <!-- 编辑 --> |
| | | <el-dialog title="编辑" :visible.sync="openEdit" width="1480px" append-to-body class="xsckdBox" @close="close"> |
| | | <edit :OperationType=OperationType :linterid=this.rowForm.hmainid || this.rowForm.HInterID |
| | | <edit :OperationType=OperationType :linterid=this.rowForm.HInterID||this.rowForm.hmainid |
| | | :HSouceBillType=this.rowForm.HSourceBillType :copyType="copyType" @editClose="editClose" v-if="editShow" /> |
| | | </el-dialog> |
| | | <el-dialog title="打印模板选择" :visible.sync="openPrintList" width="800px" append-to-body> |
| | |
| | | |
| | | if (res.data.count == 1) { |
| | | this.$modal.msgSuccess("删除成功"); |
| | | this.$refs.tableData.clearSelection(); |
| | | // 清空选中数据 |
| | | this.ids = []; |
| | | this.rowForm = {}; |
| | | // 重置按钮状态 |
| | | this.single = true; |
| | | this.multiple = true; |
| | | this.getList(); |
| | | } else { |
| | | this.$modal.msgError(res.data.Message || "删除失败"); |
| | |
| | | |
| | | if (res.data.count == 1) { |
| | | this.$modal.msgSuccess(`${action}成功`); |
| | | // 清除表格选中状态 |
| | | this.$refs.tableData.clearSelection(); |
| | | // 清空选中数据 |
| | | this.ids = []; |
| | | this.rowForm = {}; |
| | | // 重置按钮状态 |
| | | this.single = true; |
| | | this.multiple = true; |
| | | this.getList(); |
| | | } else { |
| | | this.$modal.msgError(res.data.Message || `${action}失败`); |
| | |
| | | |
| | | if (res.data.count == 1) { |
| | | this.$modal.msgSuccess(`${action}成功`); |
| | | // 清除表格选中状态 |
| | | this.$refs.tableData.clearSelection(); |
| | | // 清空选中数据 |
| | | this.ids = []; |
| | | this.rowForm = {}; |
| | | // 重置按钮状态 |
| | | this.single = true; |
| | | this.multiple = true; |
| | | this.getList(); |
| | | } else { |
| | | this.$modal.msgError(res.data.Message || `${action}失败`); |
| | |
| | | <div class="form-row"> |
| | | <el-form-item label="身份证号码"> |
| | | <el-input |
| | | v-model="formData.identityID" |
| | | v-model="formData.HIDCard" |
| | | placeholder="请输入身份证号码" |
| | | clearable |
| | | :disabled="isViewMode" |
| | |
| | | |
| | | <el-form-item label="手机号码"> |
| | | <el-input |
| | | v-model="formData.Telephone" |
| | | v-model="formData.HPhone" |
| | | placeholder="请输入手机号码" |
| | | clearable |
| | | :disabled="isViewMode" |
| | |
| | | |
| | | <el-form-item label="驾照类型"> |
| | | <el-select |
| | | v-model="formData.LicenseType" |
| | | v-model="formData.HDriverCardType" |
| | | placeholder="请选择驾照类型" |
| | | :disabled="isViewMode" |
| | | > |
| | |
| | | |
| | | <el-form-item label="司机类型"> |
| | | <el-select |
| | | v-model="formData.DriverType" |
| | | v-model="formData.HEmpType" |
| | | placeholder="请选择司机类型" |
| | | :disabled="isViewMode" |
| | | > |
| | |
| | | HDeptName: "", |
| | | HDeptID: "0", |
| | | HDepNumber: "", |
| | | identityID: "", |
| | | Telephone: "", |
| | | LicenseType: "A1", |
| | | DriverType: "固定", |
| | | HIDCard: "", |
| | | HPhone: "", |
| | | HDriverCardType: "A1", |
| | | HEmpType: "固定", |
| | | HStopflag: "0", |
| | | checkboxHStopflag: 0, |
| | | HRemark: "", |
| | |
| | | HStopEmp: "", |
| | | HStopDate: "", |
| | | Organization: "", |
| | | HPhone: "", |
| | | }, |
| | | |
| | | // 表单验证规则 |
| | |
| | | HNumber: "驾驶员代码", |
| | | HName: "驾驶员名称", |
| | | HHelpCode: "短代码", |
| | | HCompID: "所属公司ID", |
| | | HDeptName: "所属公司名称", |
| | | HDepNumber: "所属公司代码", |
| | | HDeptID: "所属公司ID", |
| | | identityID: "身份证号码", |
| | | Telephone: "手机号码", |
| | | HStopflag: "禁用标记", |
| | | HIDCard: "身份证号码", |
| | | HPhone: "手机号码", |
| | | HStopflag: "禁用标识", |
| | | HRemark: "备注", |
| | | HUSEORGID: "HUSEORGID", |
| | | LicenseType: "驾照类型", |
| | | DriverType: "司机类型", |
| | | HDriverCardType: "驾照类型", |
| | | HEmpType: "司机类型", |
| | | HMakeEmp: "创建人", |
| | | HMakeDate: "创建日期", |
| | | HCheckEmp: "审核人", |
| | |
| | | } |
| | | }); |
| | | |
| | | if (data.禁用标记) { |
| | | if (data.禁用标识) { |
| | | this.formData.checkboxHStopflag = 1; |
| | | this.formData.HStopflag = "1"; |
| | | } else { |