diff --git a/sgzb-ui/src/api/store/putInStore.js b/sgzb-ui/src/api/store/putInStore.js
index dbf7ead5..63b1c0c2 100644
--- a/sgzb-ui/src/api/store/putInStore.js
+++ b/sgzb-ui/src/api/store/putInStore.js
@@ -64,7 +64,12 @@ export function inputByCode(data) {
})
}
-
+// 查看盘点入库详情接口
+export const getInventoryWarehousingApi = (params) => {
+ return request.get(`/material/inventoryAndWarehousing/getDetail`, {
+ params
+ })
+}
diff --git a/sgzb-ui/src/views/store/warehousing/config.js b/sgzb-ui/src/views/store/warehousing/config.js
new file mode 100644
index 00000000..98d92cfb
--- /dev/null
+++ b/sgzb-ui/src/views/store/warehousing/config.js
@@ -0,0 +1,22 @@
+export const dialogConfig = {
+ outerWidth: '70%',
+ outerTitle: '查看',
+ outerVisible: false,
+ handleColShow: false, // 是否显示操作列
+ pageShow: true, // 是否显示分页组件
+ isSelShow: false,// 表格是否需要复选框
+ isFormShow: true, // 是否显示表单查询组件
+ formLabel: [
+ { f_label: '关键字', f_model: 'keyWord', f_type: 'ipt', },
+ ],
+
+ columnsList: [
+ { t_width: '', t_props: 'putInType', t_label: '入库来源' },
+ { t_width: '', t_props: 'typeName', t_label: '设备类型' },
+ { t_width: '', t_props: 'typeModelName', t_label: '规格型号' },
+ { t_width: '', t_props: 'maCode', t_label: '设备编码' },
+ { t_width: '', t_props: 'modelName', t_label: '入库人' },
+ { t_width: '', t_props: 'createDate', t_label: '入库日期' },
+ ],
+
+}
diff --git a/sgzb-ui/src/views/store/warehousing/putInStore.vue b/sgzb-ui/src/views/store/warehousing/putInStore.vue
index 5de10d36..bc1a75e9 100644
--- a/sgzb-ui/src/views/store/warehousing/putInStore.vue
+++ b/sgzb-ui/src/views/store/warehousing/putInStore.vue
@@ -55,19 +55,8 @@
v-loading="loading"
:data="returnList"
@selection-change="handleSelectionChange"
+ border
>
-
-
+
+
+ 查看详情
+
+
取 消
+
+
+
+
+
+
+
@@ -786,14 +788,23 @@ import {
getTypeList,
getDeviceTypeTree,
inputByCode,
+ getInventoryWarehousingApi,
} from '@/api/store/putInStore'
import { getInfo } from '@/api/login'
import { supplierInfoList } from '@/api/store/tools'
import { getUnitData, getProData } from '@/api/claimAndRefund/receive'
+import DialogModel from '@/components/DialogModel'
+import TableMode from '@/components/TableModel'
+import { dialogConfig } from './config'
+
export default {
name: 'DevicesWarehousing',
// dicts: ['sys_normal_disable'],
+ components: {
+ DialogModel,
+ TableMode,
+ },
data() {
return {
// 用户信息
@@ -931,6 +942,11 @@ export default {
},
],
},
+
+ // 详情弹框配置
+ dialogConfig,
+ getInventoryWarehousingApi,
+ sendParams: {},
}
},
created() {
@@ -1138,6 +1154,7 @@ export default {
this.title = '数量盘点入库'
this.resetCodeForm()
this.getUnitData()
+ this.GetDeviceTypeTree()
this.$nextTick(() => {
this.$refs['codeForm'].clearValidate()
})
@@ -1151,6 +1168,7 @@ export default {
this.title = '编码盘点入库'
this.resetCodeForm()
this.getUnitData()
+ this.GetDeviceTypeTree()
this.$nextTick(() => {
this.$refs['codeForm'].clearValidate()
})
@@ -1457,6 +1475,16 @@ export default {
this.codeForm.proId = val
// console.log('🚀 ~ changeProList ~ this.codeForm:', this.codeForm.proId);
},
+ /* 查看详情 */
+ async queryDetails(row) {
+ this.sendParams.kindName = row.kindName
+ this.dialogConfig.outerVisible = true
+ },
+
+ /* 外层弹框关闭 */
+ closeDialogOuter() {
+ this.dialogConfig.outerVisible = false
+ },
},
}