|
@@ -12,16 +12,78 @@
|
|
|
@click="submit">关闭</a-button>
|
|
@click="submit">关闭</a-button>
|
|
|
</template>
|
|
</template>
|
|
|
仓库信息详情
|
|
仓库信息详情
|
|
|
|
|
+ <a-form class="inlineForm"
|
|
|
|
|
+ :form="form"
|
|
|
|
|
+ @submit="handleSearch">
|
|
|
|
|
+ <a-row :gutter="24">
|
|
|
|
|
+ <a-col :span="12">
|
|
|
|
|
+ <a-form-item label="仓库类型">
|
|
|
|
|
+ <span class="white">{{ getWareHouseTypeName(selectedRow.warehousetype) }}</span>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="12">
|
|
|
|
|
+ <a-form-item label="仓库名称">
|
|
|
|
|
+ <span class="white">{{ formatValue(selectedRow.warehousename)}}</span>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ </a-row>
|
|
|
|
|
+ <a-row :gutter="24">
|
|
|
|
|
+ <a-col :span="12">
|
|
|
|
|
+ <a-form-item label="仓库简称">
|
|
|
|
|
+ <span class="white">{{ formatValue(selectedRow.warehousecode) }}</span>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="12">
|
|
|
|
|
+ <a-form-item label="联系人">
|
|
|
|
|
+ <span class="white">{{ formatValue(selectedRow.contactname) }}</span>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ </a-row>
|
|
|
|
|
+ <a-row :gutter="24">
|
|
|
|
|
+ <a-col :span="12">
|
|
|
|
|
+ <a-form-item label="联系电话">
|
|
|
|
|
+ <span class="white">{{ formatValue(selectedRow.contactnum) }}</span>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="12">
|
|
|
|
|
+ <a-form-item label="状态">
|
|
|
|
|
+ <span class="white">{{ gerWareHouseStatusName(selectedRow.warehousestatus) }}</span>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ </a-row>
|
|
|
|
|
+ <a-row :gutter="24">
|
|
|
|
|
+ <a-col :span="12">
|
|
|
|
|
+ <a-form-item label="所在地区">
|
|
|
|
|
+ <span class="white">{{ formatValue(selectedRow.address) }}</span>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="12">
|
|
|
|
|
+ <a-form-item label="详细地址">
|
|
|
|
|
+ <span class="white">{{ formatValue(selectedRow.address) }}</span>
|
|
|
|
|
+ </a-form-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ </a-row>
|
|
|
|
|
+ </a-form>
|
|
|
</a-modal>
|
|
</a-modal>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
<script lang="ts">
|
|
|
-import { defineComponent, ref } from 'vue';
|
|
|
|
|
|
|
+import {defineComponent, PropType, ref} from 'vue';
|
|
|
import { closeModal } from '@/common/setup/modal/index';
|
|
import { closeModal } from '@/common/setup/modal/index';
|
|
|
|
|
+import {QueryCustomInfoType} from "@/services/go/ermcp/customInfo/interface";
|
|
|
|
|
+import {ErmcpWareHouseInfo} from "@/services/go/ermcp/warehouse-info/interface";
|
|
|
|
|
+import {gerWareHouseStatusName, getWareHouseTypeName} from "@/views/information/warehouse-info/setup";
|
|
|
|
|
+import {formatValue} from "@/common/methods";
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
|
name: 'warehouse_info_btn-detail',
|
|
name: 'warehouse_info_btn-detail',
|
|
|
components: {},
|
|
components: {},
|
|
|
|
|
+ props:{
|
|
|
|
|
+ selectedRow: {
|
|
|
|
|
+ type: Object as PropType<ErmcpWareHouseInfo>,
|
|
|
|
|
+ default: {},
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
setup() {
|
|
setup() {
|
|
|
const { visible, cancel } = closeModal('detail');
|
|
const { visible, cancel } = closeModal('detail');
|
|
|
const loading = ref<boolean>(false);
|
|
const loading = ref<boolean>(false);
|
|
@@ -37,6 +99,9 @@ export default defineComponent({
|
|
|
cancel,
|
|
cancel,
|
|
|
submit,
|
|
submit,
|
|
|
loading,
|
|
loading,
|
|
|
|
|
+ gerWareHouseStatusName,
|
|
|
|
|
+ getWareHouseTypeName,
|
|
|
|
|
+ formatValue
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|