Commit 582e30f8 by liuliufashi

update

parent 97e78bec
...@@ -25,13 +25,13 @@ ...@@ -25,13 +25,13 @@
<div style="display: flex;height: 40px;"> <div style="display: flex;height: 40px;">
<a-radio value="0" style="width:150px;">商品默认金额</a-radio> <a-radio value="0" style="width:150px;">商品默认金额</a-radio>
<a-input-number style="width:200px;height: 35px;" v-model:value="price" :formatter="value => `${value}`.replace(/\B(?=(\d{3})+(?!\d))/g, ',')" <a-input-number style="width:200px;height: 35px;" v-model:value="price" :formatter="value => `${value}`.replace(/\B(?=(\d{3})+(?!\d))/g, ',')"
:parser="value => value.replace(/\$\s?|(,*)/g, '')" :disabled="true" /> :parser="value => value.replace(/\$\s?|(,*)/g, '')" :disabled="true" />
<div style="width:50px;"></div> <div style="width:50px;"></div>
</div> </div>
<div style="display: flex;height: 40px;margin-top: 20px;"> <div style="display: flex;height: 40px;margin-top: 20px;">
<a-radio value="1" style="width:150px;">自定义金额</a-radio> <a-radio value="1" style="width:150px;">自定义金额</a-radio>
<a-input-number style="width:200px;height: 35px;" v-model:value="priceSet" :formatter="value => `${value}`.replace(/\B(?=(\d{3})+(?!\d))/g, ',')" <a-input-number style="width:200px;height: 35px;" v-model:value="priceSet" :formatter="value => `${value}`.replace(/\B(?=(\d{3})+(?!\d))/g, ',')"
:parser="value => value.replace(/\$\s?|(,*)/g, '')"/> :parser="value => value.replace(/\$\s?|(,*)/g, '')"/>
<div style="width:50px;"></div> <div style="width:50px;"></div>
</div> </div>
</a-radio-group> </a-radio-group>
...@@ -117,7 +117,7 @@ interface FormState { ...@@ -117,7 +117,7 @@ interface FormState {
remark:string, remark:string,
} }
const visible = ref<boolean>(false); const visible = ref<boolean>(false);
const list = ref([]) const list = ref<any>([])
const optionss = ref<any>([]) const optionss = ref<any>([])
let goodspayditch = ref([{}]) let goodspayditch = ref([{}])
const props = defineProps(); const props = defineProps();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment