Commit 8061efe3 by liaoxing

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents b0e67e58 d19d5a5f
......@@ -460,14 +460,12 @@ export default {
"model.ledgrp.rec.nomtop":{
immediate:true,
handler(val,old) {
console.log(val);
this.model.ledgrp.rec.nomtop = `${val}''`.replace(/\D/g, '');
}
},
"model.ledgrp.rec.nomton":{
immediate:true,
handler(val,old) {
console.log(val);
this.model.ledgrp.rec.nomton = `${val}''`.replace(/\D/g, '');
}
}
......@@ -479,6 +477,12 @@ export default {
}
},
},
created() {
var aData = new Date();
this.model.ledgrp.rec.opndat =
aData.getFullYear() + "-" + (aData.getMonth() + 1) + "-" + aData.getDate();
},
};
</script>
......
......@@ -83,7 +83,6 @@
style="width: 100%"
placeholder="币种"
:code="codes.curtxt1"
@keyup.enter.native="nom1CurEvent"
>
</c-select>
</el-form-item>
......@@ -98,6 +97,7 @@
v-model="model.lidgrp.cbs.nom1.amt"
style="text-align: left; width: 90%"
placeholder="请输入金额"
@change="nomtopChange"
></c-input-currency>
</el-form-item>
</c-col>
......@@ -629,11 +629,14 @@ export default {
});
}
},
handleChange(val) {
console.log(val);
},
created: function () {
var aData = new Date();
console.log(aData) //Wed Aug 21 2023 10:00:58 GMT+0800 (中国标准时间)
this.model.lidgrp.rec.opndat =
aData.getFullYear() + "-" + (aData.getMonth() + 1) + "-" + aData.getDate();
console.log(this.model.lidgrp.rec.opndat) //2019-8-20
},
created: function () {},
watch: {
"model.lidgrp.rec.apprul": {
immediate: true,
......
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