Commit 2a475a4d authored by Marcus's avatar Marcus

新储位

parent 172c8b4f
<template>
<div>
<div class="area-code"></div>
<el-button type="primary" size="mini" @click="dialogVisible = true">选择</el-button>
<el-dialog
title="提示"
:visible.sync="dialogVisible"
width="30%"
append-to-body
:before-close="handleClose">
<span>这是一段信息</span>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false">取 消</el-button>
<el-button type="primary" @click="dialogVisible = false">确 定</el-button>
</span>
</el-dialog>
</div>
</template>
<script>
export default {
name: "WarehouseAreaSelect",
props: {
input: {
type: Array,
default: () => []
}
},
data() {
return {
dialogVisible: false
}
},
methods: {
handleClose(done) {
this.$confirm('确认关闭?')
.then(_ => {
done();
})
.catch(_ => {});
}
}
}
</script>
<style scoped>
</style>
...@@ -94,10 +94,10 @@ export default { ...@@ -94,10 +94,10 @@ export default {
} }
}, },
created() { created() {
this.updateMessage() // this.updateMessage()
setInterval(() => { // setInterval(() => {
this.updateMessage() // this.updateMessage()
}, 10000) // }, 10000)
}, },
components: { components: {
Breadcrumb, Breadcrumb,
......
...@@ -171,6 +171,11 @@ ...@@ -171,6 +171,11 @@
</el-form-item> </el-form-item>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('储位')" prop="orderLocationBackVOList">
<template v-slot="{ row, column, $index }">
<warehouse-area-select v-model="column"></warehouse-area-select>
</template>
</el-table-column>
</el-table> </el-table>
</el-form> </el-form>
...@@ -378,6 +383,7 @@ import { getFeeTypeByOrderProduct, getProductBrankPage } from '@/api/ecw/product ...@@ -378,6 +383,7 @@ import { getFeeTypeByOrderProduct, getProductBrankPage } from '@/api/ecw/product
import WorkFlow from "@/components/WorkFlow" import WorkFlow from "@/components/WorkFlow"
import ProductSelector from "@/components/ProductSelector" import ProductSelector from "@/components/ProductSelector"
import {cancelProcessInstance} from "@/api/bpm/processInstance" import {cancelProcessInstance} from "@/api/bpm/processInstance"
import WarehouseAreaSelect from "@/components/WarehouseAreaSelect"
export default { export default {
name: 'editDialog', name: 'editDialog',
...@@ -385,7 +391,8 @@ export default { ...@@ -385,7 +391,8 @@ export default {
components: { components: {
dictSelector, dictSelector,
WorkFlow, WorkFlow,
ProductSelector ProductSelector,
WarehouseAreaSelect
}, },
props: { props: {
......
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
<warehouse-area-dialog ref="area" :visible.sync="areaVisible" v-model="form.orderLocationCreateReqVOList" <warehouse-area-dialog ref="area" :visible.sync="areaVisible" v-model="form.orderLocationCreateReqVOList"
:order-id="orderId" :warehouse-id="warehouseId" :is-editing="isEdit"></warehouse-area-dialog> :order-id="orderId" :warehouse-id="warehouseId" :is-editing="isEdit"></warehouse-area-dialog>
<edit-dialog :title="title" :order-id="order.orderId" :visible.sync="warehousingVisible" :warehousing="warehousing" :edit="isEdit" :is-jiyun="order.type.indexOf('1') !== -1"></edit-dialog> <edit-dialog :title="title" :order-id="order.orderId" :visible.sync="warehousingVisible" :warehousing="warehousing" :edit="isEdit" :is-jiyun="order.type && order.type.indexOf('1') !== -1"></edit-dialog>
<!-- 完成入仓 --> <!-- 完成入仓 -->
<el-dialog <el-dialog
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment