|
|
@@ -274,7 +274,7 @@
|
|
|
width="100"
|
|
|
>
|
|
|
<template #default="{ row }">
|
|
|
- <el-input v-model="row.sczl_dedh" />
|
|
|
+ <el-input v-model="row.sczl_dedh" @keyup.enter.native="getDedhsubmit" />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -346,7 +346,7 @@
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus'
|
|
|
import { Download, Search, Delete } from '@element-plus/icons-vue'
|
|
|
import { reactive, ref } from 'vue'
|
|
|
-import { getGxMc, getInfo, getLocate, getPackingSideTable, getPackingTable, updatePackingTable, getYg, DeletePackingTable, addPackingTable } from '@/api/mes_api_gty/myapi'
|
|
|
+import { getGxMc, getInfo, getLocate, getPackingSideTable, getPackingTable, updatePackingTable, getYg, DeletePackingTable, addPackingTable,getDedh } from '@/api/mes_api_gty/myapi'
|
|
|
|
|
|
defineOptions({
|
|
|
name: '06PackingDocuments',
|
|
|
@@ -773,7 +773,20 @@ const enterDialog = () => {
|
|
|
addDetailData()
|
|
|
}
|
|
|
}
|
|
|
+//定额代号回车事件
|
|
|
+const getDedhsubmit = () => {
|
|
|
|
|
|
+ GetDedh()
|
|
|
+}
|
|
|
+//获取定额代号
|
|
|
+const GetDedh = async (value) => {
|
|
|
+ const response = await getDedh();
|
|
|
+
|
|
|
+ if(response.code==0){
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
// 导出excel
|
|
|
function handleExportExcel() {
|
|
|
console.log('导出到excel')
|