feat(wms): 为BasePage组件添加hideType属性
在多个coil相关视图和基础面板中添加hideType属性,用于控制MaterialSelect组件的类型显示 修复StatisticGroup组件中listMaterialCoil的dataType参数错误
This commit is contained in:
@@ -120,7 +120,7 @@ export default {
|
|||||||
Promise.all([
|
Promise.all([
|
||||||
listProduct({ pageSise: 1, pageNum: 1 }),
|
listProduct({ pageSise: 1, pageNum: 1 }),
|
||||||
listRawMaterial({ pageSise: 1, pageNum: 1 }),
|
listRawMaterial({ pageSise: 1, pageNum: 1 }),
|
||||||
listMaterialCoil({ pageSise: 1, pageNum: 1, dateType: '1' }),
|
listMaterialCoil({ pageSise: 1, pageNum: 1, dataType: 1 }),
|
||||||
listEquipmentManagement({ pageSise: 1, pageNum: 1, status: 'in_service' }),
|
listEquipmentManagement({ pageSise: 1, pageNum: 1, status: 'in_service' }),
|
||||||
listOrder({ pageSise: 1, pageNum: 1 }),
|
listOrder({ pageSise: 1, pageNum: 1 }),
|
||||||
listCustomer({ pageSise: 1, pageNum: 1 }),
|
listCustomer({ pageSise: 1, pageNum: 1 }),
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<BasePage :qrcode="qrcode" :querys="querys" :labelType="labelType" />
|
<BasePage :qrcode="qrcode" :querys="querys" :labelType="labelType" :hideType="hideType" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -14,9 +14,9 @@ export default {
|
|||||||
qrcode: true,
|
qrcode: true,
|
||||||
querys: {
|
querys: {
|
||||||
dataType: 0,
|
dataType: 0,
|
||||||
itemType: 'raw_material'
|
|
||||||
},
|
},
|
||||||
labelType: '2'
|
labelType: '2',
|
||||||
|
hideType: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<BasePage :qrcode="qrcode" :querys="querys" :labelType="labelType" />
|
<BasePage :qrcode="qrcode" :querys="querys" :labelType="labelType" :hideType="hideType" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -16,7 +16,8 @@ export default {
|
|||||||
dataType: 1,
|
dataType: 1,
|
||||||
itemType: 'raw_material'
|
itemType: 'raw_material'
|
||||||
},
|
},
|
||||||
labelType: '2'
|
labelType: '2',
|
||||||
|
hideType: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<MaterialSelect :hideType="true" :itemId.sync="queryParams.itemIds" :itemType.sync="queryParams.itemType" :multiple="true"/>
|
<MaterialSelect :hideType="hideType" :itemId.sync="queryParams.itemIds" :itemType.sync="queryParams.itemType" :multiple="true"/>
|
||||||
|
|
||||||
<el-form-item label="班组" prop="team">
|
<el-form-item label="班组" prop="team">
|
||||||
<el-input v-model="queryParams.team" placeholder="请输入班组" clearable
|
<el-input v-model="queryParams.team" placeholder="请输入班组" clearable
|
||||||
@@ -237,6 +237,10 @@ export default {
|
|||||||
showStatus: {
|
showStatus: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
|
},
|
||||||
|
hideType: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<BasePage :qrcode="qrcode" :querys="querys" :labelType="labelType" :showStatus="showStatus" />
|
<BasePage :qrcode="qrcode" :querys="querys" :labelType="labelType" :showStatus="showStatus" :hideType="hideType" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -14,10 +14,11 @@ export default {
|
|||||||
qrcode: false,
|
qrcode: false,
|
||||||
querys: {
|
querys: {
|
||||||
itemType: 'product',
|
itemType: 'product',
|
||||||
// dataType: 0
|
dataType: 1
|
||||||
},
|
},
|
||||||
labelType: '3',
|
labelType: '3',
|
||||||
showStatus: true,
|
showStatus: true,
|
||||||
|
hideType: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<BasePage :qrcode="qrcode" :querys="querys" :labelType="labelType" :hideWarehouseQuery="hideWarehouseQuery" />
|
<BasePage :qrcode="qrcode" :querys="querys" :labelType="labelType" :hideWarehouseQuery="hideWarehouseQuery" :hideType="hideType" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -18,7 +18,8 @@ export default {
|
|||||||
warehouseId: 111,
|
warehouseId: 111,
|
||||||
},
|
},
|
||||||
hideWarehouseQuery: true,
|
hideWarehouseQuery: true,
|
||||||
labelType: '3'
|
labelType: '3',
|
||||||
|
hideType: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user