Commit 66587bed by zhangtw

入库页字典配置

parent 5a9423a2
......@@ -247,7 +247,7 @@ import WarehouseSelector from "@/views/compononents/WarehouseSelector.vue"
import LocationSelector from "@/views/compononents/LocationSelector.vue"
export default {
name: "Inbound",
name: "InboundDetails",
dicts: ['label_color'],
filters: {
dictFilter(value, dictType) {
......@@ -351,7 +351,7 @@ export default {
}
},
mounted(){
console.log("标签颜色字典数据:", this.dict.type.label_color);
// console.log("标签颜色字典数据:", this.dict.type.label_color);
},
created() {
this.getList()
......@@ -377,7 +377,7 @@ export default {
/** 查询入库列表 */
getList() {
this.loading = true
console.log(this.queryParams)
inbound_details(this.queryParams).then(response => {
this.inboundList = response.rows
this.total = response.total
......@@ -464,7 +464,6 @@ export default {
this.queryLocationName = null
this.queryParams.locationId = null
this.handleQuery()
console.log('selected warehouse', warehouse);
},
/** 清空仓库选择 */
clearQueryWarehouse() {
......@@ -578,7 +577,6 @@ export default {
// 捕获取消确认/接口失败的异常
if (error !== 'cancel') {
this.$message.error('确认入库失败:' + (error.msg || '网络异常'));
console.log(error)
}
}
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论