Commit 0acb5727 by jianglong

微调Ptsmsg.vue

parent 0163b136
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
v-model="model[argadr.url + 'ref']" v-model="model[argadr.url + 'ref']"
maxlength="16" maxlength="16"
:placeholder="'请输入' + argadr.title + '编号'" :placeholder="'请输入' + argadr.title + '编号'"
:disabled="disabled"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -16,6 +17,7 @@ ...@@ -16,6 +17,7 @@
v-model="model[argadr.url + 'nam']" v-model="model[argadr.url + 'nam']"
maxlength="40" maxlength="40"
:placeholder="'请输入' + argadr.title + '名称'" :placeholder="'请输入' + argadr.title + '名称'"
:disabled="disabled"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -28,14 +30,26 @@ import CommonProcess from "~/mixin/CommonProcess"; ...@@ -28,14 +30,26 @@ import CommonProcess from "~/mixin/CommonProcess";
export default { export default {
inject: ["root"], inject: ["root"],
mixins: [CommonProcess], mixins: [CommonProcess],
props: ["model", "codes", "argadr"], props: {
model: {
type: Object,
default: undefined,
},
codes: {},
argadr: {},
disabled: {
//名称地址是否灰显
type: Boolean,
default: false,
},
},
data() { data() {
return { return {
data: [], data: [],
}; };
}, },
watch: {}, watch: {},
// methods: { ...Event }, // methods: { ...Event },
created: function () {}, created: function () {},
}; };
</script> </script>
......
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