|
@@ -31,8 +31,20 @@
|
|
</el-row>
|
|
</el-row>
|
|
</div>
|
|
</div>
|
|
<ws-info-table>
|
|
<ws-info-table>
|
|
- <!--合同编号-->
|
|
|
|
- <ws-form-item label="合同编号" span="1" prop="contractNo" class="readonly" required>
|
|
|
|
|
|
+ <!-- <ws-form-item label="合同类型" span="1" prop="agreementType" class="readonly">
|
|
|
|
+ <el-radio v-model="deptBudgetList.agreementType" label="收购合同">收购合同</el-radio>
|
|
|
|
+ <el-radio v-model="deptBudgetList.agreementType" label="补充协议">补充协议</el-radio>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item prop="agreementNo" label="关联合同" span="1" v-show="deptBudgetList.agreementType =='补充协议'">
|
|
|
|
+ <ws-select v-model="deptBudgetList.agreementNo" placeholder="请选择编号" @change="selectRelation">
|
|
|
|
+ <ws-option v-for="item in contractNoList" :key="item.id" :label="item.contractNo"
|
|
|
|
+ :value="item.contractNo"></ws-option>
|
|
|
|
+ </ws-select>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item v-show="deptBudgetList.agreementType == '补充协议'" label="补充协议编号" span="1" prop="contractNo">
|
|
|
|
+ <ws-input v-model="deptBudgetList.contractNo" placeholder="请输入补充协议编号" maxlength="100" size="small" />
|
|
|
|
+ </ws-form-item> -->
|
|
|
|
+ <ws-form-item v-show="deptBudgetList.agreementType =='收购合同'" label="合同编号" span="1" prop="contractNo" class="readonly" required>
|
|
<ws-input v-model="deptBudgetList.contractNo" placeholder="请输入合同编号" maxlength="50" size="small" />
|
|
<ws-input v-model="deptBudgetList.contractNo" placeholder="请输入合同编号" maxlength="50" size="small" />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<ws-form-item label="交易主体" span="1" prop="transactionSubject" class="readonly">
|
|
<ws-form-item label="交易主体" span="1" prop="transactionSubject" class="readonly">
|
|
@@ -674,6 +686,14 @@ import { isUndefined } from 'xe-utils/methods'
|
|
_obj.staffMobilePhone = "(默认)"
|
|
_obj.staffMobilePhone = "(默认)"
|
|
this.feedbackLeaders.unshift(_obj)
|
|
this.feedbackLeaders.unshift(_obj)
|
|
})
|
|
})
|
|
|
|
+ getRelationContractNo({
|
|
|
|
+ agreementType: '收购合同',
|
|
|
|
+ goodsType: 1
|
|
|
|
+ })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.contractNoList = response
|
|
|
|
+ })
|
|
getcustomerinfo({compId: localStorage.getItem('ws-pf_compId'),}).toPromise()
|
|
getcustomerinfo({compId: localStorage.getItem('ws-pf_compId'),}).toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
var arr=[]
|
|
var arr=[]
|