|
|
@@ -98,30 +98,6 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="税号" prop="invCorpTaxNo">
|
|
|
- <el-input style="width: 100%;" v-model="form.invCorpTaxNo"
|
|
|
- size="small" autocomplete="off" :disabled="true" clearable
|
|
|
- placeholder="请输入税号">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="美元银行" prop="invCorpAccountBankUsd">
|
|
|
- <el-input style="width: 100%;" v-model="form.invCorpAccountBankUsd"
|
|
|
- size="small" autocomplete="off" :disabled="true" clearable
|
|
|
- placeholder="请输入美元银行">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="美元账户" prop="invCorpAccountNoUsd">
|
|
|
- <el-input style="width: 100%;" v-model="form.invCorpAccountNoUsd"
|
|
|
- size="small" autocomplete="off" :disabled="true" clearable
|
|
|
- placeholder="请输入美元账户">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
<el-form-item label="开票币种" prop="invCurCode">
|
|
|
<search-query :datalist="invCurCodeData"
|
|
|
:selectValue="form.invCurCode" :filterable="true"
|
|
|
@@ -134,10 +110,21 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="分单号" prop="hblno">
|
|
|
- <el-input style="width: 100%;" v-model="form.hblno" size="small"
|
|
|
+ <el-form-item label="船名" prop="vesselCnName">
|
|
|
+ <dic-select v-model="form.vesselCnName" placeholder="船名" key="id"
|
|
|
+ label="cnName" res="records"
|
|
|
+ :disabled="editSave || tableData.length"
|
|
|
+ url="/blade-los/bvessels/list?status=0¤t=1&size=5"
|
|
|
+ :filterable="true" :remote="true" dataName="cnName"
|
|
|
+ @selectChange="dicChange('vesselCnName', $event)"
|
|
|
+ :slotRight="true" rightLabel="code"></dic-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="航次" prop="voyageNo">
|
|
|
+ <el-input style="width: 100%;" v-model="form.voyageNo" size="small"
|
|
|
autocomplete="off" :disabled="editSave || tableData.length"
|
|
|
- clearable placeholder="请输入分单号">
|
|
|
+ clearable placeholder="请输入航次">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -761,7 +748,7 @@ export default {
|
|
|
this.form.curCode = this.getLocalCurrency()
|
|
|
this.$set(this.form, 'exrate', this.getExchangeRate(this.getLocalCurrency(), this.form.dc ? this.form.dc : 'D', 2))
|
|
|
}
|
|
|
- if (this.$route.query.mblno||this.$route.query.corpId) {
|
|
|
+ if (this.$route.query.mblno || this.$route.query.corpId) {
|
|
|
// console.log(111111)
|
|
|
this.form.mblno = this.$route.query.mblno
|
|
|
this.form.corpCnName = this.$route.query.corpCnName
|
|
|
@@ -782,6 +769,14 @@ export default {
|
|
|
this.form.branchName = null
|
|
|
}
|
|
|
}
|
|
|
+ if (name == 'vesselCnName') {
|
|
|
+ this.form.vesselId = row.id
|
|
|
+ this.form.vesselEnName = row.enName
|
|
|
+ } else {
|
|
|
+ this.form.vesselId = null
|
|
|
+ this.form.vesselEnName = null
|
|
|
+ this.form.vesselCnName = null
|
|
|
+ }
|
|
|
},
|
|
|
ResetFilter() {
|
|
|
this.form = {
|