Browse Source

包装号显示问题

intex
zhang_li 2 weeks ago
parent
commit
c087504f64
  1. 2
      src/api/wms/switch/index.ts
  2. 1
      src/components/Detail/src/Detail.vue

2
src/api/wms/switch/index.ts

@ -57,5 +57,5 @@ export const importTemplate = () => {
// 获取开关详情
export const getSwitchByCode = async (code) => {
// return await request.get({ url: '/wms/switch/getByCode?code=' + code })
return await request.get({ url: '/wms/switch/getByCode?code=' + code })
}

1
src/components/Detail/src/Detail.vue

@ -480,6 +480,7 @@ const props = defineProps({
const allSchemas = ref(props.allSchemas)
const detailAllSchemasRef = ref(props.detailAllSchemas)
const detailAllSchemasRules = ref(props.detailAllSchemasRules)
console.log(222,wsCache.get('ShowPackingNumber'))
if (!wsCache.get('ShowPackingNumber')) {
if (allSchemas.value) {
allSchemas.value.detailSchema = props.allSchemas.detailSchema.filter(item => item.field != 'packingNumber')

Loading…
Cancel
Save