| | |
| | | <BasicForm @register="registerForm" :model="model" /> |
| | | </div> --> |
| | | <div> |
| | | <BasicTable @register="registerTable"> |
| | | <BasicTable @register="registerTable" @row-dbClick="rowDbClick"> |
| | | <!-- <template #toolbar> |
| | | <a-button type="primary" @click="handleCreate"> 新增盘点 </a-button> |
| | | </template> --> |
| | |
| | | import { getItemListByPage } from '/@/api/tigerapi/wms/inventory'; |
| | | import { useI18n } from '/@/hooks/web/useI18n'; |
| | | |
| | | const { t } = useI18n('WMS.Count'); |
| | | const { t } = useI18n(); |
| | | const schemas: FormSchema[] = [ |
| | | { |
| | | field: 'ITEM_CODE', |
| | |
| | | // v && props.userData && nextTick(() => onDataReceive(props.userData)); |
| | | // } |
| | | |
| | | function rowDbClick(record, index, event) { |
| | | try { |
| | | closeModal(); |
| | | emit('success', { |
| | | isUpdate: unref(false), |
| | | values: { record, id: 0 }, |
| | | }); |
| | | } finally { |
| | | setModalProps({ confirmLoading: false }); |
| | | } |
| | | } |
| | | |
| | | async function handleSubmit() { |
| | | try { |
| | | var values = ''; |