|  | @@ -14,16 +14,25 @@
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |              class="el-button--small-yh add-customer-btn"
 | 
	
		
			
				|  |  |              type="success"
 | 
	
		
			
				|  |  | -            :disabled="goodsForm.status === 1 || !goodsForm.id"
 | 
	
		
			
				|  |  | +            v-if="goodsForm.status === 0"
 | 
	
		
			
				|  |  |              size="small"
 | 
	
		
			
				|  |  |              style="margin-right: 70px;"
 | 
	
		
			
				|  |  | -            @click="submit"
 | 
	
		
			
				|  |  | +            @click="submit(true)"
 | 
	
		
			
				|  |  |          >提交
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |              class="el-button--small-yh add-customer-btn"
 | 
	
		
			
				|  |  | +            type="success"
 | 
	
		
			
				|  |  | +            v-if="goodsForm.status === 1"
 | 
	
		
			
				|  |  | +            size="small"
 | 
	
		
			
				|  |  | +            style="margin-right: 70px;"
 | 
	
		
			
				|  |  | +            @click="submit(false)"
 | 
	
		
			
				|  |  | +        >取消提交
 | 
	
		
			
				|  |  | +        </el-button>
 | 
	
		
			
				|  |  | +        <el-button
 | 
	
		
			
				|  |  | +            class="el-button--small-yh add-customer-btn"
 | 
	
		
			
				|  |  |              type="primary"
 | 
	
		
			
				|  |  | -            :disabled="goodsForm.status === 1"
 | 
	
		
			
				|  |  | +            :disabled="goodsForm.status === 1 || type"
 | 
	
		
			
				|  |  |              size="small"
 | 
	
		
			
				|  |  |              @click="editCustomer"
 | 
	
		
			
				|  |  |          >保存
 | 
	
	
		
			
				|  | @@ -82,6 +91,7 @@
 | 
	
		
			
				|  |  |              property="corpId"
 | 
	
		
			
				|  |  |              label="发货工厂"
 | 
	
		
			
				|  |  |              align="center"
 | 
	
		
			
				|  |  | +            :render-header="customTitle"
 | 
	
		
			
				|  |  |              width="280">
 | 
	
		
			
				|  |  |            <template slot-scope="scope">
 | 
	
		
			
				|  |  |              <crop-select
 | 
	
	
		
			
				|  | @@ -108,10 +118,10 @@
 | 
	
		
			
				|  |  |          <el-table-column
 | 
	
		
			
				|  |  |              property="address"
 | 
	
		
			
				|  |  |              align="center"
 | 
	
		
			
				|  |  | +            :render-header="customTitle"
 | 
	
		
			
				|  |  |              label="详细地址">
 | 
	
		
			
				|  |  |            <template slot-scope="scope">
 | 
	
		
			
				|  |  | -            <el-input v-model="scope.row.address" :disabled="goodsForm.status === 1" size="small"
 | 
	
		
			
				|  |  | -                      placeholder="请输入内容"></el-input>
 | 
	
		
			
				|  |  | +            <el-input v-model="scope.row.address" :disabled="goodsForm.status === 1" size="small" placeholder="请输入内容"></el-input>
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
		
			
				|  |  |        </el-table>
 | 
	
	
		
			
				|  | @@ -122,7 +132,20 @@
 | 
	
		
			
				|  |  |                   :option="entrustOptionTwo"
 | 
	
		
			
				|  |  |                   @row-save="(row,done,loading)=>{rowSave(row,0,done,loading)}"
 | 
	
		
			
				|  |  |                   @row-update="rowSave"
 | 
	
		
			
				|  |  | -                 @row-del="rowDel"></avue-crud>
 | 
	
		
			
				|  |  | +                 @row-del="rowDel">
 | 
	
		
			
				|  |  | +        <template slot="ctnTypeHeader" slot-scope="{column}">
 | 
	
		
			
				|  |  | +          {{ column.label }}<span style="color:#F56C6C">*</span>
 | 
	
		
			
				|  |  | +        </template>
 | 
	
		
			
				|  |  | +        <template slot="ctnQuantityHeader" slot-scope="{column}">
 | 
	
		
			
				|  |  | +          {{ column.label }}<span style="color:#F56C6C">*</span>
 | 
	
		
			
				|  |  | +        </template>
 | 
	
		
			
				|  |  | +        <template slot="landWeightHeader" slot-scope="{column}">
 | 
	
		
			
				|  |  | +          {{ column.label }}<span style="color:#F56C6C">*</span>
 | 
	
		
			
				|  |  | +        </template>
 | 
	
		
			
				|  |  | +        <template slot="landAmountDHeader" slot-scope="{column}">
 | 
	
		
			
				|  |  | +          {{ column.label }}<span style="color:#F56C6C">*</span>
 | 
	
		
			
				|  |  | +        </template>
 | 
	
		
			
				|  |  | +      </avue-crud>
 | 
	
		
			
				|  |  |      </basic-container>
 | 
	
		
			
				|  |  |      <basic-container v-if="goodsForm.status !== 0 && goodsForm.status">
 | 
	
		
			
				|  |  |        <avue-crud
 | 
	
	
		
			
				|  | @@ -142,7 +165,7 @@
 | 
	
		
			
				|  |  |          </template>
 | 
	
		
			
				|  |  |        </avue-crud>
 | 
	
		
			
				|  |  |      </basic-container>
 | 
	
		
			
				|  |  | -    <containerTitle title="货物信息"></containerTitle>
 | 
	
		
			
				|  |  | +    <containerTitle title="委托信息"></containerTitle>
 | 
	
		
			
				|  |  |      <basic-container>
 | 
	
		
			
				|  |  |        <avue-form :option="goodsOptionForm" ref="goodsForm" v-model="goodsForm">
 | 
	
		
			
				|  |  |          <template slot-scope="scope" slot="corpId">
 | 
	
	
		
			
				|  | @@ -150,8 +173,27 @@
 | 
	
		
			
				|  |  |                :disabled="goodsForm.status === 1"
 | 
	
		
			
				|  |  |                v-model="goodsForm.corpId"
 | 
	
		
			
				|  |  |                @getCorpData="getCorpData"
 | 
	
		
			
				|  |  | +              :corpType="'KH'"
 | 
	
		
			
				|  |  | +          ></crop-select>
 | 
	
		
			
				|  |  | +        </template>
 | 
	
		
			
				|  |  | +        <template slot-scope="scope" slot="agentId">
 | 
	
		
			
				|  |  | +          <crop-select
 | 
	
		
			
				|  |  | +              :disabled="goodsForm.status === 1"
 | 
	
		
			
				|  |  | +              v-model="goodsForm.agentId"
 | 
	
		
			
				|  |  |            ></crop-select>
 | 
	
		
			
				|  |  |          </template>
 | 
	
		
			
				|  |  | +        <template slot-scope="scope" slot="polId">
 | 
	
		
			
				|  |  | +          <port-info
 | 
	
		
			
				|  |  | +              v-model="goodsForm.polId"
 | 
	
		
			
				|  |  | +              :disabled="goodsForm.status === 1"
 | 
	
		
			
				|  |  | +          />
 | 
	
		
			
				|  |  | +        </template>
 | 
	
		
			
				|  |  | +        <template slot-scope="scope" slot="podId">
 | 
	
		
			
				|  |  | +          <port-info
 | 
	
		
			
				|  |  | +              v-model="goodsForm.podId"
 | 
	
		
			
				|  |  | +              :disabled="goodsForm.status === 1"
 | 
	
		
			
				|  |  | +          />
 | 
	
		
			
				|  |  | +        </template>
 | 
	
		
			
				|  |  |        </avue-form>
 | 
	
		
			
				|  |  |      </basic-container>
 | 
	
		
			
				|  |  |      <containerTitle title="费用明细"></containerTitle>
 | 
	
	
		
			
				|  | @@ -268,7 +310,7 @@ import {
 | 
	
		
			
				|  |  |    detailDelegationList,
 | 
	
		
			
				|  |  |    removeCollection,
 | 
	
		
			
				|  |  |    saveSaveList,
 | 
	
		
			
				|  |  | -  addressList
 | 
	
		
			
				|  |  | +  addressList, cancelSubmission
 | 
	
		
			
				|  |  |  } from "@/api/landTransportation";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  export default {
 | 
	
	
		
			
				|  | @@ -280,6 +322,7 @@ export default {
 | 
	
		
			
				|  |  |    data() {
 | 
	
		
			
				|  |  |      return {
 | 
	
		
			
				|  |  |        activeIndex: '1',
 | 
	
		
			
				|  |  | +      type:false,
 | 
	
		
			
				|  |  |        goodsForm: {},
 | 
	
		
			
				|  |  |        modelKey: 1,
 | 
	
		
			
				|  |  |        orderFilesList: [],
 | 
	
	
		
			
				|  | @@ -359,7 +402,7 @@ export default {
 | 
	
		
			
				|  |  |            precision: 6,
 | 
	
		
			
				|  |  |            type: 'number'
 | 
	
		
			
				|  |  |          }, {
 | 
	
		
			
				|  |  | -          label: '陆运费(D)',
 | 
	
		
			
				|  |  | +          label: '应收陆运费',
 | 
	
		
			
				|  |  |            prop: 'landAmountD'
 | 
	
		
			
				|  |  |          }, {
 | 
	
		
			
				|  |  |            label: '备注',
 | 
	
	
		
			
				|  | @@ -372,6 +415,7 @@ export default {
 | 
	
		
			
				|  |  |        goodsOptionForm: {
 | 
	
		
			
				|  |  |          menuBtn: false,
 | 
	
		
			
				|  |  |          disabled: false,
 | 
	
		
			
				|  |  | +        span: 8,
 | 
	
		
			
				|  |  |          column: [{
 | 
	
		
			
				|  |  |            label: '客户名称',
 | 
	
		
			
				|  |  |            formslot: true,
 | 
	
	
		
			
				|  | @@ -386,13 +430,13 @@ export default {
 | 
	
		
			
				|  |  |            formslot: true,
 | 
	
		
			
				|  |  |            prop: 'belongCompany',
 | 
	
		
			
				|  |  |            rules: [{
 | 
	
		
			
				|  |  | -            required: true,
 | 
	
		
			
				|  |  | +            required: false,
 | 
	
		
			
				|  |  |              message: " ",
 | 
	
		
			
				|  |  |              trigger: "blur"
 | 
	
		
			
				|  |  |            }],
 | 
	
		
			
				|  |  |          }, {
 | 
	
		
			
				|  |  |            label: '订单号',
 | 
	
		
			
				|  |  | -          prop: 'id',
 | 
	
		
			
				|  |  | +          prop: 'orderNo',
 | 
	
		
			
				|  |  |            disabled: true
 | 
	
		
			
				|  |  |          }, {
 | 
	
		
			
				|  |  |            label: '提单号',
 | 
	
	
		
			
				|  | @@ -406,7 +450,7 @@ export default {
 | 
	
		
			
				|  |  |            label: '场站',
 | 
	
		
			
				|  |  |            prop: 'station',
 | 
	
		
			
				|  |  |            rules: [{
 | 
	
		
			
				|  |  | -            required: true,
 | 
	
		
			
				|  |  | +            required: false,
 | 
	
		
			
				|  |  |              message: " ",
 | 
	
		
			
				|  |  |              trigger: "blur"
 | 
	
		
			
				|  |  |            }],
 | 
	
	
		
			
				|  | @@ -425,7 +469,7 @@ export default {
 | 
	
		
			
				|  |  |            label: '船名航次',
 | 
	
		
			
				|  |  |            prop: 'factory',
 | 
	
		
			
				|  |  |            rules: [{
 | 
	
		
			
				|  |  | -            required: true,
 | 
	
		
			
				|  |  | +            required: false,
 | 
	
		
			
				|  |  |              message: " ",
 | 
	
		
			
				|  |  |              trigger: "blur"
 | 
	
		
			
				|  |  |            }],
 | 
	
	
		
			
				|  | @@ -433,15 +477,35 @@ export default {
 | 
	
		
			
				|  |  |            label: '货物名称',
 | 
	
		
			
				|  |  |            prop: 'goods',
 | 
	
		
			
				|  |  |            rules: [{
 | 
	
		
			
				|  |  | -            required: true,
 | 
	
		
			
				|  |  | +            required: false,
 | 
	
		
			
				|  |  |              message: " ",
 | 
	
		
			
				|  |  |              trigger: "blur"
 | 
	
		
			
				|  |  |            }],
 | 
	
		
			
				|  |  |          }, {
 | 
	
		
			
				|  |  | +          label: '订舱代理',
 | 
	
		
			
				|  |  | +          prop: 'agentId'
 | 
	
		
			
				|  |  | +        }, {
 | 
	
		
			
				|  |  | +          label: '起运港',
 | 
	
		
			
				|  |  | +          prop: 'polId'
 | 
	
		
			
				|  |  | +        },{
 | 
	
		
			
				|  |  | +          label: '目的港',
 | 
	
		
			
				|  |  | +          prop: 'podId'
 | 
	
		
			
				|  |  | +        },{
 | 
	
		
			
				|  |  | +          label: '开船日期',
 | 
	
		
			
				|  |  | +          prop: 'etd',
 | 
	
		
			
				|  |  | +          type: 'date'
 | 
	
		
			
				|  |  | +        },{
 | 
	
		
			
				|  |  | +          label: '截关日期',
 | 
	
		
			
				|  |  | +          prop: 'etc',
 | 
	
		
			
				|  |  | +          type: 'date'
 | 
	
		
			
				|  |  | +        },{
 | 
	
		
			
				|  |  | +          label: '截单日期',
 | 
	
		
			
				|  |  | +          prop: 'siCutoffDate',
 | 
	
		
			
				|  |  | +          type: 'date'
 | 
	
		
			
				|  |  | +        }, {
 | 
	
		
			
				|  |  |            label: '备注',
 | 
	
		
			
				|  |  |            prop: 'remarks'
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -        ]
 | 
	
		
			
				|  |  | +        }]
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        entrustOptionTwo: {
 | 
	
		
			
				|  |  |          align: 'center',
 | 
	
	
		
			
				|  | @@ -468,6 +532,7 @@ export default {
 | 
	
		
			
				|  |  |              decimals: 0
 | 
	
		
			
				|  |  |            }],
 | 
	
		
			
				|  |  |          column: [{
 | 
	
		
			
				|  |  | +          // label: '尺寸箱型',
 | 
	
		
			
				|  |  |            label: '尺寸箱型',
 | 
	
		
			
				|  |  |            cell: true,
 | 
	
		
			
				|  |  |            prop: 'ctnType',
 | 
	
	
		
			
				|  | @@ -485,8 +550,8 @@ export default {
 | 
	
		
			
				|  |  |            controls: false,
 | 
	
		
			
				|  |  |            precision: 0,
 | 
	
		
			
				|  |  |            width: 100,
 | 
	
		
			
				|  |  | -          maxRows:999,
 | 
	
		
			
				|  |  | -          minRows:1,
 | 
	
		
			
				|  |  | +          maxRows: 999,
 | 
	
		
			
				|  |  | +          minRows: 1,
 | 
	
		
			
				|  |  |            type: 'number'
 | 
	
		
			
				|  |  |          }, {
 | 
	
		
			
				|  |  |            label: '总重量(吨)',
 | 
	
	
		
			
				|  | @@ -497,7 +562,7 @@ export default {
 | 
	
		
			
				|  |  |            precision: 6,
 | 
	
		
			
				|  |  |            type: 'number'
 | 
	
		
			
				|  |  |          }, {
 | 
	
		
			
				|  |  | -          label: '陆运费(D)',
 | 
	
		
			
				|  |  | +          label: '应收陆运费',
 | 
	
		
			
				|  |  |            cell: true,
 | 
	
		
			
				|  |  |            prop: 'landAmountD',
 | 
	
		
			
				|  |  |            controls: false,
 | 
	
	
		
			
				|  | @@ -704,6 +769,8 @@ export default {
 | 
	
		
			
				|  |  |          this.entrustList = res.data.data.orderItemList
 | 
	
		
			
				|  |  |          this.goodsList = res.data.data.orderItemList
 | 
	
		
			
				|  |  |          if (res.data.data.orderFeeList.length > 0) {
 | 
	
		
			
				|  |  | +          this.collectionList = []
 | 
	
		
			
				|  |  | +          this.paymentList = []
 | 
	
		
			
				|  |  |            res.data.data.orderFeeList.forEach(item => {
 | 
	
		
			
				|  |  |              if (item.type == 1) {
 | 
	
		
			
				|  |  |                this.collectionList.push(item)
 | 
	
	
		
			
				|  | @@ -719,16 +786,26 @@ export default {
 | 
	
		
			
				|  |  |          this.tableData.forEach(item => {
 | 
	
		
			
				|  |  |            if (item.region) item.region = item.region.split(',')
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  | +        this.type = false
 | 
	
		
			
				|  |  |        })
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      //提交委托
 | 
	
		
			
				|  |  | -    submit() {
 | 
	
		
			
				|  |  | -      saveDelegationList({
 | 
	
		
			
				|  |  | -        id: this.goodsForm.id
 | 
	
		
			
				|  |  | -      }).then(res => {
 | 
	
		
			
				|  |  | -        this.$message.success('提交成功');
 | 
	
		
			
				|  |  | -        this.refreshData()
 | 
	
		
			
				|  |  | -      })
 | 
	
		
			
				|  |  | +    submit(type) {
 | 
	
		
			
				|  |  | +      if (type) {
 | 
	
		
			
				|  |  | +        saveDelegationList({
 | 
	
		
			
				|  |  | +          id: this.goodsForm.id
 | 
	
		
			
				|  |  | +        }).then(res => {
 | 
	
		
			
				|  |  | +          this.$message.success('提交成功');
 | 
	
		
			
				|  |  | +          this.refreshData()
 | 
	
		
			
				|  |  | +        })
 | 
	
		
			
				|  |  | +      } else {
 | 
	
		
			
				|  |  | +        cancelSubmission({
 | 
	
		
			
				|  |  | +          id: this.goodsForm.id
 | 
	
		
			
				|  |  | +        }).then(res => {
 | 
	
		
			
				|  |  | +          this.$message.success('取消成功');
 | 
	
		
			
				|  |  | +          this.refreshData()
 | 
	
		
			
				|  |  | +        })
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      //切换收付费
 | 
	
		
			
				|  |  |      handleSelect(tab, event) {
 | 
	
	
		
			
				|  | @@ -784,18 +861,21 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      //保存
 | 
	
		
			
				|  |  |      editCustomer() {
 | 
	
		
			
				|  |  | -      this.$refs['goodsForm'].validate((valid,done) => {done()})
 | 
	
		
			
				|  |  | -      for (let item in this.tableData){
 | 
	
		
			
				|  |  | -        if (!this.tableData[item].corpId) return this.$message.error('请选择第'+ Number(Number(item)+1) +'行发货工厂');
 | 
	
		
			
				|  |  | -        if (!this.tableData[item].address) return this.$message.error('请输入第'+ Number(Number(item)+1) +'行详细地址');
 | 
	
		
			
				|  |  | +      this.$refs['goodsForm'].validate((valid, done) => {
 | 
	
		
			
				|  |  | +        done()
 | 
	
		
			
				|  |  | +      })
 | 
	
		
			
				|  |  | +      for (let item in this.tableData) {
 | 
	
		
			
				|  |  | +        if (!this.tableData[item].corpId) return this.$message.error('请选择第' + Number(Number(item) + 1) + '行发货工厂');
 | 
	
		
			
				|  |  | +        if (!this.tableData[item].address) return this.$message.error('请输入第' + Number(Number(item) + 1) + '行详细地址');
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | -      for (let item in this.entrustList){
 | 
	
		
			
				|  |  | -        if (!this.entrustList[item].ctnType) return this.$message.error('请选择第'+ Number(Number(item)+1) +'行尺寸箱型');
 | 
	
		
			
				|  |  | -        if (!this.entrustList[item].ctnQuantity) return this.$message.error('请输入第'+ Number(Number(item)+1) +'行箱量');
 | 
	
		
			
				|  |  | -        if (!this.entrustList[item].landWeight) return this.$message.error('请输入第'+ Number(Number(item)+1) +'行总重量');
 | 
	
		
			
				|  |  | -        if (!this.entrustList[item].landAmountD) return this.$message.error('请输入第'+ Number(Number(item)+1) +'陆运费');
 | 
	
		
			
				|  |  | +      for (let item in this.entrustList) {
 | 
	
		
			
				|  |  | +        if (!this.entrustList[item].ctnType) return this.$message.error('请选择第' + Number(Number(item) + 1) + '行尺寸箱型');
 | 
	
		
			
				|  |  | +        if (!this.entrustList[item].ctnQuantity) return this.$message.error('请输入第' + Number(Number(item) + 1) + '行箱量');
 | 
	
		
			
				|  |  | +        if (!this.entrustList[item].landWeight) return this.$message.error('请输入第' + Number(Number(item) + 1) + '行总重量');
 | 
	
		
			
				|  |  | +        if (!this.entrustList[item].landAmountD) return this.$message.error('请输入第' + Number(Number(item) + 1) + '陆运费');
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | -      this.$refs['goodsForm'].validate((valid,done) => {
 | 
	
		
			
				|  |  | +      if (this.entrustList.length === 0) return this.$message.error('箱信息不能为空')
 | 
	
		
			
				|  |  | +      this.$refs['goodsForm'].validate((valid, done) => {
 | 
	
		
			
				|  |  |          done();
 | 
	
		
			
				|  |  |          if (valid) {
 | 
	
		
			
				|  |  |            let data = JSON.parse(JSON.stringify(this.tableData))
 | 
	
	
		
			
				|  | @@ -803,6 +883,7 @@ export default {
 | 
	
		
			
				|  |  |              item.sort = index + 1
 | 
	
		
			
				|  |  |              if (item.region.length !== 0) item.region = item.region.join(',')
 | 
	
		
			
				|  |  |            })
 | 
	
		
			
				|  |  | +          this.type = true
 | 
	
		
			
				|  |  |            saveSaveList({
 | 
	
		
			
				|  |  |              ...this.goodsForm,
 | 
	
		
			
				|  |  |              kind: '1',
 | 
	
	
		
			
				|  | @@ -811,13 +892,12 @@ export default {
 | 
	
		
			
				|  |  |              orderFeeList: this.collectionList.concat(this.paymentList)
 | 
	
		
			
				|  |  |            }).then(res => {
 | 
	
		
			
				|  |  |              this.$message.success('保存成功');
 | 
	
		
			
				|  |  | -            // this.$refs.goodsForm.submitData()
 | 
	
		
			
				|  |  |              this.goodsForm = {}
 | 
	
		
			
				|  |  |              if (!this.goodsForm.id) {
 | 
	
		
			
				|  |  | -              // this.id = res.data.data
 | 
	
		
			
				|  |  | -              // this.refreshData()
 | 
	
		
			
				|  |  | +              this.id = res.data.data
 | 
	
		
			
				|  |  | +              this.refreshData()
 | 
	
		
			
				|  |  |              } else {
 | 
	
		
			
				|  |  | -              // this.refreshData()
 | 
	
		
			
				|  |  | +              this.refreshData()
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |            })
 | 
	
		
			
				|  |  |          } else {
 | 
	
	
		
			
				|  | @@ -905,7 +985,7 @@ export default {
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        if (row.belongtoarea) {
 | 
	
		
			
				|  |  | -        addressList(row.belongtoarea).then(res => {
 | 
	
		
			
				|  |  | +        addressList(row.belongtoarea.split(',')[0]).then(res => {
 | 
	
		
			
				|  |  |            this.tableData[scope.$index].region = [res.data.data.provinceCode, res.data.data.parentId, res.data.data.districtCode]
 | 
	
		
			
				|  |  |            scope.row.key++
 | 
	
		
			
				|  |  |          })
 | 
	
	
		
			
				|  | @@ -921,10 +1001,18 @@ export default {
 | 
	
		
			
				|  |  |              </el-tooltip>
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |        )
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    //自定义表头
 | 
	
		
			
				|  |  | +    customTitle(h, {column, $index}) {
 | 
	
		
			
				|  |  | +      let text = column.label
 | 
	
		
			
				|  |  | +      return (
 | 
	
		
			
				|  |  | +          <div>
 | 
	
		
			
				|  |  | +            {{text}}<span style="color:#F56C6C">*</span>
 | 
	
		
			
				|  |  | +          </div>
 | 
	
		
			
				|  |  | +      )
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  </script>
 | 
	
		
			
				|  |  |  <style scoped>
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  </style>
 |