Commit 674a8ec9 by zhengxiaokui

zxk

parent 90e76fae
......@@ -95,11 +95,11 @@
label-width="20px"
prop="didgrp.cbs.nom1.amt"
>
<c-input
<c-input-currency
v-model="model.didgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入信用证金额"
></c-input>
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
......
......@@ -67,7 +67,6 @@ export default {
};
},
methods: {
//金额格式化,默认保留三位小数
amtChanged(newamt) {
if (newamt === "" || newamt === undefined || newamt === null) {
......@@ -101,7 +100,7 @@ export default {
}
let amt = `${segs[0] ? segs[0] : 0}.${segs[1]}`;
_.set(this.model, this.message.amt, amt);
this.amt = amt;
this.amt = `${segs[0] ? npreseg : 0}.${segs[1]}`;
},
//禁止输入非数字
......@@ -126,8 +125,7 @@ export default {
computed: {},
watch: {},
// methods: { ...Event },
created: function () {
},
created: function () {},
};
</script>
<style>
......
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