|
@@ -11,11 +11,13 @@
|
|
<template #label1></template>
|
|
<template #label1></template>
|
|
<template #paperTypeBarcodeContentItem>
|
|
<template #paperTypeBarcodeContentItem>
|
|
<div class="flex items-center">
|
|
<div class="flex items-center">
|
|
- <a-input
|
|
|
|
|
|
+ <a-input-number
|
|
style="width: 200px"
|
|
style="width: 200px"
|
|
v-model:value="params.paperTypeBarcodeContentItem"
|
|
v-model:value="params.paperTypeBarcodeContentItem"
|
|
allow-clear
|
|
allow-clear
|
|
:disabled="!canEdit"
|
|
:disabled="!canEdit"
|
|
|
|
+ :min="0"
|
|
|
|
+ :controls="false"
|
|
/>
|
|
/>
|
|
<qm-button
|
|
<qm-button
|
|
class="m-l-8px"
|
|
class="m-l-8px"
|
|
@@ -210,6 +212,7 @@ const fields = computed(() => {
|
|
const addTag = () => {
|
|
const addTag = () => {
|
|
params.paperTypeBarcodeContent.push(params.paperTypeBarcodeContentItem);
|
|
params.paperTypeBarcodeContent.push(params.paperTypeBarcodeContentItem);
|
|
params.paperTypeBarcodeContentItem = "";
|
|
params.paperTypeBarcodeContentItem = "";
|
|
|
|
+ form.value.formRef.clearValidate(["paperTypeBarcodeContentItem"]);
|
|
};
|
|
};
|
|
const delTag = (index: number) => {
|
|
const delTag = (index: number) => {
|
|
params.paperTypeBarcodeContent.splice(index, 1);
|
|
params.paperTypeBarcodeContent.splice(index, 1);
|