Commit 66ecfcd5 by WuBing

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 8397408b 73ee48a2
......@@ -13,8 +13,9 @@
<c-col :span="24">
<el-form-item label="国家编号" prop="codBopcty">
<c-input
v-model="model.codBopcty"
v-model="model.bopcod"
placeholder="请输入国家编号"
disabled=true
>
</c-input>
</el-form-item>
......
......@@ -53,6 +53,26 @@ export const Pattern = {
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
],
"bopcod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"codBopcty": [
{ "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"numcodBopcty": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"txtBopcty": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 80, "message": "最大长度80个字符", "trigger": "blur" }
],
"fultxtBopcty": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 100, "message": "最大长度100个字符", "trigger": "blur" }
],
}
......@@ -111,6 +111,7 @@ export default {
commitAdd() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
this.model.codBopcty=this.model.bopcod;
add(this.model)
.then((res) => {
this.$message.success("保存成功!");
......
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