Commit be792c18 by wuqian

US播种墙加上仓库必选校验

parent 01701ca7
......@@ -406,7 +406,11 @@ const podOrderDetailsColumns = computed(() => [
<div>
{operationNo}
{statusText && (
<ElTag size="small" type={type} style={{ marginLeft: '6px', ...style }}>
<ElTag
size="small"
type={type}
style={{ marginLeft: '6px', ...style }}
>
{statusText}
</ElTag>
)}
......@@ -879,6 +883,9 @@ const initOrderDetailBox = async () => {
if (!factoryNo) {
return
}
if (!warehouseId.value) {
return ElMessage.warning('请选择仓库')
}
const loading = ElLoading.service({
fullscreen: true,
text: '加载中...',
......@@ -1159,6 +1166,9 @@ const print = (data: OrderData, forcePrint = false, callback?: () => void) => {
}
const factoryNo = userStore.user?.factory.id
if (!factoryNo) return
if (!warehouseId.value) {
return ElMessage.warning('请选择仓库')
}
orderStore.setPodBoxList({
url: props.initUrl,
fromUser: userStore.user ? userStore.user.id : 0,
......
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