Commit e456cdeb by SunJie

交货期限

parent 4fdcf63b
...@@ -959,6 +959,7 @@ function checkDidgrpRecTenmaxdayN1000(rule, value, callback) { ...@@ -959,6 +959,7 @@ function checkDidgrpRecTenmaxdayN1000(rule, value, callback) {
const that = this; const that = this;
that.exeuteCheck("didgrp.rec.tenmaxday").then(res => { that.exeuteCheck("didgrp.rec.tenmaxday").then(res => {
//TODO //TODO
Utils.copyValueFromVO(this.model, res.data)
callback() callback()
}) })
} }
......
...@@ -347,7 +347,7 @@ function defaultDidgrpRecTenmaxday(rule, value, callback) { ...@@ -347,7 +347,7 @@ function defaultDidgrpRecTenmaxday(rule, value, callback) {
const that = this; const that = this;
that.executeDefault("didgrp.blk.defdet").then(res => { that.executeDefault("didgrp.blk.defdet").then(res => {
//TODO //TODO
that.model.didgrp.blk.defdet = res.data.didgrp_blk_defdet; Utils.copyValueFromVO(this.model, res.data)
callback() callback()
}) })
} }
......
...@@ -284,8 +284,8 @@ export default { ...@@ -284,8 +284,8 @@ export default {
"didgrp.rec.tenmaxday": [ "didgrp.rec.tenmaxday": [
{ type: "string", required: true, message: "必输项", trigger: "blur" }, { type: 'number', required: true, message: "必输项", trigger: "blur" },
{ max: 3, message: "长度不能超过3", trigger: "blur" } // { max: 3, message: "长度不能超过3", trigger: "blur" },
], ],
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</el-form-item> </el-form-item>
<el-form-item label="付款期限" prop="didgrp.rec.tenmaxday" @keyup.enter.native="recTenmaxdayEvent"> <el-form-item label="付款期限" prop="didgrp.rec.tenmaxday" @keyup.enter.native="recTenmaxdayEvent">
<c-input :disabled="model.didgrp.rec.avbby == 'P'" v-model="model.didgrp.rec.tenmaxday" placeholder="请输入" style="width:15%"></c-input> <c-input :disabled="model.didgrp.rec.avbby == 'P'" v-model.number="model.didgrp.rec.tenmaxday" placeholder="请输入" style="width:15%" maxlength="3"></c-input>
</el-form-item> </el-form-item>
<el-form-item label="远期付款指示" prop="didgrp.blk.defdet"> <el-form-item label="远期付款指示" prop="didgrp.blk.defdet">
......
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