11/14 上货工位货架优化

20240912_adapter
wangwei 8 months ago
parent 678f06fc96
commit 3832fec9bd

@ -261,9 +261,9 @@ export default {
// //
addWorkplaceLayer() { addWorkplaceLayer() {
if (isBlank(this.formData.remark)){ // if (isBlank(this.formData.remark)){
return this.$message.error('请输入货架说明') // return this.$message.error('')
} // }
if (this.saveStatus == true){ if (this.saveStatus == true){
return this.$message.error('请完成编辑摆货层') return this.$message.error('请完成编辑摆货层')
} }
@ -340,6 +340,9 @@ export default {
}) })
}, },
handleDel(row){ handleDel(row){
if (this.saveStatus == true){
return this.$message.error("请保存数据")
}
let query = { let query = {
code : row.code code : row.code
} }

@ -1196,13 +1196,13 @@ export default {
this.$message.error('工位未绑定货位') this.$message.error('工位未绑定货位')
}) })
}, },
handleTabClick(tab){ // handleTabClick(tab){
if (tab.name === 'huojia') { // if (tab.name === 'huojia') {
if (this.$refs.freightManage) { // if (this.$refs.freightManage) {
this.$refs.freightManage.getAllList(); // this.$refs.freightManage.getAllList();
} // }
} // }
} // }
}, },
created() { created() {
this.getDepts() this.getDepts()

@ -394,13 +394,13 @@ export default {
// this.LayerQuery.freightCode = "" // this.LayerQuery.freightCode = ""
this.getList() this.getList()
// this.getLayers() // this.getLayers()
this.getQueues() // this.getQueues()
} }
}, },
created() { created() {
this.getList() // this.getList()
this.getLayers() // this.getLayers()
this.getQueues() // this.getQueues()
} }
} }
</script> </script>

@ -82,6 +82,7 @@
</template> </template>
</el-row> </el-row>
</el-form> </el-form>
<!-- <div class="left-search" v-if="!showSearch">--> <!-- <div class="left-search" v-if="!showSearch">-->
<!-- &lt;!&ndash; 关键字搜索 按需配置 &ndash;&gt;--> <!-- &lt;!&ndash; 关键字搜索 按需配置 &ndash;&gt;-->
<!-- <el-form v-if="queryList && queryList.length > 0" :model="filterQuery" class="query-form" size="mini"--> <!-- <el-form v-if="queryList && queryList.length > 0" :model="filterQuery" class="query-form" size="mini"-->

Loading…
Cancel
Save