Commit bc0988aa authored by Marcus's avatar Marcus

订单入仓后,点击完成入仓,弹窗是否需要打印入仓单,点击是,一直无法跳转入仓单打印页面

parent 0b04b449
...@@ -103,14 +103,16 @@ ...@@ -103,14 +103,16 @@
<div style="text-align: center">在完成入仓前,您还可以</div> <div style="text-align: center">在完成入仓前,您还可以</div>
<div style="text-align: center;padding: 15px 0"> <div style="text-align: center;padding: 15px 0">
<el-button type="info" @click="areaVisible = true">选择储位</el-button> <el-button type="info" @click="areaVisible = true">选择储位</el-button>
<el-button type="info" @click="isShowPrint = true">打印标签</el-button> <el-button type="info" @click="isShowPrintTag = true">打印标签</el-button>
</div> </div>
<div style="text-align: center"> <div style="text-align: center">
<el-button type="primary" @click="handleSubmit()">确 定</el-button> <el-button type="primary" @click="handleSubmit()">确 定</el-button>
</div> </div>
</el-dialog> </el-dialog>
<print-tag v-if="isShowPrint" :order-id="orderId" @close="isShowPrint = false"></print-tag> <print-tag v-if="isShowPrintTag" :order-id="orderId" @close="isShowPrintTag = false"></print-tag>
<print-warehouse-receipt v-if="isShowPrint" :order-id="orderId" @close="isShowPrint = false" />
</div> </div>
</template> </template>
...@@ -128,6 +130,7 @@ import WarehouseAreaDialog from '@/components/WarehouseAreaDialog' ...@@ -128,6 +130,7 @@ import WarehouseAreaDialog from '@/components/WarehouseAreaDialog'
import editDialog from '@/views/ecw/order/warehousing/components/editDialog' import editDialog from '@/views/ecw/order/warehousing/components/editDialog'
import {DICT_TYPE} from "@/utils/dict" import {DICT_TYPE} from "@/utils/dict"
import PrintTag from "@/views/ecw/order/components/PrintTag" import PrintTag from "@/views/ecw/order/components/PrintTag"
import PrintWarehouseReceipt from "@/views/ecw/order/components/PrintWarehouseReceipt"
export default { export default {
name: "Warehousing", name: "Warehousing",
...@@ -136,7 +139,8 @@ export default { ...@@ -136,7 +139,8 @@ export default {
orderBaseInfo, orderBaseInfo,
WarehouseAreaDialog, WarehouseAreaDialog,
editDialog, editDialog,
PrintTag PrintTag,
PrintWarehouseReceipt
}, },
mounted() { mounted() {
...@@ -166,6 +170,7 @@ export default { ...@@ -166,6 +170,7 @@ export default {
orderItemList: [], orderItemList: [],
specialList: [], specialList: [],
warehousing: undefined, warehousing: undefined,
isShowPrintTag: false,
isShowPrint: false isShowPrint: false
} }
}, },
...@@ -185,7 +190,9 @@ export default { ...@@ -185,7 +190,9 @@ export default {
confirmButtonClass: '', confirmButtonClass: '',
cancelButtonText: '' cancelButtonText: ''
} }
).then().catch(() => { ).then(() => {
}).catch(() => {
// this.$store.dispatch('tagsView/delVisitedView') // this.$store.dispatch('tagsView/delVisitedView')
this.$message.success('入仓成功') this.$message.success('入仓成功')
}) })
......
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