diff --git a/src/styles/mdp.scss b/src/styles/mdp.scss
index 1d58d4a6..bed912ca 100644
--- a/src/styles/mdp.scss
+++ b/src/styles/mdp.scss
@@ -323,3 +323,15 @@ table tr.hover-row{
.title-font-size{
font-size:28px;
}
+
+.title-box:hover.el-input >>> .el-input__inner{
+ border: 1px solid #dcdfe6 !important;
+padding:0 0px;
+font-size:1.5rem;
+
+}
+.title-box.el-input >>> .el-input__inner{
+ border: 0px solid #dcdfe6 !important;
+ padding:0 1px;
+ font-size:1.5rem;
+}
diff --git a/src/views/xm/core/xmProduct/XmProductEdit.vue b/src/views/xm/core/xmProduct/XmProductEdit.vue
index 042874fb..aff42d50 100644
--- a/src/views/xm/core/xmProduct/XmProductEdit.vue
+++ b/src/views/xm/core/xmProduct/XmProductEdit.vue
@@ -6,12 +6,12 @@
:model="editForm"
label-width="120px"
:rules="editFormRules"
- label-position="left"
+ label-position="top"
ref="editForm"
>
-
- 产品代号:
- {{ editForm.code }}
+ 产品代号:
+ {{ editForm.code }} 产品编号:
{{ editForm.id }}
@@ -19,14 +19,21 @@
content="产品代号用于签订合同等甲乙方共享的场景;产品编号为内部编号,用于内部流转,编号生成规则:产品代号+四位随机码 "
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
-
-
-
-
+
@@ -110,8 +109,7 @@ import {
editXmProduct,
editSomeFields,
} from "@/api/xm/core/xmProduct";
-import { mapGetters } from "vuex";
-import UsersSelect from "@/views/mdp/sys/user/UsersSelect";
+import { mapGetters } from "vuex";
export default {
computed: {
@@ -301,23 +299,12 @@ export default {
});
}
});
- },
- showUserVisible(userType) {
- this.currUserType = userType;
- this.userSelectVisible = true;
- },
- //选择人员
- onUserSelected: function (users) {
- this.userSelectVisible = false;
- var user = { userid: "", username: "" };
- if (users && users.length > 0) {
- user = users[0];
- }
- this.editSomeFields(this.editForm, this.currUserType, user);
- this.currUserType = "";
- },
+ },
editSomeFields(row, fieldName, $event) {
+ if(this.opType==='add'){
+ return;
+ }
let params = {};
params["ids"] = [row].map((i) => i.id);
if (fieldName == "adminUserid") {
@@ -358,9 +345,7 @@ export default {
},
/**end 在上面加自定义方法**/
}, //end method
- components: {
- //在下面添加其它组件 'xm-product-edit':XmProductEdit
- UsersSelect,
+ components: {
},
mounted() {
this.editForm = this.xmProduct;
@@ -371,5 +356,17 @@ export default {
};
-
\ No newline at end of file