This commit is contained in:
2026-10-26 13:58:52 +08:00
parent 7688f859c7
commit 6580853ad3
6 changed files with 28 additions and 15 deletions
@@ -111,6 +111,8 @@ describe('OrderDeclarationEditorDialog', () => {
expect(listWarehouseLogisticsChannels).toHaveBeenCalledWith('700000000000000001')
expect(wrapper.text()).toContain('国内收货仓和中转仓不可修改,如需变更请重新下单')
expect(wrapper.text()).toContain('RK-001')
expect(wrapper.get('.readonly-facts').text()).not.toContain('版本')
expect(wrapper.findComponent({ name: 'ElDescriptions' }).props('column')).toBe(3)
const volume = wrapper.findComponent({ name: 'ElInputNumber' })
expect(volume.props()).toMatchObject({ min: 0.0001, precision: 4, controls: false, modelValue: 0.625 })
volume.vm.$emit('update:modelValue', 0.875)