|  | @@ -102,20 +102,23 @@
 | 
	
		
			
				|  |  |                              <dic-select style="margin-right: 4px;" v-model="form.srcType" placeholder="业务来源" key="dictKey"
 | 
	
		
			
				|  |  |                                  keyValue="dictKey" label="dictValue"
 | 
	
		
			
				|  |  |                                  url="/blade-system/dict-biz/dictionary?code=source_Type" :filterable="true"
 | 
	
		
			
				|  |  | -                                :disabled="editDisabled" @selectChange="dicChange('srcType', $event)"></dic-select>
 | 
	
		
			
				|  |  | +                                :disabled="editDisabled || form.dispatchVehiclesList.findIndex(item => item.whetherDispatchVehicles == '1') !== -1"
 | 
	
		
			
				|  |  | +                                @selectChange="dicChange('srcType', $event)"></dic-select>
 | 
	
		
			
				|  |  |                              <el-input v-show="!form.srcType" v-model="form.srcCnName" placeholder="请选择" :disabled="true">
 | 
	
		
			
				|  |  |                              </el-input>
 | 
	
		
			
				|  |  |                              <dic-select v-show="form.srcType == 'OWN'" v-model="form.srcCnName" placeholder="所属公司" key="id"
 | 
	
		
			
				|  |  |                                  label="deptName" url="/blade-system/dept/lazy-list?parentId=0" :filterable="true"
 | 
	
		
			
				|  |  | -                                @selectChange="dicChange('srcCnName', $event)" :disabled="editDisabled"></dic-select>
 | 
	
		
			
				|  |  | +                                @selectChange="dicChange('srcCnName', $event)"
 | 
	
		
			
				|  |  | +                                :disabled="editDisabled || form.dispatchVehiclesList.findIndex(item => item.whetherDispatchVehicles == '1') !== -1"></dic-select>
 | 
	
		
			
				|  |  |                              <dic-select v-show="form.srcType == 'AGENT'" v-model="form.srcCnName" placeholder="代理" key="id"
 | 
	
		
			
				|  |  |                                  label="cnName" res="records" url="/blade-los/bcorps/listByType?corpTypeName=代理客户"
 | 
	
		
			
				|  |  |                                  :filterable="true" :remote="true" dataName="cnName"
 | 
	
		
			
				|  |  | -                                @selectChange="dicChange('srcCnName', $event)" :disabled="editDisabled"></dic-select>
 | 
	
		
			
				|  |  | +                                @selectChange="dicChange('srcCnName', $event)"
 | 
	
		
			
				|  |  | +                                :disabled="editDisabled || form.dispatchVehiclesList.findIndex(item => item.whetherDispatchVehicles == '1') !== -1"></dic-select>
 | 
	
		
			
				|  |  |                              <dic-select v-show="form.srcType == 'SALES'" v-model="form.srcCnName" placeholder="业务员" key="id"
 | 
	
		
			
				|  |  |                                  label="realName" res="records" url="/blade-user/page" :filterable="true" :remote="true"
 | 
	
		
			
				|  |  |                                  dataName="realName" @selectChange="dicChange('srcCnName', $event)"
 | 
	
		
			
				|  |  | -                                :disabled="editDisabled"></dic-select>
 | 
	
		
			
				|  |  | +                                :disabled="editDisabled || form.dispatchVehiclesList.findIndex(item => item.whetherDispatchVehicles == '1') !== -1"></dic-select>
 | 
	
		
			
				|  |  |                          </div>
 | 
	
		
			
				|  |  |                      </tempalte>
 | 
	
		
			
				|  |  |                      <tempalte slot="hshipperCnName">
 | 
	
	
		
			
				|  | @@ -185,6 +188,10 @@
 | 
	
		
			
				|  |  |                          <span style="color: #1e9fff;cursor: pointer;" @click="inJump('HSCODE')">{{ (column || {}).label
 | 
	
		
			
				|  |  |                          }}</span>
 | 
	
		
			
				|  |  |                      </template>
 | 
	
		
			
				|  |  | +                    <template slot="goodsTypeHeader" slot-scope="{column}">
 | 
	
		
			
				|  |  | +                        <span style="color: #1e9fff;cursor: pointer;" @click="inJump('类型')">{{ (column || {}).label
 | 
	
		
			
				|  |  | +                        }}</span>
 | 
	
		
			
				|  |  | +                    </template>
 | 
	
		
			
				|  |  |                      <template slot="index" slot-scope="{row,index}">
 | 
	
		
			
				|  |  |                          <span>{{ index + 1 }}</span>
 | 
	
		
			
				|  |  |                      </template>
 | 
	
	
		
			
				|  | @@ -212,9 +219,9 @@
 | 
	
		
			
				|  |  |                          <span v-else>{{ row.goodsName }}</span>
 | 
	
		
			
				|  |  |                      </template>
 | 
	
		
			
				|  |  |                      <tempalte slot="goodsType" slot-scope="{ row }">
 | 
	
		
			
				|  |  | -                        <dic-select v-if="row.$cellEdit && !row.srcId" v-model="row.goodsType" placeholder="类型"
 | 
	
		
			
				|  |  | -                            key="dictKey" label="dictValue" url="/blade-system/dict-biz/dictionary?code=goods-type"
 | 
	
		
			
				|  |  | -                            :filterable="true"></dic-select>
 | 
	
		
			
				|  |  | +                        <dic-select  v-if="row.$cellEdit && !row.srcId" v-model="row.goodsType"
 | 
	
		
			
				|  |  | +                            placeholder="类型" key="dictKey" label="dictValue"
 | 
	
		
			
				|  |  | +                            url="/blade-system/dict-biz/dictionary?code=goods-type" :filterable="true"></dic-select>
 | 
	
		
			
				|  |  |                          <span v-else>{{ row.goodsType }}</span>
 | 
	
		
			
				|  |  |                      </tempalte>
 | 
	
		
			
				|  |  |                      <tempalte slot="number" slot-scope="{ row }">
 | 
	
	
		
			
				|  | @@ -307,6 +314,10 @@
 | 
	
		
			
				|  |  |                  <avue-crud :option="option3" :data="form.inStorageList" id="out-table" ref="crud3"
 | 
	
		
			
				|  |  |                      @selection-change="selectionChange" @resetColumn="resetColumn('crud3', 'option3', 'optionBack3', 390)"
 | 
	
		
			
				|  |  |                      @saveColumn="saveColumn('crud3', 'option3', 'optionBack3', 390)">
 | 
	
		
			
				|  |  | +                    <template slot="storageUnitHeader" slot-scope="{column}">
 | 
	
		
			
				|  |  | +                        <span style="color: #1e9fff;cursor: pointer;" @click="inJump('入库单位')">{{ (column || {}).label
 | 
	
		
			
				|  |  | +                        }}</span>
 | 
	
		
			
				|  |  | +                    </template>
 | 
	
		
			
				|  |  |                      <template slot="warehouseName" slot-scope="{ row }">
 | 
	
		
			
				|  |  |                          <dic-select v-if="row.$cellEdit" v-model="row.warehouseName" placeholder="入库" key="id" label="cname"
 | 
	
		
			
				|  |  |                              url="/blade-los/storage/list" res="records" :filterable="true" :remote="true" dataName="cname"
 | 
	
	
		
			
				|  | @@ -403,6 +414,8 @@
 | 
	
		
			
				|  |  |                  <el-button type="primary" @click="boxSubmit(boxForm)">确 定</el-button>
 | 
	
		
			
				|  |  |              </span>
 | 
	
		
			
				|  |  |          </el-dialog>
 | 
	
		
			
				|  |  | +        <dictbiz-dialog ref="dictbiz" :title="dicTitle" :code="dicCode" :parentId="parentId" @closed="getAllWorkDicts">
 | 
	
		
			
				|  |  | +        </dictbiz-dialog>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -419,6 +432,9 @@ export default {
 | 
	
		
			
				|  |  |      name: "detailsPage",
 | 
	
		
			
				|  |  |      data() {
 | 
	
		
			
				|  |  |          return {
 | 
	
		
			
				|  |  | +            dicTitle:null,
 | 
	
		
			
				|  |  | +            parentId: null,
 | 
	
		
			
				|  |  | +            dicCode:null,
 | 
	
		
			
				|  |  |              carForm: {
 | 
	
		
			
				|  |  |                  // id: null,
 | 
	
		
			
				|  |  |                  // inspectionFleetId: null,
 | 
	
	
		
			
				|  | @@ -1028,7 +1044,7 @@ export default {
 | 
	
		
			
				|  |  |              optionBack2: {
 | 
	
		
			
				|  |  |                  height: 'auto',
 | 
	
		
			
				|  |  |                  calcHeight: 30,
 | 
	
		
			
				|  |  | -                menuWidth: 320,
 | 
	
		
			
				|  |  | +                menuWidth: 360,
 | 
	
		
			
				|  |  |                  tip: false,
 | 
	
		
			
				|  |  |                  border: true,
 | 
	
		
			
				|  |  |                  index: true,
 | 
	
	
		
			
				|  | @@ -1542,6 +1558,23 @@ export default {
 | 
	
		
			
				|  |  |                      query: { type: 'new' },
 | 
	
		
			
				|  |  |                  })
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | +            if (name == '类型') {
 | 
	
		
			
				|  |  | +                this.$refs.dictbiz.open()
 | 
	
		
			
				|  |  | +                this.dicTitle='添加类型'
 | 
	
		
			
				|  |  | +                this.parentId = '1813125517193330690'
 | 
	
		
			
				|  |  | +                this.dicCode = 'goods-type'
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            if (name == '入库单位') {
 | 
	
		
			
				|  |  | +                this.$router.push({
 | 
	
		
			
				|  |  | +                    path: "/iosBasicData/bunits/index",
 | 
	
		
			
				|  |  | +                    query: { type: 'new' },
 | 
	
		
			
				|  |  | +                })
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +        getAllWorkDicts() {
 | 
	
		
			
				|  |  | +            this.dicTitle=null
 | 
	
		
			
				|  |  | +            this.parentId = null
 | 
	
		
			
				|  |  | +            this.dicCode = null
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          getDetaiByMblno(billNo) {
 | 
	
		
			
				|  |  |              this.editButton = true
 |