liuchen864 11 months ago
parent
commit
1fb15f31e2
  1. 11
      src/views/wms/inventoryManage/containerinit/containerinitadd/containerMain.data.ts
  2. 2
      src/views/wms/inventoryManage/containerinit/containerinitadd/index.vue

11
src/views/wms/inventoryManage/containerinit/containerinitadd/containerMain.data.ts

@ -8,26 +8,21 @@ import * as BalanceApi from "@/api/wms/balance";
// 表单校验
export const ContainerMainRules = reactive({
number: [
{ required: true, message: '请输入号码', trigger: 'blur' }
],
type: [
{ required: true, message: '请选择类型', trigger: 'change' }
],
status: [
{ required: true, message: '请选择状态', trigger: 'change' }
],
ownerCode: [
{ required: true, message: '请选择货主代码', trigger: 'change' }
],
]
})
export const ContainerMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '号',
label: '单据号',
field: 'number',
sort: 'custom',
isSearch: true,
isForm: false,
},
{
label: '类型',

2
src/views/wms/inventoryManage/containerinit/containerinitadd/index.vue

@ -28,7 +28,7 @@
v-model:sort="tableObject.sort"
>
<template #number="{row}">
<el-button type="primary" link @click="openDetail(row, '号', row.number)">
<el-button type="primary" link @click="openDetail(row, '单据号', row.number)">
<span>{{ row.number }}</span>
</el-button>
</template>

Loading…
Cancel
Save