From d8fec88a25b47563c74face4e1130f66492969be Mon Sep 17 00:00:00 2001
From: payne <bzrlw2012@163.com>
Date: 周四, 25 4月 2024 12:38:57 +0800
Subject: [PATCH] 模版调整
---
iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabItem/WmsContainerPackaging/addFormContainerPackaging.vue | 24 +++++++++++++++++-------
1 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabItem/WmsContainerPackaging/addFormContainerPackaging.vue b/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabItem/WmsContainerPackaging/addFormContainerPackaging.vue
index 74d7399..5c5776b 100644
--- a/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabItem/WmsContainerPackaging/addFormContainerPackaging.vue
+++ b/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabItem/WmsContainerPackaging/addFormContainerPackaging.vue
@@ -7,6 +7,7 @@
<!-- <span style="font-weight:bold;cursor:default;">
<a style="cursor:default;">{{ row.no }}</a>鍗曟嵁璇︽儏
</span> -->
+ 鐗╂枡绫诲瀷锛� {{ materialType }}
<div style="margin-top: 10px;">
<a-table :columns="columns" :data-source="list" row-key="id" :pagination="false" :scroll="{ x: true }">
<template slot="index" slot-scope="text, record, index">{{ index + 1 }}</template>
@@ -16,17 +17,17 @@
}}</a-tag>
</span>
- <span slot="action" slot-scope="text, record">
+ <!-- <span slot="action" slot-scope="text, record">
<a-popconfirm v-if="hasPerm('BaseCustomer:delete')" placement="topRight" title="纭鍒犻櫎锛�"
@confirm="() => itemDelete(record, index)">
<a>鍒犻櫎</a>
</a-popconfirm>
- </span>
+ </span> -->
</a-table>
</div>
</div>
- <p @click="visible = true">鏂板琛�</p>
+ <!-- <p @click="visible = true">鏂板琛�</p> -->
<a-modal title="鍖呰鍏崇郴" :width="900" :visible="visible" :confirmLoading="confirmLoading" @ok="handleSubmit"
@cancel="handleCancel">
@@ -40,7 +41,11 @@
<script>
import { WmsOrderRukuDetail } from '@/api/modular/main/WmsOrderManage'
import showList from './index.vue'
-
+import {
+ WmsContainerPackagingPage,
+ WmsContainerPackagingDelete,
+ WmsContainerPackagingToExcel
+} from '@/api/modular/main/WmsBase/WmsContainerPackagingManage'
export default {
name: 'wmsOrderRukuManagementDetailDrawer',
emits: ['update:visible'],
@@ -166,7 +171,8 @@
showSizeChanger: true,
total: 0,
size: 'small'
- }
+ },
+ materialType:''
}
},
@@ -195,7 +201,8 @@
this.afterClsoe()
}
},
- initShow() {
+ initShow(materialType) {
+ this.materialType = materialType
this.loading = true
this.getList(() => {
this.loading = false
@@ -203,7 +210,10 @@
},
getList(row) {
let params = { id: row.id }
- WmsOrderRukuDetail(params)
+ WmsContainerPackagingPage({
+ // materialTypeCode: 'test2'
+ materialTypeCode: this.materialType
+ })
.then(d => {
this.list = d.data.rows || []
this.$emit('update:visible', true)
--
Gitblit v1.9.3