| | |
| | | }}</span> |
| | | <el-button |
| | | type="text" |
| | | @click="handleEdit(row, (OperationType = 3))" |
| | | @click="handleDblclick1" |
| | | v-else-if="column.property == '单据号'" |
| | | >{{ row.单据号 }}</el-button |
| | | > |
| | |
| | | OperationType: null, //保存类型(新增1修改3) |
| | | HInterID: null, |
| | | baseURL: process.env.VUE_APP_BASE_API || "http://47.96.97.237/API/", |
| | | user: "admin", |
| | | user: sessionStorage["HUserName"], |
| | | currentRow: [], |
| | | lastSelectedRowIndex: null, // 用于记录上次点击的行索引 |
| | | lastSelectedRow: null, // 上一次选中的行 |
| | |
| | | this.getList(); |
| | | }, |
| | | methods: { |
| | | handleDblclick1(){ |
| | | // 延迟执行第一个函数 |
| | | setTimeout(() => { |
| | | this.handleRowClick(); |
| | | }); |
| | | |
| | | // 延迟执行第二个函数(可以设置相同或不同的延迟时间) |
| | | setTimeout(() => { |
| | | this.handleDblclick(); |
| | | }, 300); |
| | | }, |
| | | BillSync() { |
| | | axios.get(`${this.baseURL}/Kf_ICStockBillMain/GetCStockBillList`, { |
| | | params: { BillNo: this.form.HBillno2, BillType: 1403 }, |
| | |
| | | //退出 |
| | | close() { |
| | | this.tableShow = true; |
| | | this.editShow = false; |
| | | this.openEdit = false; |
| | | this.getList(); |
| | | }, |
| | | //打开新增组件弹窗 |
| | | handleAddEdit() { |
| | | this.rowForm.hmainid = 0 |
| | | this.editShow = true |
| | | this.openEdit = true |
| | | this.editShow = true |
| | | }, |
| | | //打开修改组件弹窗 |
| | | handleEdit() { |
| | |
| | | this.$modal.msgError("请选择要编辑的数据!"); |
| | | return; |
| | | } |
| | | this.openEdit = true; |
| | | this.editShow = true; |
| | | this.openEdit = true; |
| | | |
| | | }); |
| | | }, |
| | | // 打开修改组件弹窗 |
| | | |
| | | //关闭编辑页面 |
| | | editGyClose(val) { |
| | | this.editShow = false; |