|
@@ -19,10 +19,12 @@
|
|
|
>保存数据
|
|
|
</el-button>
|
|
|
</div>
|
|
|
- <basic-container style="margin-top: 60px;">
|
|
|
- <avue-form ref="form" v-model="form" :option="option"> </avue-form>
|
|
|
+ <div class="customer-main">
|
|
|
+ <containerTitle title="基础资料"></containerTitle>
|
|
|
+ <basic-container>
|
|
|
+ <avue-form class="trading-form" ref="form" v-model="form" :option="option" />
|
|
|
</basic-container>
|
|
|
- <containerTitle title="基础资料"></containerTitle>
|
|
|
+ <containerTitle title="基础明细"></containerTitle>
|
|
|
<basic-container>
|
|
|
<avue-crud
|
|
|
ref="crud"
|
|
@@ -101,6 +103,7 @@
|
|
|
</p>
|
|
|
</el-dialog>
|
|
|
</basic-container>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -160,7 +163,7 @@ export default {
|
|
|
trigger: "blur"
|
|
|
}
|
|
|
],
|
|
|
- span: 8,
|
|
|
+ span: 6,
|
|
|
change: ({ value }) => {
|
|
|
if (value) {
|
|
|
this.optionList.column.forEach(e => {
|
|
@@ -184,7 +187,7 @@ export default {
|
|
|
label: "dictValue",
|
|
|
value: "dictKey"
|
|
|
},
|
|
|
- span: 8,
|
|
|
+ span: 6,
|
|
|
rules: [
|
|
|
{
|
|
|
required: true,
|
|
@@ -206,20 +209,18 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
- },
|
|
|
- row: true
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
label: "备注",
|
|
|
prop: "remarks",
|
|
|
type: "textarea",
|
|
|
- span: 24,
|
|
|
+ span: 12,
|
|
|
minRows: 2
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
optionList: {
|
|
|
- searchShow: false,
|
|
|
searchMenuSpan: 16,
|
|
|
addBtn: false,
|
|
|
border: true,
|
|
@@ -236,7 +237,7 @@ export default {
|
|
|
prop: "cname",
|
|
|
width: 100,
|
|
|
searchSpan: 8,
|
|
|
- search: true,
|
|
|
+ search: false,
|
|
|
cell: true
|
|
|
},
|
|
|
{
|
|
@@ -953,9 +954,9 @@ export default {
|
|
|
}
|
|
|
if (this.detailData.status == 1) {
|
|
|
this.option.disabled = true;
|
|
|
- this.optionList.searchShow = true;
|
|
|
+ this.findObject(this.optionList.column, "cname").search=true
|
|
|
}
|
|
|
- this.optionList.height = window.innerHeight - 430;
|
|
|
+ this.optionList.height = window.innerHeight - 380;
|
|
|
},
|
|
|
methods: {
|
|
|
cellStyle() {
|
|
@@ -1197,3 +1198,11 @@ export default {
|
|
|
background: #a4cf57 !important;
|
|
|
}
|
|
|
</style>
|
|
|
+<style lang="scss" scoped>
|
|
|
+.trading-form ::v-deep .el-form-item {
|
|
|
+ margin-bottom: 0px !important;
|
|
|
+}
|
|
|
+::v-deep .el-form-item__error {
|
|
|
+ display: none !important;
|
|
|
+}
|
|
|
+</style>
|