|
@@ -43,17 +43,16 @@
|
|
<!--运输方式-->
|
|
<!--运输方式-->
|
|
<ws-form-item label="运输方式" span="1" prop="contractNo">
|
|
<ws-form-item label="运输方式" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.contractNo"
|
|
|
|
|
|
+ v-model="deptBudgetList.shippingType"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <span class="unchangeable">*</span>
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
<!--买方-->
|
|
<!--买方-->
|
|
<ws-form-item label="买方" span="1" prop="contractNo">
|
|
<ws-form-item label="买方" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.contractNo"
|
|
|
|
|
|
+ v-model="deptBudgetList.buyer"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
@@ -63,17 +62,16 @@
|
|
<!--结算方式-->
|
|
<!--结算方式-->
|
|
<ws-form-item label="结算方式" span="1" prop="contractNo">
|
|
<ws-form-item label="结算方式" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.contractNo"
|
|
|
|
|
|
+ v-model="deptBudgetList.settlementMethod"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <span class="unchangeable">*</span>
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
<!--卖方-->
|
|
<!--卖方-->
|
|
<ws-form-item label="卖方" span="1" prop="contractNo">
|
|
<ws-form-item label="卖方" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.contractNo"
|
|
|
|
|
|
+ v-model="deptBudgetList.seller"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
@@ -83,40 +81,36 @@
|
|
<!--货源地-->
|
|
<!--货源地-->
|
|
<ws-form-item label="货源地" span="1" prop="contractNo">
|
|
<ws-form-item label="货源地" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.contractNo"
|
|
|
|
|
|
+ v-model="deptBudgetList.sourceGoods"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <span class="unchangeable">*</span>
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<!--买方电话-->
|
|
<!--买方电话-->
|
|
<ws-form-item label="买方电话" span="1" prop="contractNo">
|
|
<ws-form-item label="买方电话" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.contractNo"
|
|
|
|
|
|
+ v-model="deptBudgetList.buyerPhone"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <span class="unchangeable">*</span>
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
<!--交货地-->
|
|
<!--交货地-->
|
|
<ws-form-item label="交货地" span="1" prop="contractNo">
|
|
<ws-form-item label="交货地" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.contractNo"
|
|
|
|
|
|
+ v-model="deptBudgetList.placeDelivery"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <span class="unchangeable">*</span>
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
<!--卖方电话-->
|
|
<!--卖方电话-->
|
|
<ws-form-item label="卖方电话" span="1" prop="contractNo">
|
|
<ws-form-item label="卖方电话" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.contractNo"
|
|
|
|
|
|
+ v-model="deptBudgetList.sellerPhone"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <span class="unchangeable">*</span>
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
<!--包装方式-->
|
|
<!--包装方式-->
|
|
@@ -125,7 +119,7 @@
|
|
v-model="deptBudgetList.packingMethod"
|
|
v-model="deptBudgetList.packingMethod"
|
|
placeholder=""
|
|
placeholder=""
|
|
class="typeselect"
|
|
class="typeselect"
|
|
- @change="selectCrtDuty"
|
|
|
|
|
|
+ @change="selectpackingMethod"
|
|
>
|
|
>
|
|
<ws-option
|
|
<ws-option
|
|
v-for="item in packtypeList"
|
|
v-for="item in packtypeList"
|
|
@@ -135,44 +129,90 @@
|
|
/>
|
|
/>
|
|
</ws-select>
|
|
</ws-select>
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
-
|
|
|
|
<!--重量(吨)-->
|
|
<!--重量(吨)-->
|
|
<ws-form-item label="重量(吨)" span="1" prop="contractNo">
|
|
<ws-form-item label="重量(吨)" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.contractNo"
|
|
|
|
|
|
+ v-model="deptBudgetList.weight"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <span class="unchangeable">*</span>
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
<!--验收方式-->
|
|
<!--验收方式-->
|
|
- <ws-form-item label="验收方式" span="1" prop="packingMethod">
|
|
|
|
- <ws-select
|
|
|
|
- v-model="deptBudgetList.packingMethod"
|
|
|
|
- placeholder=""
|
|
|
|
- class="typeselect"
|
|
|
|
- @change="selectCrtDuty"
|
|
|
|
|
|
+ <ws-form-item label="验收方式" span="1" prop="acceptanceMethod">
|
|
|
|
+ <el-select
|
|
|
|
+ v-model="deptBudgetList.acceptanceMethod"
|
|
|
|
+ placeholder="请选择验收方式"
|
|
|
|
+ style="width: 100%"
|
|
|
|
+ filterable
|
|
|
|
+ @change="selectunitList"
|
|
>
|
|
>
|
|
- <ws-option
|
|
|
|
- v-for="item in packtypeList"
|
|
|
|
- :key="item.constKey"
|
|
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="(item, index) in unitList"
|
|
|
|
+ :key="item.constValue"
|
|
:label="item.constValue"
|
|
:label="item.constValue"
|
|
:value="item.constValue"
|
|
:value="item.constValue"
|
|
- />
|
|
|
|
- </ws-select>
|
|
|
|
|
|
+ >
|
|
|
|
+ <span class="unit-left" style="float: left">
|
|
|
|
+ <span v-if="item.flag == 'delete'">
|
|
|
|
+ {{ item.constValue }}</span
|
|
|
|
+ >
|
|
|
|
+ <!-- 新增文本框 -->
|
|
|
|
+ <div
|
|
|
|
+ style="width: 160px"
|
|
|
|
+ v-if="item.flag !== 'delete'"
|
|
|
|
+ @click.stop
|
|
|
|
+ >
|
|
|
|
+ <ws-input
|
|
|
|
+ v-model="item.constValue"
|
|
|
|
+ clearable
|
|
|
|
+ maxlength="10"
|
|
|
|
+ style="width: 100%"
|
|
|
|
+ ></ws-input>
|
|
|
|
+ </div>
|
|
|
|
+ </span>
|
|
|
|
+ <span style="float: right; color: #8492a6; font-size: 13px">
|
|
|
|
+ <!-- 对号 -->
|
|
|
|
+ <i
|
|
|
|
+ class="el-icon-check"
|
|
|
|
+ style="line-height: 29px; margin-left: 10px"
|
|
|
|
+ v-if="item.flag !== 'delete'"
|
|
|
|
+ @click.stop="saveClick(item, index)"
|
|
|
|
+ ></i>
|
|
|
|
+ <!-- 编辑 -->
|
|
|
|
+ <i
|
|
|
|
+ class="el-icon-edit"
|
|
|
|
+ style="line-height: 29px; margin-left: 10px"
|
|
|
|
+ v-if="item.flag == 'delete'"
|
|
|
|
+ @click.stop="editClick(item, index)"
|
|
|
|
+ ></i>
|
|
|
|
+ <!-- 删除 -->
|
|
|
|
+ <i
|
|
|
|
+ class="el-icon-delete"
|
|
|
|
+ style="line-height: 29px"
|
|
|
|
+ @click.stop="deleteClick(item, index)"
|
|
|
|
+ ></i>
|
|
|
|
+ </span>
|
|
|
|
+ </el-option>
|
|
|
|
+ <!-- 新增按钮 -->
|
|
|
|
+ <el-option value="" label="">
|
|
|
|
+ <div style="text-align: center">
|
|
|
|
+ <ws-button type="primary" @click.stop="addClick">{{
|
|
|
|
+ $t('button.add')
|
|
|
|
+ }}</ws-button>
|
|
|
|
+ </div>
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
<!--溢短装(%)-->
|
|
<!--溢短装(%)-->
|
|
- <ws-form-item label="溢短装(%)" span="1" prop="contractNo">
|
|
|
|
|
|
+ <ws-form-item label="溢短装(%))" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.contractNo"
|
|
|
|
|
|
+ v-model="deptBudgetList.overShort"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <span class="unchangeable">*</span>
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
-
|
|
|
|
<!--交货日期(起)-->
|
|
<!--交货日期(起)-->
|
|
<ws-form-item
|
|
<ws-form-item
|
|
label="交货日期(起)"
|
|
label="交货日期(起)"
|
|
@@ -193,7 +233,7 @@
|
|
<!--合同单价(元/吨)-->
|
|
<!--合同单价(元/吨)-->
|
|
<ws-form-item label="合同单价(元/吨)" span="1" prop="contractNo">
|
|
<ws-form-item label="合同单价(元/吨)" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.contractNo"
|
|
|
|
|
|
+ v-model="deptBudgetList.unitContractPrice"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
@@ -201,14 +241,10 @@
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
<!--交货日期(止)-->
|
|
<!--交货日期(止)-->
|
|
- <ws-form-item
|
|
|
|
- label="交货日期(止)"
|
|
|
|
- span="1"
|
|
|
|
- prop="deliveryDateStart"
|
|
|
|
- >
|
|
|
|
|
|
+ <ws-form-item label="交货日期(止)" span="1" prop="deliveryDateEnd">
|
|
<ws-date-picker
|
|
<ws-date-picker
|
|
:picker-options="pickerBeginDateBefore"
|
|
:picker-options="pickerBeginDateBefore"
|
|
- v-model="deptBudgetList.deliveryDateStart"
|
|
|
|
|
|
+ v-model="deptBudgetList.deliveryDateEnd"
|
|
type="date"
|
|
type="date"
|
|
default-value="1980-01-01"
|
|
default-value="1980-01-01"
|
|
placeholder="起始日期"
|
|
placeholder="起始日期"
|
|
@@ -220,17 +256,16 @@
|
|
<!--合同总价-->
|
|
<!--合同总价-->
|
|
<ws-form-item label="合同总价" span="1" prop="contractNo">
|
|
<ws-form-item label="合同总价" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.contractNo"
|
|
|
|
|
|
+ v-model="deptBudgetList.totalContractPrice"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <span class="unchangeable">*</span>
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<!--签订日期-->
|
|
<!--签订日期-->
|
|
- <ws-form-item label="签订日期" span="1" prop="deliveryDateStart">
|
|
|
|
|
|
+ <ws-form-item label="签订日期" span="1" prop="signingDate">
|
|
<ws-date-picker
|
|
<ws-date-picker
|
|
:picker-options="pickerBeginDateBefore"
|
|
:picker-options="pickerBeginDateBefore"
|
|
- v-model="deptBudgetList.deliveryDateStart"
|
|
|
|
|
|
+ v-model="deptBudgetList.signingDate"
|
|
type="date"
|
|
type="date"
|
|
default-value="1980-01-01"
|
|
default-value="1980-01-01"
|
|
placeholder="起始日期"
|
|
placeholder="起始日期"
|
|
@@ -238,261 +273,204 @@
|
|
value-format="yyyy-MM-dd"
|
|
value-format="yyyy-MM-dd"
|
|
/>
|
|
/>
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
-
|
|
|
|
- <!-- <base-card> -->
|
|
|
|
- <div class="wenzi">
|
|
|
|
- <h3>货物信息</h3>
|
|
|
|
- </div>
|
|
|
|
|
|
+ </ws-info-table>
|
|
|
|
+ </ws-form>
|
|
|
|
+ <!-- <base-card> -->
|
|
|
|
+ <div class="wenzi">
|
|
|
|
+ <h3>货物信息</h3>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="center">
|
|
|
|
+ <ws-form
|
|
|
|
+ ref="deptBudgetList"
|
|
|
|
+ :rules="ruleDeptBudget"
|
|
|
|
+ :model="deptBudgetList"
|
|
|
|
+ >
|
|
<!--货物信息-->
|
|
<!--货物信息-->
|
|
<ws-info-table>
|
|
<ws-info-table>
|
|
<!--货名-->
|
|
<!--货名-->
|
|
- <ws-form-item label="货名" span="1" prop="seafarerName">
|
|
|
|
- <ws-input
|
|
|
|
- v-model="deptBudgetList.seafarerName"
|
|
|
|
- maxlength="100"
|
|
|
|
- size="small"
|
|
|
|
- />
|
|
|
|
- <i
|
|
|
|
- v-if="isEdited && registered == '1'"
|
|
|
|
- class="iconfont iconaddy1 ml10"
|
|
|
|
- style="cursor: pointer"
|
|
|
|
- @click="dialogFormVisible = true"
|
|
|
|
- />
|
|
|
|
|
|
+ <ws-form-item label="货名" span="1" prop="goodsName">
|
|
|
|
+ <ws-select
|
|
|
|
+ v-model="deptBudgetList.contractGoodsInfo.goodsName"
|
|
|
|
+ placeholder=""
|
|
|
|
+ class="typeselect"
|
|
|
|
+ @change="selectpackingMethod"
|
|
|
|
+ >
|
|
|
|
+ <ws-option
|
|
|
|
+ v-for="item in goodnameList"
|
|
|
|
+ :key="item.constKey"
|
|
|
|
+ :label="item.constValue"
|
|
|
|
+ :value="item.constValue"
|
|
|
|
+ />
|
|
|
|
+ </ws-select>
|
|
|
|
+ <span class="unchangeable">*</span>
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
<!--水分(%)<=-->
|
|
<!--水分(%)<=-->
|
|
- <ws-form-item label="水分(%)<=" span="1" prop="seafarerName">
|
|
|
|
|
|
+ <ws-form-item label="水分(%)" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.seafarerName"
|
|
|
|
|
|
+ v-model="deptBudgetList.contractGoodsInfo.waterContent"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <i
|
|
|
|
- v-if="isEdited && registered == '1'"
|
|
|
|
- class="iconfont iconaddy1 ml10"
|
|
|
|
- style="cursor: pointer"
|
|
|
|
- @click="dialogFormVisible = true"
|
|
|
|
- />
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
<!--品级-->
|
|
<!--品级-->
|
|
- <ws-form-item label="品级" span="1" prop="seafarerName">
|
|
|
|
- <ws-input
|
|
|
|
- v-model="deptBudgetList.seafarerName"
|
|
|
|
- maxlength="100"
|
|
|
|
- size="small"
|
|
|
|
- />
|
|
|
|
- <i
|
|
|
|
- v-if="isEdited && registered == '1'"
|
|
|
|
- class="iconfont iconaddy1 ml10"
|
|
|
|
- style="cursor: pointer"
|
|
|
|
- @click="dialogFormVisible = true"
|
|
|
|
- />
|
|
|
|
|
|
+ <ws-form-item label="品级" span="1" prop="grade">
|
|
|
|
+ <ws-select
|
|
|
|
+ v-model="deptBudgetList.contractGoodsInfo.grade"
|
|
|
|
+ placeholder=""
|
|
|
|
+ class="typeselect"
|
|
|
|
+ @change="selectgrade"
|
|
|
|
+ >
|
|
|
|
+ <ws-option
|
|
|
|
+ v-for="item in gradeList"
|
|
|
|
+ :key="item.constKey"
|
|
|
|
+ :label="item.constValue"
|
|
|
|
+ :value="item.constValue"
|
|
|
|
+ />
|
|
|
|
+ </ws-select>
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
<!--杂质(%)<=-->
|
|
<!--杂质(%)<=-->
|
|
- <ws-form-item label="杂质(%)<=" span="1" prop="seafarerName">
|
|
|
|
|
|
+ <ws-form-item label="杂质(%)" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.seafarerName"
|
|
|
|
|
|
+ v-model="deptBudgetList.contractGoodsInfo.impurity"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <i
|
|
|
|
- v-if="isEdited && registered == '1'"
|
|
|
|
- class="iconfont iconaddy1 ml10"
|
|
|
|
- style="cursor: pointer"
|
|
|
|
- @click="dialogFormVisible = true"
|
|
|
|
- />
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
<!--容量(克/升)>=-->
|
|
<!--容量(克/升)>=-->
|
|
- <ws-form-item label="容量(克/升)>=" span="1" prop="seafarerName">
|
|
|
|
|
|
+ <ws-form-item label="容量(克/升)" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.seafarerName"
|
|
|
|
|
|
+ v-model="deptBudgetList.contractGoodsInfo.bulkDensity"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <i
|
|
|
|
- v-if="isEdited && registered == '1'"
|
|
|
|
- class="iconfont iconaddy1 ml10"
|
|
|
|
- style="cursor: pointer"
|
|
|
|
- @click="dialogFormVisible = true"
|
|
|
|
- />
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
<!--霉变粒(%)<=-->
|
|
<!--霉变粒(%)<=-->
|
|
- <ws-form-item label="霉变粒(%)<=" span="1" prop="seafarerName">
|
|
|
|
|
|
+ <ws-form-item label="霉变粒(%)" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.seafarerName"
|
|
|
|
|
|
+ v-model="deptBudgetList.contractGoodsInfo.mildewGrain"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <i
|
|
|
|
- v-if="isEdited && registered == '1'"
|
|
|
|
- class="iconfont iconaddy1 ml10"
|
|
|
|
- style="cursor: pointer"
|
|
|
|
- @click="dialogFormVisible = true"
|
|
|
|
- />
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
- <!--焦糊粒(%)<=-->
|
|
|
|
- <ws-form-item label="焦糊粒(%)<=" span="1" prop="seafarerName">
|
|
|
|
|
|
+ <!--热损伤(%)<=-->
|
|
|
|
+ <ws-form-item label="热损伤(%)" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.seafarerName"
|
|
|
|
|
|
+ v-model="deptBudgetList.contractGoodsInfo.jiaorenli"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <i
|
|
|
|
- v-if="isEdited && registered == '1'"
|
|
|
|
- class="iconfont iconaddy1 ml10"
|
|
|
|
- style="cursor: pointer"
|
|
|
|
- @click="dialogFormVisible = true"
|
|
|
|
- />
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<!--不完整粒(%)<=-->
|
|
<!--不完整粒(%)<=-->
|
|
- <ws-form-item label="不完整粒(%)<=" span="1" prop="seafarerName">
|
|
|
|
|
|
+ <ws-form-item label="不完整粒(%)" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.seafarerName"
|
|
|
|
|
|
+ v-model="deptBudgetList.contractGoodsInfo.imperfectGrain"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <i
|
|
|
|
- v-if="isEdited && registered == '1'"
|
|
|
|
- class="iconfont iconaddy1 ml10"
|
|
|
|
- style="cursor: pointer"
|
|
|
|
- @click="dialogFormVisible = true"
|
|
|
|
- />
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
</ws-info-table>
|
|
</ws-info-table>
|
|
-
|
|
|
|
- <div class="wenzi">
|
|
|
|
- <h3>流程信息</h3>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
|
|
+ </ws-form>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="wenzi">
|
|
|
|
+ <h3>流程信息</h3>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="center">
|
|
|
|
+ <ws-form
|
|
|
|
+ ref="deptBudgetList"
|
|
|
|
+ :rules="ruleDeptBudget"
|
|
|
|
+ :model="deptBudgetList"
|
|
|
|
+ >
|
|
<!--流程信息-->
|
|
<!--流程信息-->
|
|
|
|
|
|
<ws-info-table>
|
|
<ws-info-table>
|
|
<!--合同收入(元)-->
|
|
<!--合同收入(元)-->
|
|
- <ws-form-item label="合同收入(元)" span="1" prop="seafarerName">
|
|
|
|
|
|
+ <ws-form-item label="合同收入(元)" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.seafarerName"
|
|
|
|
|
|
+ v-model="deptBudgetList.contractProcessInfo.goodsNameKey"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <i
|
|
|
|
- v-if="isEdited && registered == '1'"
|
|
|
|
- class="iconfont iconaddy1 ml10"
|
|
|
|
- style="cursor: pointer"
|
|
|
|
- @click="dialogFormVisible = true"
|
|
|
|
- />
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
<!--已开发票(元)-->
|
|
<!--已开发票(元)-->
|
|
- <ws-form-item label="已开发票(元)" span="1" prop="seafarerName">
|
|
|
|
|
|
+ <ws-form-item label="已开发票(元)" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.seafarerName"
|
|
|
|
|
|
+ v-model="deptBudgetList.contractProcessInfo.goodsName"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <i
|
|
|
|
- v-if="isEdited && registered == '1'"
|
|
|
|
- class="iconfont iconaddy1 ml10"
|
|
|
|
- style="cursor: pointer"
|
|
|
|
- @click="dialogFormVisible = true"
|
|
|
|
- />
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
- <!--合同外支出(元)-->
|
|
|
|
- <ws-form-item label="合同外支出(元)" span="1" prop="seafarerName">
|
|
|
|
|
|
+ <!--费用支出(元)-->
|
|
|
|
+ <ws-form-item label="费用支出(元)" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.seafarerName"
|
|
|
|
|
|
+ v-model="deptBudgetList.contractProcessInfo.waterContent"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <i
|
|
|
|
- v-if="isEdited && registered == '1'"
|
|
|
|
- class="iconfont iconaddy1 ml10"
|
|
|
|
- style="cursor: pointer"
|
|
|
|
- @click="dialogFormVisible = true"
|
|
|
|
- />
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
<!--未开发票(元)-->
|
|
<!--未开发票(元)-->
|
|
- <ws-form-item label="未开发票(元)" span="1" prop="seafarerName">
|
|
|
|
|
|
+ <ws-form-item label="未开发票(元)" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.seafarerName"
|
|
|
|
|
|
+ v-model="deptBudgetList.contractProcessInfo.impurity"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <i
|
|
|
|
- v-if="isEdited && registered == '1'"
|
|
|
|
- class="iconfont iconaddy1 ml10"
|
|
|
|
- style="cursor: pointer"
|
|
|
|
- @click="dialogFormVisible = true"
|
|
|
|
- />
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
-
|
|
|
|
<!--未回款(元)-->
|
|
<!--未回款(元)-->
|
|
- <ws-form-item label="未回款(元)" span="1" prop="seafarerName">
|
|
|
|
|
|
+ <ws-form-item label="未回款(元)" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.seafarerName"
|
|
|
|
|
|
+ v-model="deptBudgetList.contractProcessInfo.mildewGrain"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <i
|
|
|
|
- v-if="isEdited && registered == '1'"
|
|
|
|
- class="iconfont iconaddy1 ml10"
|
|
|
|
- style="cursor: pointer"
|
|
|
|
- @click="dialogFormVisible = true"
|
|
|
|
- />
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
|
|
<!--已完成发货量(吨)-->
|
|
<!--已完成发货量(吨)-->
|
|
- <ws-form-item
|
|
|
|
- label="已完成发货量(吨)"
|
|
|
|
- span="1"
|
|
|
|
- prop="seafarerName"
|
|
|
|
- >
|
|
|
|
|
|
+ <ws-form-item label="已完成发货量(吨)" span="1" prop="contractNo">
|
|
<ws-input
|
|
<ws-input
|
|
- v-model="deptBudgetList.seafarerName"
|
|
|
|
|
|
+ v-model="deptBudgetList.contractProcessInfo.imperfectGrain"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
- <i
|
|
|
|
- v-if="isEdited && registered == '1'"
|
|
|
|
- class="iconfont iconaddy1 ml10"
|
|
|
|
- style="cursor: pointer"
|
|
|
|
- @click="dialogFormVisible = true"
|
|
|
|
- />
|
|
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<!--双章原件回收情况-->
|
|
<!--双章原件回收情况-->
|
|
- <ws-form-item
|
|
|
|
- label="双章原件回收情况"
|
|
|
|
- span="1"
|
|
|
|
- :prop="!deptBudgetList.add && registered != 1 ? 'crtDutyId' : ''"
|
|
|
|
- :key="
|
|
|
|
- !deptBudgetList.add || registered != 1
|
|
|
|
- ? 'crtDutyId_haveProp'
|
|
|
|
- : 'crtDutyId_noProp'
|
|
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ <ws-form-item label="双章原件回收情况" span="1" prop="grade">
|
|
<ws-select
|
|
<ws-select
|
|
- v-model="deptBudgetList.crtDutyId"
|
|
|
|
- :placeholder="$t('common.selected')"
|
|
|
|
- @change="selectCrtDuty"
|
|
|
|
|
|
+ v-model="deptBudgetList.contractProcessInfo.grade"
|
|
|
|
+ placeholder=""
|
|
|
|
+ class="typeselect"
|
|
|
|
+ @change="selectpackingMethod"
|
|
>
|
|
>
|
|
<ws-option
|
|
<ws-option
|
|
- v-for="item in dutyList"
|
|
|
|
- :key="item.dutyId"
|
|
|
|
- :label="item.aliasName"
|
|
|
|
- :value="item.dutyId"
|
|
|
|
|
|
+ v-for="item in ChapterTwoList"
|
|
|
|
+ :key="item.constKey"
|
|
|
|
+ :label="item.constValue"
|
|
|
|
+ :value="item.constValue"
|
|
/>
|
|
/>
|
|
</ws-select>
|
|
</ws-select>
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
</ws-info-table>
|
|
</ws-info-table>
|
|
- <div class="wenzi">
|
|
|
|
- <h3>备注信息</h3>
|
|
|
|
- </div>
|
|
|
|
|
|
+ </ws-form>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="wenzi">
|
|
|
|
+ <h3>备注信息</h3>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="ce">
|
|
|
|
+ <ws-form
|
|
|
|
+ ref="deptBudgetList"
|
|
|
|
+ :rules="ruleDeptBudget"
|
|
|
|
+ :model="deptBudgetList"
|
|
|
|
+ >
|
|
|
|
+ <!--备注信息-->
|
|
<ws-input
|
|
<ws-input
|
|
v-model="deptBudgetList.remarks"
|
|
v-model="deptBudgetList.remarks"
|
|
type="textarea"
|
|
type="textarea"
|
|
@@ -508,12 +486,13 @@
|
|
:appendix-ids="appendixIdsAdd"
|
|
:appendix-ids="appendixIdsAdd"
|
|
:vesselId="deptBudgetList.addressUrl"
|
|
:vesselId="deptBudgetList.addressUrl"
|
|
:size-limit="size"
|
|
:size-limit="size"
|
|
|
|
+ @uploadSuccess="uploadSuccess"
|
|
|
|
+ @onChange="onChange"
|
|
accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar"
|
|
accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar"
|
|
/>
|
|
/>
|
|
- <!-- </base-card> -->
|
|
|
|
- </ws-info-table>
|
|
|
|
- </ws-form>
|
|
|
|
- <div style="text-align: right; padding: 10px">
|
|
|
|
|
|
+ </ws-form>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="text-align: right; padding: 10px" class="center">
|
|
<el-button
|
|
<el-button
|
|
class="bg-bottom"
|
|
class="bg-bottom"
|
|
type="primary"
|
|
type="primary"
|
|
@@ -528,7 +507,7 @@
|
|
<script>
|
|
<script>
|
|
// import { getVesselOne } from '@/model/procurement/basic'
|
|
// import { getVesselOne } from '@/model/procurement/basic'
|
|
// import { dayjs } from 'base-core-lib'
|
|
// import { dayjs } from 'base-core-lib'
|
|
-
|
|
|
|
|
|
+import { examineList, editInfo, packList } from '@/model/contarct/index'
|
|
export default {
|
|
export default {
|
|
name: 'viewSpareMoney',
|
|
name: 'viewSpareMoney',
|
|
watch: {
|
|
watch: {
|
|
@@ -555,8 +534,15 @@ export default {
|
|
// 提交类型
|
|
// 提交类型
|
|
submitType: true,
|
|
submitType: true,
|
|
tableData: [{ date: 1111, name: 'qqqq', address: 'errrtt' }],
|
|
tableData: [{ date: 1111, name: 'qqqq', address: 'errrtt' }],
|
|
|
|
+ pickerBeginDateBefore: {},
|
|
|
|
+ // selectpackingMethod:{},
|
|
|
|
+ selectunitList: {},
|
|
|
|
+ // change:{},
|
|
|
|
+ unitList: {},
|
|
packtypeList: {},
|
|
packtypeList: {},
|
|
-
|
|
|
|
|
|
+ compId: {},
|
|
|
|
+ appendixIdsAdd: {},
|
|
|
|
+ size: {},
|
|
deptBudgetList: {},
|
|
deptBudgetList: {},
|
|
ruleDeptBudget: {},
|
|
ruleDeptBudget: {},
|
|
isEdited: false,
|
|
isEdited: false,
|
|
@@ -575,6 +561,10 @@ export default {
|
|
//cg.viewBudget
|
|
//cg.viewBudget
|
|
//cg.viewSpareMoney
|
|
//cg.viewSpareMoney
|
|
// this.getVesselData();
|
|
// this.getVesselData();
|
|
|
|
+ this.loaddata()
|
|
|
|
+ this.editInfo()
|
|
|
|
+ this.showType = this.isShow
|
|
|
|
+ console.log(this.$route.params)
|
|
this.showType = this.isShow
|
|
this.showType = this.isShow
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -585,6 +575,43 @@ export default {
|
|
returnsales() {
|
|
returnsales() {
|
|
this.$router.push({ path: 'salesContract' })
|
|
this.$router.push({ path: 'salesContract' })
|
|
},
|
|
},
|
|
|
|
+ loaddata() {
|
|
|
|
+ // 数据
|
|
|
|
+ examineList({ id: this.$route.params.id })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.deptBudgetList = response
|
|
|
|
+ })
|
|
|
|
+ // 包装方式
|
|
|
|
+ packList({ constId: 'CON1' })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.packtypeList = response
|
|
|
|
+ })
|
|
|
|
+ // 验收方式
|
|
|
|
+ this.getUnitList()
|
|
|
|
+ // 货名
|
|
|
|
+ packList({ constId: 'CON2' })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.goodnameList = response
|
|
|
|
+ })
|
|
|
|
+ // 品级
|
|
|
|
+ packList({ constId: 'CON3' })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.gradeList = response
|
|
|
|
+ })
|
|
|
|
+ // 双章
|
|
|
|
+ packList({ constId: 'CON4' })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.ChapterTwoList = response
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ editInfo() {
|
|
|
|
+ editInfo({})
|
|
|
|
+ },
|
|
// getList(){}
|
|
// getList(){}
|
|
},
|
|
},
|
|
}
|
|
}
|