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