|
@@ -39,343 +39,538 @@
|
|
|
>
|
|
|
<span v-show="this.$route.query.warehouseType == 2">(临)</span>
|
|
|
</h2>
|
|
|
- <ws-info-table>
|
|
|
- <!--合同编号-->
|
|
|
- <ws-form-item label="合同编号" span="1" prop="contractNo">
|
|
|
- <el-select
|
|
|
- filterable
|
|
|
- :filter-method="dataFilter1"
|
|
|
- v-model="deptBudgetList.contractNo"
|
|
|
- placeholder="请选择合同编号或移库任务编号"
|
|
|
- class="typeselect"
|
|
|
- @change="contractNoChange"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="item in options1"
|
|
|
- :key="item.constKey"
|
|
|
- :label="item.contractNo"
|
|
|
- :value="item.contractNo"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </ws-form-item>
|
|
|
- <!-- 货名 -->
|
|
|
- <ws-form-item label="货名" span="1">
|
|
|
- <ws-select
|
|
|
- disabled
|
|
|
- v-model="deptBudgetList.goodsName"
|
|
|
- placeholder
|
|
|
- class="typeselect"
|
|
|
- @change="selectgoodsName"
|
|
|
- >
|
|
|
- <ws-option
|
|
|
- v-for="item in goodnameList"
|
|
|
- :key="item.constKey"
|
|
|
- :label="item.constValue"
|
|
|
- :value="item.constValue"
|
|
|
- />
|
|
|
- </ws-select>
|
|
|
- </ws-form-item>
|
|
|
- <ws-form-item label="提示" span="1" prop="tips">
|
|
|
- <ws-input onmouseover="this.title=this.value" v-model="deptBudgetList.tips"
|
|
|
- maxlength="20" size="small" />
|
|
|
- </ws-form-item>
|
|
|
- <ws-form-item label="类型" span="1" prop="type">
|
|
|
- <ws-select disabled v-model="deptBudgetList.type" @change="typeChange">
|
|
|
- <ws-option
|
|
|
- v-for="item in typeList"
|
|
|
- :key="item"
|
|
|
- :label="item"
|
|
|
- :value="item"
|
|
|
- />
|
|
|
- </ws-select>
|
|
|
- </ws-form-item>
|
|
|
- <!--毛重(吨)-->
|
|
|
- <ws-form-item label="毛重(吨)" span="1" prop="grossWeight">
|
|
|
- <ws-input
|
|
|
- @input="grossWeightchange"
|
|
|
- v-model="deptBudgetList.grossWeight"
|
|
|
- placeholder="请输入毛重"
|
|
|
- maxlength="20"
|
|
|
- type="number"
|
|
|
- @mousewheel.native.prevent
|
|
|
- size="small"
|
|
|
- />
|
|
|
- </ws-form-item>
|
|
|
-
|
|
|
- <!--皮重(吨)-->
|
|
|
- <ws-form-item
|
|
|
- label="皮重(吨)"
|
|
|
- span="1"
|
|
|
- prop="tare"
|
|
|
- class="readonly"
|
|
|
- >
|
|
|
- <ws-input
|
|
|
- @input="tarechange"
|
|
|
- v-model="deptBudgetList.tare"
|
|
|
- placeholder="请输入皮重"
|
|
|
- type="number"
|
|
|
- @mousewheel.native.prevent
|
|
|
- maxlength="100"
|
|
|
- size="small"
|
|
|
- />
|
|
|
- </ws-form-item>
|
|
|
- <ws-form-item
|
|
|
- label="扣重(吨)"
|
|
|
- span="1"
|
|
|
- prop="deductionWeight"
|
|
|
- class="readonly"
|
|
|
- >
|
|
|
- <ws-input
|
|
|
- @input="tarechange"
|
|
|
- v-model="deptBudgetList.deductionWeight"
|
|
|
- placeholder="请输入扣重"
|
|
|
- type="number"
|
|
|
- @mousewheel.native.prevent
|
|
|
- maxlength="100"
|
|
|
- size="small"
|
|
|
- />
|
|
|
- </ws-form-item>
|
|
|
- <!--净重(吨)-->
|
|
|
- <ws-form-item label="净重(吨)" span="1" prop="netWeight">
|
|
|
- <ws-input
|
|
|
- readonly="readonly"
|
|
|
- v-model="deptBudgetList.netWeight"
|
|
|
- placeholder="不可编辑,自动计算"
|
|
|
- maxlength="120"
|
|
|
- size="small"
|
|
|
- />
|
|
|
- </ws-form-item>
|
|
|
- <ws-form-item
|
|
|
- v-if="deptBudgetList.type == '潮粮'"
|
|
|
- label="扣重比"
|
|
|
- span="1"
|
|
|
- prop="buckleWeightRatio"
|
|
|
- class="readonly"
|
|
|
- >
|
|
|
- <ws-input
|
|
|
- @input="pureweight"
|
|
|
- v-model="deptBudgetList.buckleWeightRatio"
|
|
|
- placeholder="请输入扣重比"
|
|
|
- type="number"
|
|
|
- @mousewheel.native.prevent
|
|
|
- maxlength="100"
|
|
|
- size="small"
|
|
|
- />
|
|
|
- </ws-form-item>
|
|
|
- <ws-form-item
|
|
|
- v-if="deptBudgetList.type == '潮粮'"
|
|
|
- label="干粮水分占比"
|
|
|
- span="1"
|
|
|
- prop="solidGrainWater"
|
|
|
- class="readonly"
|
|
|
- >
|
|
|
- <ws-input
|
|
|
- @input="pureweight"
|
|
|
- v-model="deptBudgetList.solidGrainWater"
|
|
|
- placeholder="请输入干粮水分占比"
|
|
|
- maxlength="100"
|
|
|
- type="number"
|
|
|
- @mousewheel.native.prevent
|
|
|
- size="small"
|
|
|
- />
|
|
|
- </ws-form-item>
|
|
|
- <ws-form-item
|
|
|
- v-if="deptBudgetList.type == '潮粮'"
|
|
|
- label="潮粮水分占比"
|
|
|
- span="1"
|
|
|
- prop="tidalGrainWater"
|
|
|
- class="readonly"
|
|
|
- >
|
|
|
- <ws-input
|
|
|
- @input="pureweight(1)"
|
|
|
- v-model="deptBudgetList.tidalGrainWater"
|
|
|
- placeholder="请输入潮粮水分占比"
|
|
|
- maxlength="100"
|
|
|
- type="number"
|
|
|
- @mousewheel.native.prevent
|
|
|
- size="small"
|
|
|
- />
|
|
|
- </ws-form-item>
|
|
|
- <ws-form-item
|
|
|
- v-if="deptBudgetList.type == '潮粮'"
|
|
|
- label="纯重"
|
|
|
- span="1"
|
|
|
- prop="pureWeight"
|
|
|
- class="readonly"
|
|
|
- >
|
|
|
- <ws-input
|
|
|
- disabled
|
|
|
- v-model="deptBudgetList.pureWeight"
|
|
|
- placeholder="不可编辑,自动计算"
|
|
|
- maxlength="100"
|
|
|
- size="small"
|
|
|
- />
|
|
|
- </ws-form-item>
|
|
|
- <!--净重(吨)-->
|
|
|
- <ws-form-item label="扣款(元/吨)" span="1" prop="deductionAmount">
|
|
|
- <ws-input
|
|
|
- @input="kkInput(deptBudgetList.deductionAmount)"
|
|
|
- v-model="deptBudgetList.deductionAmount"
|
|
|
- placeholder="请输入扣款金额"
|
|
|
- maxlength="120"
|
|
|
- size="small"
|
|
|
- />
|
|
|
- </ws-form-item>
|
|
|
- <!-- 品级 -->
|
|
|
- <ws-form-item label="品级" span="1" class="readonly">
|
|
|
- <ws-select
|
|
|
- v-model="deptBudgetList.grade"
|
|
|
- placeholder
|
|
|
- class="typeselect"
|
|
|
- @change="selectpackingMethod"
|
|
|
- >
|
|
|
- <ws-option
|
|
|
- v-for="item in gradeList"
|
|
|
- :key="item.constKey"
|
|
|
- :label="item.constValue"
|
|
|
- :value="item.constValue"
|
|
|
- />
|
|
|
- </ws-select>
|
|
|
- </ws-form-item>
|
|
|
-
|
|
|
- <!--经办人-->
|
|
|
- <ws-form-item label="经办人" span="1" prop="agent">
|
|
|
- <el-select
|
|
|
- v-model="deptBudgetList.agent"
|
|
|
- placeholder="请选择经办人"
|
|
|
- filterable
|
|
|
- clearable
|
|
|
- @change="selectstaff"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="item in options"
|
|
|
- :key="item.value"
|
|
|
- :label="item.staffName"
|
|
|
- :value="item.staffName"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </ws-form-item>
|
|
|
- <!--出库日期-->
|
|
|
- <ws-form-item
|
|
|
- label="入库日期"
|
|
|
- span="1"
|
|
|
- prop="inOutDate"
|
|
|
- class="deliverydate"
|
|
|
- >
|
|
|
- <el-date-picker
|
|
|
- v-model="deptBudgetList.inOutDate"
|
|
|
- placeholder="请选择入库日期"
|
|
|
- type="date"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- ></el-date-picker>
|
|
|
- </ws-form-item>
|
|
|
- <!-- 入库类型 -->
|
|
|
- <ws-form-item label="入库类型" span="1">
|
|
|
- <ws-select
|
|
|
- v-model="deptBudgetList.inOutType"
|
|
|
- placeholder
|
|
|
- class="typeselect"
|
|
|
- @change="selectstorageType"
|
|
|
- :disabled="isSelectType"
|
|
|
- >
|
|
|
- <ws-option
|
|
|
- v-for="item in storageType"
|
|
|
- :key="item.constKey"
|
|
|
- :label="item.constValue"
|
|
|
- :value="item.constValue"
|
|
|
- />
|
|
|
- </ws-select>
|
|
|
- </ws-form-item>
|
|
|
-
|
|
|
- <!--车牌号 -->
|
|
|
- <ws-form-item label="车牌号" span="1" prop="carNo">
|
|
|
- <ws-input
|
|
|
- v-if="!carstatus"
|
|
|
- v-model="deptBudgetList.carNo"
|
|
|
- placeholder="请输入车牌号"
|
|
|
- maxlength="7"
|
|
|
- size="small"
|
|
|
- />
|
|
|
- <el-select
|
|
|
- v-if="carstatus"
|
|
|
- filterable
|
|
|
- clearable
|
|
|
- :filter-method="dataFilter2"
|
|
|
- v-model="deptBudgetList.carNo"
|
|
|
- placeholder="请选择车牌号"
|
|
|
- class="typeselect"
|
|
|
- @change="carChange"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="item in options2"
|
|
|
- :key="item.constKey"
|
|
|
- :label="item.carNo + '(' + item.tranCarNo + ')'"
|
|
|
- :value="item.carNo"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </ws-form-item>
|
|
|
- <ws-form-item label="箱号-1" span="1" prop="boxNo">
|
|
|
- <ws-input v-model="deptBudgetList.boxNo" placeholder="请输入箱号" maxlength="20"
|
|
|
- size="small" />
|
|
|
- </ws-form-item>
|
|
|
- <ws-form-item label="箱号-2" span="1" prop="boxNoOther">
|
|
|
- <ws-input v-model="deptBudgetList.boxNoOther" placeholder="请输入箱号" maxlength="20"
|
|
|
- size="small" />
|
|
|
- </ws-form-item>
|
|
|
- <ws-form-item label="封号-1" span="1" prop="titleNo">
|
|
|
- <ws-input v-model="deptBudgetList.titleNo" placeholder="请输入封号" maxlength="20"
|
|
|
- size="small" />
|
|
|
- </ws-form-item>
|
|
|
- <ws-form-item label="封号-2" span="1" prop="titleNoOther">
|
|
|
- <ws-input v-model="deptBudgetList.titleNoOther" placeholder="请输入封号" maxlength="20"
|
|
|
- size="small" />
|
|
|
- </ws-form-item>
|
|
|
- <ws-form-item label="车厢号-1" span="1" prop="wingNumber">
|
|
|
- <ws-input v-model="deptBudgetList.wingNumber" placeholder="请输入车厢号" maxlength="20"
|
|
|
- size="small" />
|
|
|
- </ws-form-item>
|
|
|
- <ws-form-item label="车厢号-2" span="1" prop="wingNumberOther">
|
|
|
- <ws-input v-model="deptBudgetList.wingNumberOther" placeholder="请输入车厢号" maxlength="20"
|
|
|
- size="small" />
|
|
|
- </ws-form-item>
|
|
|
- <ws-form-item label="成本" span="1" prop="cost">
|
|
|
- <ws-input
|
|
|
- :disabled="disabled1"
|
|
|
- v-model="deptBudgetList.cost"
|
|
|
- placeholder="请输入成本"
|
|
|
- size="small"
|
|
|
- type="number"
|
|
|
- @mousewheel.native.prevent
|
|
|
- />
|
|
|
- <img
|
|
|
- width="17"
|
|
|
- height="18"
|
|
|
- style="vertical-align: text-top; position: relative; top: -1px"
|
|
|
- src="../../../public/img/edit.png"
|
|
|
- @click="editClick(1)"
|
|
|
- alt=""
|
|
|
- />
|
|
|
- </ws-form-item>
|
|
|
- <ws-form-item label="运费" span="1" prop="freight">
|
|
|
- <ws-input
|
|
|
- :disabled="disabled2"
|
|
|
- v-model="deptBudgetList.freight"
|
|
|
- placeholder="请输入运费"
|
|
|
- size="small"
|
|
|
- type="number"
|
|
|
- @mousewheel.native.prevent
|
|
|
- />
|
|
|
- <img
|
|
|
- width="17"
|
|
|
- height="18"
|
|
|
- style="vertical-align: text-top; position: relative; top: -1px"
|
|
|
- src="../../../public/img/edit.png"
|
|
|
- @click="editClick(2)"
|
|
|
- alt=""
|
|
|
- />
|
|
|
- </ws-form-item>
|
|
|
- <!-- onkeyup="value=value.replace(/[^\A-\Z0-9\u4E00-\u9FA5\.]/g,'')" -->
|
|
|
+ <div class="flex">
|
|
|
+ <div class="left" style='width:66.6666%;'>
|
|
|
+ <ws-info-table>
|
|
|
+ <!--合同编号-->
|
|
|
+ <ws-form-item label="合同编号" span="1" prop="contractNo">
|
|
|
+ <el-select
|
|
|
+ filterable
|
|
|
+ :filter-method="dataFilter1"
|
|
|
+ v-model="deptBudgetList.contractNo"
|
|
|
+ placeholder="请选择合同编号或移库任务编号"
|
|
|
+ class="typeselect"
|
|
|
+ @change="contractNoChange"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in options1"
|
|
|
+ :key="item.constKey"
|
|
|
+ :label="item.contractNo"
|
|
|
+ :value="item.contractNo"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </ws-form-item>
|
|
|
+ <!--毛重(吨)-->
|
|
|
+ <ws-form-item label="毛重(吨)" span="1" prop="grossWeight">
|
|
|
+ <ws-input
|
|
|
+ @input="grossWeightchange"
|
|
|
+ v-model="deptBudgetList.grossWeight"
|
|
|
+ placeholder="请输入毛重"
|
|
|
+ maxlength="20"
|
|
|
+ type="number"
|
|
|
+ @mousewheel.native.prevent
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <!-- 货名 -->
|
|
|
+ <ws-form-item label="货名" span="1">
|
|
|
+ <ws-select
|
|
|
+ disabled
|
|
|
+ v-model="deptBudgetList.goodsName"
|
|
|
+ placeholder
|
|
|
+ class="typeselect"
|
|
|
+ @change="selectgoodsName"
|
|
|
+ >
|
|
|
+ <ws-option
|
|
|
+ v-for="item in goodnameList"
|
|
|
+ :key="item.constKey"
|
|
|
+ :label="item.constValue"
|
|
|
+ :value="item.constValue"
|
|
|
+ />
|
|
|
+ </ws-select>
|
|
|
+ </ws-form-item>
|
|
|
+ <!--皮重(吨)-->
|
|
|
+ <ws-form-item
|
|
|
+ label="皮重(吨)"
|
|
|
+ span="1"
|
|
|
+ prop="tare"
|
|
|
+ class="readonly"
|
|
|
+ >
|
|
|
+ <ws-input
|
|
|
+ @input="tarechange"
|
|
|
+ v-model="deptBudgetList.tare"
|
|
|
+ placeholder="请输入皮重"
|
|
|
+ type="number"
|
|
|
+ @mousewheel.native.prevent
|
|
|
+ maxlength="100"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item label="提示" span="1" prop="tips">
|
|
|
+ <ws-input onmouseover="this.title=this.value" v-model="deptBudgetList.tips"
|
|
|
+ maxlength="20" size="small" />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item
|
|
|
+ label="扣重(吨)"
|
|
|
+ span="1"
|
|
|
+ prop="deductionWeight"
|
|
|
+ class="readonly"
|
|
|
+ >
|
|
|
+ <ws-input
|
|
|
+ @input="tarechange"
|
|
|
+ v-model="deptBudgetList.deductionWeight"
|
|
|
+ placeholder="请输入扣重"
|
|
|
+ type="number"
|
|
|
+ @mousewheel.native.prevent
|
|
|
+ maxlength="100"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item label="类型" span="1" prop="type">
|
|
|
+ <ws-select disabled v-model="deptBudgetList.type" @change="typeChange">
|
|
|
+ <ws-option
|
|
|
+ v-for="item in typeList"
|
|
|
+ :key="item"
|
|
|
+ :label="item"
|
|
|
+ :value="item"
|
|
|
+ />
|
|
|
+ </ws-select>
|
|
|
+ </ws-form-item>
|
|
|
+ <!--净重(吨)-->
|
|
|
+ <ws-form-item label="净重(吨)" span="1" prop="netWeight">
|
|
|
+ <ws-input
|
|
|
+ readonly="readonly"
|
|
|
+ v-model="deptBudgetList.netWeight"
|
|
|
+ placeholder="不可编辑,自动计算"
|
|
|
+ maxlength="120"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <!-- <ws-form-item
|
|
|
+ v-if="deptBudgetList.type == '潮粮'"
|
|
|
+ label="扣重比"
|
|
|
+ span="1"
|
|
|
+ prop="buckleWeightRatio"
|
|
|
+ class="readonly"
|
|
|
+ >
|
|
|
+ <ws-input
|
|
|
+ @input="pureweight"
|
|
|
+ v-model="deptBudgetList.buckleWeightRatio"
|
|
|
+ placeholder="请输入扣重比"
|
|
|
+ type="number"
|
|
|
+ @mousewheel.native.prevent
|
|
|
+ maxlength="100"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item
|
|
|
+ v-if="deptBudgetList.type == '潮粮'"
|
|
|
+ label="干粮水分占比"
|
|
|
+ span="1"
|
|
|
+ prop="solidGrainWater"
|
|
|
+ class="readonly"
|
|
|
+ >
|
|
|
+ <ws-input
|
|
|
+ @input="pureweight"
|
|
|
+ v-model="deptBudgetList.solidGrainWater"
|
|
|
+ placeholder="请输入干粮水分占比"
|
|
|
+ maxlength="100"
|
|
|
+ type="number"
|
|
|
+ @mousewheel.native.prevent
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item
|
|
|
+ v-if="deptBudgetList.type == '潮粮'"
|
|
|
+ label="潮粮水分占比"
|
|
|
+ span="1"
|
|
|
+ prop="tidalGrainWater"
|
|
|
+ class="readonly"
|
|
|
+ >
|
|
|
+ <ws-input
|
|
|
+ @input="pureweight(1)"
|
|
|
+ v-model="deptBudgetList.tidalGrainWater"
|
|
|
+ placeholder="请输入潮粮水分占比"
|
|
|
+ maxlength="100"
|
|
|
+ type="number"
|
|
|
+ @mousewheel.native.prevent
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item
|
|
|
+ v-if="deptBudgetList.type == '潮粮'"
|
|
|
+ label="纯重"
|
|
|
+ span="1"
|
|
|
+ prop="pureWeight"
|
|
|
+ class="readonly"
|
|
|
+ >
|
|
|
+ <ws-input
|
|
|
+ disabled
|
|
|
+ v-model="deptBudgetList.pureWeight"
|
|
|
+ placeholder="不可编辑,自动计算"
|
|
|
+ maxlength="100"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item> -->
|
|
|
+ <!-- 品级 -->
|
|
|
+ <ws-form-item label="品级" span="1" class="readonly">
|
|
|
+ <ws-select
|
|
|
+ v-model="deptBudgetList.grade"
|
|
|
+ placeholder
|
|
|
+ class="typeselect"
|
|
|
+ @change="selectpackingMethod"
|
|
|
+ >
|
|
|
+ <ws-option
|
|
|
+ v-for="item in gradeList"
|
|
|
+ :key="item.constKey"
|
|
|
+ :label="item.constValue"
|
|
|
+ :value="item.constValue"
|
|
|
+ />
|
|
|
+ </ws-select>
|
|
|
+ </ws-form-item>
|
|
|
+ <!--净重(吨)-->
|
|
|
+ <ws-form-item label="扣款(元/吨)" span="1" prop="deductionAmount">
|
|
|
+ <ws-input
|
|
|
+ @input="kkInput(deptBudgetList.deductionAmount)"
|
|
|
+ v-model="deptBudgetList.deductionAmount"
|
|
|
+ placeholder="请输入扣款金额"
|
|
|
+ maxlength="120"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <!--经办人-->
|
|
|
+ <ws-form-item label="经办人" span="1" prop="agent">
|
|
|
+ <el-select
|
|
|
+ v-model="deptBudgetList.agent"
|
|
|
+ placeholder="请选择经办人"
|
|
|
+ filterable
|
|
|
+ clearable
|
|
|
+ @change="selectstaff"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in options"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.staffName"
|
|
|
+ :value="item.staffName"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item
|
|
|
+ label="入库日期"
|
|
|
+ span="1"
|
|
|
+ prop="inOutDate"
|
|
|
+ class="deliverydate"
|
|
|
+ >
|
|
|
+ <el-date-picker
|
|
|
+ v-model="deptBudgetList.inOutDate"
|
|
|
+ placeholder="请选择入库日期"
|
|
|
+ type="date"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ ></el-date-picker>
|
|
|
+ </ws-form-item>
|
|
|
+ <!-- 入库类型 -->
|
|
|
+ <ws-form-item label="入库类型" span="1">
|
|
|
+ <ws-select
|
|
|
+ v-model="deptBudgetList.inOutType"
|
|
|
+ placeholder
|
|
|
+ class="typeselect"
|
|
|
+ @change="selectstorageType"
|
|
|
+ :disabled="isSelectType"
|
|
|
+ >
|
|
|
+ <ws-option
|
|
|
+ v-for="item in storageType"
|
|
|
+ :key="item.constKey"
|
|
|
+ :label="item.constValue"
|
|
|
+ :value="item.constValue"
|
|
|
+ />
|
|
|
+ </ws-select>
|
|
|
+ </ws-form-item>
|
|
|
</ws-info-table>
|
|
|
+ </div>
|
|
|
+ <div class="right" style='width:33.3333%;'>
|
|
|
+ <ws-info-table>
|
|
|
+ <ws-form-item label="成本" span="1" prop="cost">
|
|
|
+ <ws-input
|
|
|
+ :disabled="disabled1"
|
|
|
+ v-model="deptBudgetList.cost"
|
|
|
+ placeholder="请输入成本"
|
|
|
+ size="small"
|
|
|
+ type="number"
|
|
|
+ @mousewheel.native.prevent
|
|
|
+ />
|
|
|
+ <img
|
|
|
+ width="17"
|
|
|
+ height="18"
|
|
|
+ style="vertical-align: text-top; position: relative; top: -1px"
|
|
|
+ src="../../../public/img/edit.png"
|
|
|
+ @click="editClick(1)"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item label="运费" span="1" prop="freight">
|
|
|
+ <ws-input
|
|
|
+ :disabled="disabled2"
|
|
|
+ v-model="deptBudgetList.freight"
|
|
|
+ placeholder="请输入运费"
|
|
|
+ size="small"
|
|
|
+ type="number"
|
|
|
+ @mousewheel.native.prevent
|
|
|
+ />
|
|
|
+ <img
|
|
|
+ width="17"
|
|
|
+ height="18"
|
|
|
+ style="vertical-align: text-top; position: relative; top: -1px"
|
|
|
+ src="../../../public/img/edit.png"
|
|
|
+ @click="editClick(2)"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item label="运输方式" span="1" prop="outType">
|
|
|
+ <el-select
|
|
|
+ v-model="deptBudgetList.outType"
|
|
|
+ placeholder="请选择运输方式"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in multiSelector"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.name"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </ws-form-item>
|
|
|
+ <!-- <ws-form-item label="车牌号" span="1" prop="carNo">
|
|
|
+ <ws-input
|
|
|
+ v-if="!carstatus"
|
|
|
+ v-model="deptBudgetList.carNo"
|
|
|
+ placeholder="请输入车牌号"
|
|
|
+ maxlength="7"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ <el-select
|
|
|
+ v-if="carstatus"
|
|
|
+ filterable
|
|
|
+ clearable
|
|
|
+ :filter-method="dataFilter2"
|
|
|
+ v-model="deptBudgetList.carNo"
|
|
|
+ placeholder="请选择车牌号"
|
|
|
+ class="typeselect"
|
|
|
+ @change="carChange"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in options2"
|
|
|
+ :key="item.constKey"
|
|
|
+ :label="item.carNo + '(' + item.tranCarNo + ')'"
|
|
|
+ :value="item.carNo"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item label="箱号-1" span="1" prop="boxNo">
|
|
|
+ <ws-input v-model="deptBudgetList.boxNo" placeholder="请输入箱号" maxlength="20"
|
|
|
+ size="small" />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item label="箱号-2" span="1" prop="boxNoOther">
|
|
|
+ <ws-input v-model="deptBudgetList.boxNoOther" placeholder="请输入箱号" maxlength="20"
|
|
|
+ size="small" />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item label="封号-1" span="1" prop="titleNo">
|
|
|
+ <ws-input v-model="deptBudgetList.titleNo" placeholder="请输入封号" maxlength="20"
|
|
|
+ size="small" />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item label="封号-2" span="1" prop="titleNoOther">
|
|
|
+ <ws-input v-model="deptBudgetList.titleNoOther" placeholder="请输入封号" maxlength="20"
|
|
|
+ size="small" />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item label="车厢号-1" span="1" prop="wingNumber">
|
|
|
+ <ws-input v-model="deptBudgetList.wingNumber" placeholder="请输入车厢号" maxlength="20"
|
|
|
+ size="small" />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item label="车厢号-2" span="1" prop="wingNumberOther">
|
|
|
+ <ws-input v-model="deptBudgetList.wingNumberOther" placeholder="请输入车厢号" maxlength="20"
|
|
|
+ size="small" />
|
|
|
+ </ws-form-item> -->
|
|
|
+ <!--车牌号 -->
|
|
|
+ <ws-form-item
|
|
|
+ label="车牌号"
|
|
|
+ span="1"
|
|
|
+ prop="carNo"
|
|
|
+ v-if="
|
|
|
+ deptBudgetList.outType == '汽运' ||
|
|
|
+ deptBudgetList.outType == '集装箱船'
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <ws-input
|
|
|
+ v-if="options2.length==0"
|
|
|
+ v-model="deptBudgetList.carNo"
|
|
|
+ placeholder="请输入车牌号"
|
|
|
+ maxlength="7"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ <el-select
|
|
|
+ v-if='carstatus&&options2.length>0'
|
|
|
+ filterable
|
|
|
+ :filter-method="dataFilter2"
|
|
|
+ v-model="deptBudgetList.carNo"
|
|
|
+ placeholder="请选择车牌号"
|
|
|
+ class="typeselect"
|
|
|
+ @change="carChange"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in options2"
|
|
|
+ :key="item.constKey"
|
|
|
+ :label="item.carNo + '(' + item.tranCarNo + ')'"
|
|
|
+ :value="item.carNo"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ <el-select
|
|
|
+ v-if='!carstatus&&options2.length>0'
|
|
|
+ filterable
|
|
|
+ :filter-method="dataFilter2"
|
|
|
+ v-model="deptBudgetList.carNo"
|
|
|
+ placeholder="请选择车牌号"
|
|
|
+ class="typeselect"
|
|
|
+ @change="carChange"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in options2"
|
|
|
+ :key="item.constKey"
|
|
|
+ :label="item.carNo"
|
|
|
+ :value="item.carNo"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </ws-form-item>
|
|
|
+ <!--船名 -->
|
|
|
+ <ws-form-item
|
|
|
+ label="船名"
|
|
|
+ span="1"
|
|
|
+ prop="carNo"
|
|
|
+ v-if="deptBudgetList.outType == '散船'"
|
|
|
+ >
|
|
|
+ <ws-input
|
|
|
+ v-model="deptBudgetList.carNo"
|
|
|
+ placeholder="请输入船名"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item
|
|
|
+ label="航次"
|
|
|
+ span="1"
|
|
|
+ prop="shipNumber"
|
|
|
+ v-if="deptBudgetList.outType == '散船'"
|
|
|
+ >
|
|
|
+ <ws-input
|
|
|
+ v-model="deptBudgetList.shipNumber"
|
|
|
+ placeholder="请输入航次"
|
|
|
+ maxlength="20"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <!--车号 -->
|
|
|
+ <ws-form-item
|
|
|
+ label="车号"
|
|
|
+ span="1"
|
|
|
+ prop="carNo"
|
|
|
+ v-if="deptBudgetList.outType == '火运'"
|
|
|
+ >
|
|
|
+ <ws-input
|
|
|
+ v-model="deptBudgetList.carNo"
|
|
|
+ placeholder="请输入车号"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item
|
|
|
+ label="箱号-1"
|
|
|
+ span="1"
|
|
|
+ prop="boxNo"
|
|
|
+ v-if="
|
|
|
+ deptBudgetList.outType == '汽运' ||
|
|
|
+ deptBudgetList.outType == '集装箱船'
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <ws-input
|
|
|
+ v-model="deptBudgetList.boxNo"
|
|
|
+ placeholder="请输入箱号"
|
|
|
+ maxlength="20"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item
|
|
|
+ label="箱号-2"
|
|
|
+ span="1"
|
|
|
+ prop="boxNoOther"
|
|
|
+ v-if="
|
|
|
+ deptBudgetList.outType == '汽运' ||
|
|
|
+ deptBudgetList.outType == '集装箱船'
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <ws-input
|
|
|
+ v-model="deptBudgetList.boxNoOther"
|
|
|
+ placeholder="请输入箱号"
|
|
|
+ maxlength="20"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item
|
|
|
+ label="封号-1"
|
|
|
+ span="1"
|
|
|
+ prop="titleNo"
|
|
|
+ v-if="
|
|
|
+ deptBudgetList.outType == '汽运' ||
|
|
|
+ deptBudgetList.outType == '集装箱船'
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <ws-input
|
|
|
+ v-model="deptBudgetList.titleNo"
|
|
|
+ placeholder="请输入封号"
|
|
|
+ maxlength="20"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item
|
|
|
+ label="封号-2"
|
|
|
+ span="1"
|
|
|
+ prop="titleNoOther"
|
|
|
+ v-if="
|
|
|
+ deptBudgetList.outType == '汽运' ||
|
|
|
+ deptBudgetList.outType == '集装箱船'
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <ws-input
|
|
|
+ v-model="deptBudgetList.titleNoOther"
|
|
|
+ placeholder="请输入封号"
|
|
|
+ maxlength="20"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item
|
|
|
+ label="车厢号-1"
|
|
|
+ span="1"
|
|
|
+ prop="wingNumber"
|
|
|
+ v-if="deptBudgetList.outType == '火运'"
|
|
|
+ >
|
|
|
+ <ws-input
|
|
|
+ v-model="deptBudgetList.wingNumber"
|
|
|
+ placeholder="请输入车厢号"
|
|
|
+ maxlength="20"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <ws-form-item
|
|
|
+ label="车厢号-2"
|
|
|
+ span="1"
|
|
|
+ prop="wingNumberOther"
|
|
|
+ v-if="deptBudgetList.outType == '火运'"
|
|
|
+ >
|
|
|
+ <ws-input
|
|
|
+ v-model="deptBudgetList.wingNumberOther"
|
|
|
+ placeholder="请输入车厢号"
|
|
|
+ maxlength="20"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </ws-form-item>
|
|
|
+ <!-- onkeyup="value=value.replace(/[^\A-\Z0-9\u4E00-\u9FA5\.]/g,'')" -->
|
|
|
+ </ws-info-table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div
|
|
|
v-show="
|
|
|
this.$route.query.warehouseType == 2 &&
|
|
@@ -621,6 +816,24 @@ export default {
|
|
|
options: [],
|
|
|
options1: [],
|
|
|
options2: [],
|
|
|
+ multiSelector: [
|
|
|
+ {
|
|
|
+ name: '汽运',
|
|
|
+ value: '0',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '火运',
|
|
|
+ value: '1',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '集装箱船',
|
|
|
+ value: '2',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '散船',
|
|
|
+ value: '3',
|
|
|
+ },
|
|
|
+ ],
|
|
|
outContractNo1: [],
|
|
|
outContractNo: [],
|
|
|
|
|
@@ -2090,18 +2303,39 @@ export default {
|
|
|
.ws-info-table {
|
|
|
border: none;
|
|
|
}
|
|
|
+ .left{
|
|
|
+ .el-form-item {
|
|
|
+ width: 50%;
|
|
|
+ // width: 33.3333%;
|
|
|
+ border: none;
|
|
|
+
|
|
|
+ .el-form-item__label {
|
|
|
+ background: transparent;
|
|
|
+ border: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ .el-form-item__content {
|
|
|
+ border: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+.right{
|
|
|
.el-form-item {
|
|
|
- width: 33.3333%;
|
|
|
+ width: 100%;
|
|
|
+ // width: 33.3333%;
|
|
|
border: none;
|
|
|
+
|
|
|
.el-form-item__label {
|
|
|
background: transparent;
|
|
|
border: none;
|
|
|
}
|
|
|
+
|
|
|
.el-form-item__content {
|
|
|
border: none;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+}
|
|
|
|
|
|
.title {
|
|
|
position: relative;
|