|
|
@@ -28,7 +28,7 @@
|
|
|
<span class="white">{{ getContractTypeName(formState.ContractType) }}</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :span="12">
|
|
|
+ <a-col :span="12" v-if="false">
|
|
|
<a-form-item label="业务类型" name="BizType">
|
|
|
<a-select class="inlineFormSelect" style="width: 200px"
|
|
|
:getPopupContainer="(triggerNode) => triggerNode.parentNode" v-model:value="formState.BizType"
|
|
|
@@ -39,50 +39,25 @@
|
|
|
</a-select>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <template v-if="isSell">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="采购方" name="BuyUserID">
|
|
|
- <a-select class="inlineFormSelect" style="width: 200px"
|
|
|
- :getPopupContainer="(triggerNode) => triggerNode.parentNode" v-model:value="formState.BuyUserID"
|
|
|
- placeholder="请选择客户">
|
|
|
- <!-- 客户资料列表 正常 -->
|
|
|
- <a-select-option :value="item.userid" v-for="item in customList" :key="item.userid">
|
|
|
- {{ item.customername }}
|
|
|
- </a-select-option>
|
|
|
- </a-select>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="销售方">
|
|
|
- <span class="white">{{ getRootUserInfo().accountname }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="采购方">
|
|
|
- <span class="white">{{ getRootUserInfo().accountname }}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="销售方" name="SellUserID">
|
|
|
- <a-select class="inlineFormSelect" v-model:value="formState.SellUserID" style="width: 200px"
|
|
|
- :getPopupContainer="(triggerNode) => triggerNode.parentNode" placeholder="请选择客户">
|
|
|
- <!-- 客户资料列表 正常 -->
|
|
|
- <a-select-option :value="item.userid" v-for="item in customList" :key="item.userid">
|
|
|
- {{ item.customername }}
|
|
|
- </a-select-option>
|
|
|
- </a-select>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </template>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item :label="isSell ? '采购方' : '销售方'" name="BuyUserID">
|
|
|
+ <a-select class="inlineFormSelect" style="width: 200px"
|
|
|
+ :getPopupContainer="(triggerNode) => triggerNode.parentNode" v-model:value="formState.BuyUserID"
|
|
|
+ placeholder="请选择客户">
|
|
|
+ <!-- 客户资料列表 正常 -->
|
|
|
+ <a-select-option :value="item.userid" v-for="item in customList" :key="item.userid">
|
|
|
+ {{ item.customername }}
|
|
|
+ </a-select-option>
|
|
|
+ </a-select>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
<a-col :span="12">
|
|
|
<a-form-item label="合同附件" class="checkboxGroupItem" name="ContractAttachment">
|
|
|
<UploadImg :visible="visible" @upload="uploadImgAction" />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
|
- <a-form-item label="交易主体" name="SubjectID">
|
|
|
+ <a-form-item :label="isSell ? '销售方' : '采购方'" name="SubjectID">
|
|
|
<a-select class="inlineFormSelect" style="width: 200px" v-model:value="formState.SubjectID"
|
|
|
placeholder="请选择主体">
|
|
|
<a-select-option :value="item.subjectid" v-for="item in subjectList" :key="item.subjectid">
|