This commit is contained in:
xd 2024-05-23 16:19:32 +08:00
parent 94df361816
commit 17310a3150
1 changed files with 116 additions and 114 deletions

View File

@ -631,120 +631,122 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-divider content-position="left" class="customer_divider_text">销售数据</el-divider> <div v-if="checkRole(['ITZX_SJZ'])">
<el-row :gutter="8"> <el-divider content-position="left" class="customer_divider_text">销售数据</el-divider>
<el-col :span="8"> <el-row :gutter="8">
<el-form-item label="付款条件" prop="cusPaymentTerms"> <el-col :span="8">
<el-select v-model="form.cusPaymentTerms" placeholder="请选择付款条件" style="width: 100%;" :disabled="isDisSjz"> <el-form-item label="付款条件" prop="cusPaymentTerms">
<el-option <el-select v-model="form.cusPaymentTerms" placeholder="请选择付款条件" style="width: 100%;" :disabled="isDisSjz">
v-for="item in paymentTermsDicts" <el-option
:key="item.value" v-for="item in paymentTermsDicts"
:label="item.label" :key="item.value"
:value="item.value"/> :label="item.label"
</el-select> :value="item.value"/>
</el-form-item> </el-select>
</el-col> </el-form-item>
<el-col :span="8"> </el-col>
<el-form-item label="行业代码" prop="cusIndustryCode"> <el-col :span="8">
<el-select v-model="form.cusIndustryCode" placeholder="请选择行业代码" style="width: 100%;" :disabled="isDisSjz"> <el-form-item label="行业代码" prop="cusIndustryCode">
<el-option <el-select v-model="form.cusIndustryCode" placeholder="请选择行业代码" style="width: 100%;" :disabled="isDisSjz">
v-for="item in industryCodeDicts" <el-option
:key="item.value" v-for="item in industryCodeDicts"
:label="item.label" :key="item.value"
:value="item.value" :label="item.label"
/> :value="item.value"
</el-select> />
</el-form-item> </el-select>
</el-col> </el-form-item>
<el-col :span="8"> </el-col>
<el-form-item label="销售地区" prop="cusSalesTerritory"> <el-col :span="8">
<el-select v-model="form.cusSalesTerritory" placeholder="请选择销售地区" style="width: 100%;" :disabled="isDisSjz"> <el-form-item label="销售地区" prop="cusSalesTerritory">
<el-option <el-select v-model="form.cusSalesTerritory" placeholder="请选择销售地区" style="width: 100%;" :disabled="isDisSjz">
v-for="item in salesTerritoryDicts" <el-option
:key="item.value" v-for="item in salesTerritoryDicts"
:label="item.label" :key="item.value"
:value="item.value" :label="item.label"
/> :value="item.value"
</el-select> />
</el-form-item> </el-select>
</el-col> </el-form-item>
</el-row> </el-col>
<el-row :gutter="8"> </el-row>
<el-col :span="8"> <el-row :gutter="8">
<el-form-item label="销售组织" prop="cusSalesOrganization"> <el-col :span="8">
<el-select v-model="form.cusSalesOrganization" placeholder="请选择销售组织" style="width: 100%;" :disabled="isDisSjz"> <el-form-item label="销售组织" prop="cusSalesOrganization">
<el-option <el-select v-model="form.cusSalesOrganization" placeholder="请选择销售组织" style="width: 100%;" :disabled="isDisSjz">
v-for="item in salesOrganizationDicts" <el-option
:key="item.value" v-for="item in salesOrganizationDicts"
:label="item.label" :key="item.value"
:value="item.value" :label="item.label"
/> :value="item.value"
</el-select> />
</el-form-item> </el-select>
</el-col> </el-form-item>
<el-col :span="8"> </el-col>
<el-form-item label="分销渠道" prop="cusDistributionChannel"> <el-col :span="8">
<el-select v-model="form.cusDistributionChannel" placeholder="请选择分销渠道" style="width: 100%;" :disabled="isDisSjz"> <el-form-item label="分销渠道" prop="cusDistributionChannel">
<el-option <el-select v-model="form.cusDistributionChannel" placeholder="请选择分销渠道" style="width: 100%;" :disabled="isDisSjz">
v-for="item in distributionChannelDicts" <el-option
:key="item.value" v-for="item in distributionChannelDicts"
:label="item.label" :key="item.value"
:value="item.value" :label="item.label"
/> :value="item.value"
</el-select> />
</el-form-item> </el-select>
</el-col> </el-form-item>
<el-col :span="8"> </el-col>
<el-form-item label="销售办公室" prop="cusSaleOffice"> <el-col :span="8">
<el-select v-model="form.cusSaleOffice" placeholder="请选择销售办公室" style="width: 100%;" :disabled="isDisSjz"> <el-form-item label="销售办公室" prop="cusSaleOffice">
<el-option <el-select v-model="form.cusSaleOffice" placeholder="请选择销售办公室" style="width: 100%;" :disabled="isDisSjz">
v-for="item in saleOfficeDicts" <el-option
:key="item.value" v-for="item in saleOfficeDicts"
:label="item.label" :key="item.value"
:value="item.value" :label="item.label"
/> :value="item.value"
</el-select> />
</el-form-item> </el-select>
</el-col> </el-form-item>
</el-row> </el-col>
<el-row :gutter="8"> </el-row>
<el-col :span="8"> <el-row :gutter="8">
<el-form-item label="币种" prop="cusCurrency"> <el-col :span="8">
<el-select v-model="form.cusCurrency" placeholder="请选择币种" style="width: 100%;" :disabled="isDisSjz"> <el-form-item label="币种" prop="cusCurrency">
<el-option <el-select v-model="form.cusCurrency" placeholder="请选择币种" style="width: 100%;" :disabled="isDisSjz">
v-for="dict in dict.type.cus_currency" <el-option
:key="dict.value" v-for="dict in dict.type.cus_currency"
:label="dict.label" :key="dict.value"
:value="dict.value" :label="dict.label"
></el-option> :value="dict.value"
</el-select> ></el-option>
</el-form-item> </el-select>
</el-col> </el-form-item>
<el-col :span="8"> </el-col>
<el-form-item label="客户税分类" prop="cusTax"> <el-col :span="8">
<el-select v-model="form.cusTax" placeholder="请选择客户税" style="width: 100%;" :disabled="isDisSjz"> <el-form-item label="客户税分类" prop="cusTax">
<el-option <el-select v-model="form.cusTax" placeholder="请选择客户税" style="width: 100%;" :disabled="isDisSjz">
v-for="item in taxDicts" <el-option
:key="item.value" v-for="item in taxDicts"
:label="item.label" :key="item.value"
:value="item.value" :label="item.label"
/> :value="item.value"
</el-select> />
</el-form-item> </el-select>
</el-col> </el-form-item>
<el-col :span="8"> </el-col>
<el-form-item label="统驭科目" prop="cusReconciliationAccount"> <el-col :span="8">
<el-select v-model="form.cusReconciliationAccount" placeholder="请选择统驭科目" style="width: 100%;" :disabled="isDisSjz"> <el-form-item label="统驭科目" prop="cusReconciliationAccount">
<el-option <el-select v-model="form.cusReconciliationAccount" placeholder="请选择统驭科目" style="width: 100%;" :disabled="isDisSjz">
v-for="item in reconciliationAccountDicts" <el-option
:key="item.value" v-for="item in reconciliationAccountDicts"
:label="item.label" :key="item.value"
:value="item.value" :label="item.label"
/> :value="item.value"
</el-select> />
</el-form-item> </el-select>
</el-col> </el-form-item>
</el-row> </el-col>
</el-row>
</div>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<span v-hasPermi="['customer:customer:save']"> <span v-hasPermi="['customer:customer:save']">