|  | @@ -11,19 +11,20 @@
 | 
											
												
													
														|  |            >返回列表
 |  |            >返回列表
 | 
											
												
													
														|  |          </el-button>
 |  |          </el-button>
 | 
											
												
													
														|  |        </div>
 |  |        </div>
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -      <el-button
 |  | 
 | 
											
												
													
														|  | -        class="add-customer-btn"
 |  | 
 | 
											
												
													
														|  | -        type="primary"
 |  | 
 | 
											
												
													
														|  | -        :disabled="disabled"
 |  | 
 | 
											
												
													
														|  | -        @click="editCustomer"
 |  | 
 | 
											
												
													
														|  | -        >{{ form.id ? "确认修改" : "确认新增" }}
 |  | 
 | 
											
												
													
														|  | -      </el-button>
 |  | 
 | 
											
												
													
														|  | -      <el-button class="flow-btn" type="primary" @click="openFlow"
 |  | 
 | 
											
												
													
														|  | -        >审 核
 |  | 
 | 
											
												
													
														|  | -      </el-button>
 |  | 
 | 
											
												
													
														|  | 
 |  | +      <div class="add-customer-btn">
 | 
											
												
													
														|  | 
 |  | +        <el-button type="primary" @click="openFlow" size="small"
 | 
											
												
													
														|  | 
 |  | +          >审 核
 | 
											
												
													
														|  | 
 |  | +        </el-button>
 | 
											
												
													
														|  | 
 |  | +        <el-button
 | 
											
												
													
														|  | 
 |  | +          type="primary"
 | 
											
												
													
														|  | 
 |  | +          :disabled="disabled"
 | 
											
												
													
														|  | 
 |  | +          @click="editCustomer"
 | 
											
												
													
														|  | 
 |  | +          size="small"
 | 
											
												
													
														|  | 
 |  | +          >{{ form.id ? "确认修改" : "确认新增" }}
 | 
											
												
													
														|  | 
 |  | +        </el-button>
 | 
											
												
													
														|  | 
 |  | +      </div>
 | 
											
												
													
														|  |      </div>
 |  |      </div>
 | 
											
												
													
														|  | -    <div style="margin-top: 60px">
 |  | 
 | 
											
												
													
														|  | 
 |  | +    <div class="customer-main">
 | 
											
												
													
														|  |        <el-form
 |  |        <el-form
 | 
											
												
													
														|  |          :model="form"
 |  |          :model="form"
 | 
											
												
													
														|  |          ref="form"
 |  |          ref="form"
 | 
											
										
											
												
													
														|  | @@ -31,7 +32,7 @@
 | 
											
												
													
														|  |          class="demo-ruleForm"
 |  |          class="demo-ruleForm"
 | 
											
												
													
														|  |        >
 |  |        >
 | 
											
												
													
														|  |          <containerTitle title="基础资料"></containerTitle>
 |  |          <containerTitle title="基础资料"></containerTitle>
 | 
											
												
													
														|  | -        <basic-container style="margin-bottom: 10px">
 |  | 
 | 
											
												
													
														|  | 
 |  | +        <basic-container>
 | 
											
												
													
														|  |            <el-row>
 |  |            <el-row>
 | 
											
												
													
														|  |              <el-col
 |  |              <el-col
 | 
											
												
													
														|  |                v-for="(item, index) in basicData.column"
 |  |                v-for="(item, index) in basicData.column"
 | 
											
										
											
												
													
														|  | @@ -61,7 +62,7 @@
 | 
											
												
													
														|  |                    multiple
 |  |                    multiple
 | 
											
												
													
														|  |                    style="width: 100%;"
 |  |                    style="width: 100%;"
 | 
											
												
													
														|  |                    size="small"
 |  |                    size="small"
 | 
											
												
													
														|  | -                  :props="{ label: 'name',value:'name' }"
 |  | 
 | 
											
												
													
														|  | 
 |  | +                  :props="{ label: 'name', value: 'name' }"
 | 
											
												
													
														|  |                    v-model="form[item.prop]"
 |  |                    v-model="form[item.prop]"
 | 
											
												
													
														|  |                    placeholder=" "
 |  |                    placeholder=" "
 | 
											
												
													
														|  |                    type="tree"
 |  |                    type="tree"
 | 
											
										
											
												
													
														|  | @@ -79,7 +80,7 @@
 | 
											
												
													
														|  |            </el-row>
 |  |            </el-row>
 | 
											
												
													
														|  |          </basic-container>
 |  |          </basic-container>
 | 
											
												
													
														|  |          <containerTitle title="联系方式"></containerTitle>
 |  |          <containerTitle title="联系方式"></containerTitle>
 | 
											
												
													
														|  | -        <basic-container style="margin-bottom: 10px">
 |  | 
 | 
											
												
													
														|  | 
 |  | +        <basic-container>
 | 
											
												
													
														|  |            <el-row>
 |  |            <el-row>
 | 
											
												
													
														|  |              <el-col
 |  |              <el-col
 | 
											
												
													
														|  |                v-for="(item, index) in contactInformation.column"
 |  |                v-for="(item, index) in contactInformation.column"
 | 
											
										
											
												
													
														|  | @@ -102,7 +103,7 @@
 | 
											
												
													
														|  |            </el-row>
 |  |            </el-row>
 | 
											
												
													
														|  |          </basic-container>
 |  |          </basic-container>
 | 
											
												
													
														|  |          <containerTitle title="财务资料"></containerTitle>
 |  |          <containerTitle title="财务资料"></containerTitle>
 | 
											
												
													
														|  | -        <basic-container style="margin-bottom: 10px">
 |  | 
 | 
											
												
													
														|  | 
 |  | +        <basic-container>
 | 
											
												
													
														|  |            <el-row>
 |  |            <el-row>
 | 
											
												
													
														|  |              <el-col
 |  |              <el-col
 | 
											
												
													
														|  |                v-for="(item, index) in financialInformation.column"
 |  |                v-for="(item, index) in financialInformation.column"
 | 
											
										
											
												
													
														|  | @@ -135,7 +136,7 @@
 | 
											
												
													
														|  |            </el-row>
 |  |            </el-row>
 | 
											
												
													
														|  |          </basic-container>
 |  |          </basic-container>
 | 
											
												
													
														|  |          <containerTitle title="客户联系人"></containerTitle>
 |  |          <containerTitle title="客户联系人"></containerTitle>
 | 
											
												
													
														|  | -        <basic-container style="margin-bottom: 10px">
 |  | 
 | 
											
												
													
														|  | 
 |  | +        <basic-container>
 | 
											
												
													
														|  |            <avue-crud
 |  |            <avue-crud
 | 
											
												
													
														|  |              :option="customerContact"
 |  |              :option="customerContact"
 | 
											
												
													
														|  |              v-model="contactsForm"
 |  |              v-model="contactsForm"
 | 
											
										
											
												
													
														|  | @@ -157,7 +158,7 @@
 | 
											
												
													
														|  |            ></avue-crud>
 |  |            ></avue-crud>
 | 
											
												
													
														|  |          </basic-container> -->
 |  |          </basic-container> -->
 | 
											
												
													
														|  |          <containerTitle title="客户开户行"></containerTitle>
 |  |          <containerTitle title="客户开户行"></containerTitle>
 | 
											
												
													
														|  | -        <basic-container style="margin-bottom: 40px">
 |  | 
 | 
											
												
													
														|  | 
 |  | +        <basic-container>
 | 
											
												
													
														|  |            <avue-crud
 |  |            <avue-crud
 | 
											
												
													
														|  |              :option="bankOfDeposit"
 |  |              :option="bankOfDeposit"
 | 
											
												
													
														|  |              v-model="bankOfDepositForm"
 |  |              v-model="bankOfDepositForm"
 | 
											
										
											
												
													
														|  | @@ -169,13 +170,8 @@
 | 
											
												
													
														|  |          </basic-container>
 |  |          </basic-container>
 | 
											
												
													
														|  |        </el-form>
 |  |        </el-form>
 | 
											
												
													
														|  |      </div>
 |  |      </div>
 | 
											
												
													
														|  | -    <flow-dialog
 |  | 
 | 
											
												
													
														|  | -      :switchDialog="switchDialog"
 |  | 
 | 
											
												
													
														|  | -      @onClose="onClose()"
 |  | 
 | 
											
												
													
														|  | -    >
 |  | 
 | 
											
												
													
														|  | -    <template slot="content">
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    </template>
 |  | 
 | 
											
												
													
														|  | 
 |  | +    <flow-dialog :switchDialog="switchDialog" @onClose="onClose()">
 | 
											
												
													
														|  | 
 |  | +      <template slot="content"> </template>
 | 
											
												
													
														|  |      </flow-dialog>
 |  |      </flow-dialog>
 | 
											
												
													
														|  |    </div>
 |  |    </div>
 | 
											
												
													
														|  |  </template>
 |  |  </template>
 | 
											
										
											
												
													
														|  | @@ -201,7 +197,7 @@ export default {
 | 
											
												
													
														|  |    name: "detailsPage",
 |  |    name: "detailsPage",
 | 
											
												
													
														|  |    data() {
 |  |    data() {
 | 
											
												
													
														|  |      return {
 |  |      return {
 | 
											
												
													
														|  | -      switchDialog:false,
 |  | 
 | 
											
												
													
														|  | 
 |  | +      switchDialog: false,
 | 
											
												
													
														|  |        form: {},
 |  |        form: {},
 | 
											
												
													
														|  |        disabled: false,
 |  |        disabled: false,
 | 
											
												
													
														|  |        contactsForm: {},
 |  |        contactsForm: {},
 | 
											
										
											
												
													
														|  | @@ -211,7 +207,7 @@ export default {
 | 
											
												
													
														|  |        advantageProjectData: [],
 |  |        advantageProjectData: [],
 | 
											
												
													
														|  |        bankOfDepositData: [],
 |  |        bankOfDepositData: [],
 | 
											
												
													
														|  |        dic: [],
 |  |        dic: [],
 | 
											
												
													
														|  | -      dicArea:[],
 |  | 
 | 
											
												
													
														|  | 
 |  | +      dicArea: [],
 | 
											
												
													
														|  |        customerContact: customerContact,
 |  |        customerContact: customerContact,
 | 
											
												
													
														|  |        advantageProject: advantageProject,
 |  |        advantageProject: advantageProject,
 | 
											
												
													
														|  |        bankOfDeposit: bankOfDeposit,
 |  |        bankOfDeposit: bankOfDeposit,
 | 
											
										
											
												
													
														|  | @@ -407,6 +403,10 @@ export default {
 | 
											
												
													
														|  |                  trigger: "blur"
 |  |                  trigger: "blur"
 | 
											
												
													
														|  |                }
 |  |                }
 | 
											
												
													
														|  |              ]
 |  |              ]
 | 
											
												
													
														|  | 
 |  | +          },
 | 
											
												
													
														|  | 
 |  | +          {
 | 
											
												
													
														|  | 
 |  | +            label: "FOB系数",
 | 
											
												
													
														|  | 
 |  | +            prop: "coefficient"
 | 
											
												
													
														|  |            }
 |  |            }
 | 
											
												
													
														|  |          ]
 |  |          ]
 | 
											
												
													
														|  |        },
 |  |        },
 | 
											
										
											
												
													
														|  | @@ -481,7 +481,7 @@ export default {
 | 
											
												
													
														|  |            {
 |  |            {
 | 
											
												
													
														|  |              label: "代理区域",
 |  |              label: "代理区域",
 | 
											
												
													
														|  |              prop: "belongtoarea",
 |  |              prop: "belongtoarea",
 | 
											
												
													
														|  | -            span:24,
 |  | 
 | 
											
												
													
														|  | 
 |  | +            span: 24,
 | 
											
												
													
														|  |              mock: {
 |  |              mock: {
 | 
											
												
													
														|  |                type: "county"
 |  |                type: "county"
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
										
											
												
													
														|  | @@ -497,9 +497,9 @@ export default {
 | 
											
												
													
														|  |      corpstypeTree().then(res => {
 |  |      corpstypeTree().then(res => {
 | 
											
												
													
														|  |        this.dic = res.data.data;
 |  |        this.dic = res.data.data;
 | 
											
												
													
														|  |      });
 |  |      });
 | 
											
												
													
														|  | -    areaTypeTree().then(res =>{
 |  | 
 | 
											
												
													
														|  | 
 |  | +    areaTypeTree().then(res => {
 | 
											
												
													
														|  |        this.dicArea = res.data.data;
 |  |        this.dicArea = res.data.data;
 | 
											
												
													
														|  | -    })
 |  | 
 | 
											
												
													
														|  | 
 |  | +    });
 | 
											
												
													
														|  |      if (this.$route.query.id) {
 |  |      if (this.$route.query.id) {
 | 
											
												
													
														|  |        let id = this.$route.query.id.replace(/\"/g, "");
 |  |        let id = this.$route.query.id.replace(/\"/g, "");
 | 
											
												
													
														|  |        // let id = parseInt(this.$route.query.id)
 |  |        // let id = parseInt(this.$route.query.id)
 | 
											
										
											
												
													
														|  | @@ -513,9 +513,9 @@ export default {
 | 
											
												
													
														|  |          delete this.form.corpsBankList;
 |  |          delete this.form.corpsBankList;
 | 
											
												
													
														|  |          delete this.form.corpsItems;
 |  |          delete this.form.corpsItems;
 | 
											
												
													
														|  |        });
 |  |        });
 | 
											
												
													
														|  | -    }else{
 |  | 
 | 
											
												
													
														|  | 
 |  | +    } else {
 | 
											
												
													
														|  |        //新增时根据左侧选中树结构给客户类别赋值
 |  |        //新增时根据左侧选中树结构给客户类别赋值
 | 
											
												
													
														|  | -      this.$set(this.form,"corpsTypeId", this.$route.query.treeDeptId)
 |  | 
 | 
											
												
													
														|  | 
 |  | +      this.$set(this.form, "corpsTypeId", this.$route.query.treeDeptId);
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    watch: {
 |  |    watch: {
 | 
											
										
											
												
													
														|  | @@ -647,7 +647,7 @@ export default {
 | 
											
												
													
														|  |              this.form.corpsTypeId = this.form.corpsTypeId.join(",");
 |  |              this.form.corpsTypeId = this.form.corpsTypeId.join(",");
 | 
											
												
													
														|  |            }
 |  |            }
 | 
											
												
													
														|  |            this.disabled = true;
 |  |            this.disabled = true;
 | 
											
												
													
														|  | -          if(this.form.belongtoarea){
 |  | 
 | 
											
												
													
														|  | 
 |  | +          if (this.form.belongtoarea) {
 | 
											
												
													
														|  |              this.form.belongtoarea = this.form.belongtoarea.toString();
 |  |              this.form.belongtoarea = this.form.belongtoarea.toString();
 | 
											
												
													
														|  |            }
 |  |            }
 | 
											
												
													
														|  |            typeSave(this.form).then(res => {
 |  |            typeSave(this.form).then(res => {
 | 
											
										
											
												
													
														|  | @@ -683,7 +683,7 @@ export default {
 | 
											
												
													
														|  |        });
 |  |        });
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      openFlow() {
 |  |      openFlow() {
 | 
											
												
													
														|  | -      this.switchDialog =! this.switchDialog;
 |  | 
 | 
											
												
													
														|  | 
 |  | +      this.switchDialog = !this.switchDialog;
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      onClose(val) {
 |  |      onClose(val) {
 | 
											
												
													
														|  |        this.switchDialog = val;
 |  |        this.switchDialog = val;
 | 
											
										
											
												
													
														|  | @@ -693,43 +693,6 @@ export default {
 | 
											
												
													
														|  |  </script>
 |  |  </script>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  <style lang="scss" scoped>
 |  |  <style lang="scss" scoped>
 | 
											
												
													
														|  | -.customer-head {
 |  | 
 | 
											
												
													
														|  | -  position: fixed;
 |  | 
 | 
											
												
													
														|  | -  top: 105px;
 |  | 
 | 
											
												
													
														|  | -  width: 100%;
 |  | 
 | 
											
												
													
														|  | -  margin-left: -10px;
 |  | 
 | 
											
												
													
														|  | -  height: 62px;
 |  | 
 | 
											
												
													
														|  | -  background: #ffffff;
 |  | 
 | 
											
												
													
														|  | -  box-shadow: 0 4px 12px 0px rgba(232, 232, 235, 1);
 |  | 
 | 
											
												
													
														|  | -  z-index: 999;
 |  | 
 | 
											
												
													
														|  | -  /* display: flex;
 |  | 
 | 
											
												
													
														|  | -  justify-content: left; */
 |  | 
 | 
											
												
													
														|  | -}
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -.customer-back {
 |  | 
 | 
											
												
													
														|  | -  cursor: pointer;
 |  | 
 | 
											
												
													
														|  | -  line-height: 62px;
 |  | 
 | 
											
												
													
														|  | -  font-size: 16px;
 |  | 
 | 
											
												
													
														|  | -  color: #323233;
 |  | 
 | 
											
												
													
														|  | -  font-weight: 400;
 |  | 
 | 
											
												
													
														|  | -}
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -.back-icon {
 |  | 
 | 
											
												
													
														|  | -  line-height: 64px;
 |  | 
 | 
											
												
													
														|  | -  font-size: 20px;
 |  | 
 | 
											
												
													
														|  | -  margin-right: 8px;
 |  | 
 | 
											
												
													
														|  | -}
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -.add-customer-btn {
 |  | 
 | 
											
												
													
														|  | -  position: fixed;
 |  | 
 | 
											
												
													
														|  | -  right: 36px;
 |  | 
 | 
											
												
													
														|  | -  top: 115px;
 |  | 
 | 
											
												
													
														|  | -}
 |  | 
 | 
											
												
													
														|  | -.flow-btn {
 |  | 
 | 
											
												
													
														|  | -  position: fixed;
 |  | 
 | 
											
												
													
														|  | -  right: 140px;
 |  | 
 | 
											
												
													
														|  | -  top: 115px;
 |  | 
 | 
											
												
													
														|  | -}
 |  | 
 | 
											
												
													
														|  |  ::v-deep .el-form-item {
 |  |  ::v-deep .el-form-item {
 | 
											
												
													
														|  |    margin-bottom: 0;
 |  |    margin-bottom: 0;
 | 
											
												
													
														|  |  }
 |  |  }
 |