Browse Source

2026-10-08

项目信息:
1、新增时,”优先级“默认Standard;
2、主信息列表显示“项目年销售额CNY(K)”和“产品类别”
3、"项目描述”改成“客户产品","客户应用/要求" 改成"客户产品应用;
4、【搜索】中添加“项目年销售额CNY(K)”条件;
master
fengyuan_yang 1 month ago
parent
commit
4226ab2dc2
  1. 10
      src/views/modules/project/projectInfo/com_projectInfo-add-or-update.vue
  2. 92
      src/views/modules/project/projectInfo/projectInfo.vue
  3. 6
      src/views/modules/proofing/requestForProofing.vue
  4. 4
      src/views/modules/quotation/requestForQuote.vue
  5. 4
      src/views/modules/quotation/sellForQuotation/quotationProjectInformation.vue
  6. 4
      src/views/modules/test/requestForTest.vue

10
src/views/modules/project/projectInfo/com_projectInfo-add-or-update.vue

@ -90,10 +90,10 @@
</el-form-item>
</el-col>
</el-row>
<el-form-item label="项目描述" style="height: 70px">
<el-form-item label="客户产品" style="height: 70px">
<el-input type="textarea" resize="none" :autosize="{minRows: 2, maxRows: 2}" v-model="dataForm.projectDesc" :disabled="isProjectFieldDisabled('projectDesc')" ></el-input>
</el-form-item>
<el-form-item label="客户应用/要求" style="height: 70px">
<el-form-item label="客户产品应用" style="height: 70px">
<el-input type="textarea" resize="none" :autosize="{minRows: 2, maxRows: 2}" v-model="dataForm.customerRemark" :disabled="isProjectFieldDisabled('customerRemark')" ></el-input>
</el-form-item>
<el-form-item label="其他要求" style="height: 70px">
@ -360,7 +360,7 @@
projectName:'',
projectDesc:'',
needDate:'',
priority:'',
priority:'Standard',
projectSource:'',
industry:'',
priorityDesc:'',
@ -641,7 +641,7 @@
projectName: '',
projectDesc: '',
needDate: '',
priority: '',
priority: 'Standard',
projectSource: '',
industry: '',
priorityDesc: '',
@ -1169,7 +1169,7 @@
missing.push('直接客户')
}
if (!this.dataForm.customerRemark || String(this.dataForm.customerRemark).trim() === '') {
missing.push('客户应用/要求')
missing.push('客户产品应用')
}
if (missing.length) {
this.$message.warning('项目经理不为空时,' + missing.join('、') + '不能为空')

92
src/views/modules/project/projectInfo/projectInfo.vue

@ -184,10 +184,10 @@
</el-form-item>
</el-col>
</el-row>
<el-form-item label="项目描述" style="height: 70px">
<el-form-item label="客户产品" style="height: 70px">
<el-input type="textarea" resize="none" :autosize="{minRows: 2, maxRows: 2}" v-model="projectData.projectDesc" readonly></el-input>
</el-form-item>
<el-form-item label="客户应用/要求" style="height: 70px">
<el-form-item label="客户产品应用" style="height: 70px">
<el-input type="textarea" resize="none" :autosize="{minRows: 2, maxRows: 2}" v-model="projectData.customerRemark" readonly></el-input>
</el-form-item>
<el-form-item label="其他要求" style="height: 70px">
@ -656,6 +656,43 @@
fixed: '',
columnWidth: 120
},
{
userId: this.$store.state.user.name,
functionId: 101002001,
serialNumber: '101002001Table1ProjectAmount',
tableId: "101002001Table1",
tableName: "项目信息主表",
columnProp: "projectAmount",
headerAlign: "center",
align: "right",
columnLabel: "项目年销售额CNY(K)",
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 170
},
{
userId: this.$store.state.user.name,
functionId: 101002001,
serialNumber: '101002001Table1ProductCategory',
tableId: "101002001Table1",
tableName: "项目信息主表",
columnProp: "productCategory",
headerAlign: "center",
align: "left",
columnLabel: "产品类别",
columnHidden: false,
columnImage: false,
columnSortable: false,
showOverflowTooltip: true,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 180
},
{
userId: this.$store.state.user.name,
functionId: 101002001,
@ -2118,6 +2155,55 @@
if(!this.accessField('10202002')){
this.columnList1=this.columnList1.filter(item => item.columnProp !== 'projectSource');
}
this.ensureProjectListColumns()
},
ensureProjectListColumns () {
const columns = Array.isArray(this.columnList1) ? this.columnList1.slice() : []
const extras = [
{
columnProp: 'projectAmount',
columnLabel: '项目年销售额CNY(K)',
align: 'right',
columnWidth: 170,
serialNumber: '101002001Table1ProjectAmount'
},
{
columnProp: 'productCategory',
columnLabel: '产品类别',
align: 'left',
columnWidth: 180,
serialNumber: '101002001Table1ProductCategory'
}
]
let anchor = columns.findIndex(item => item.columnProp === 'customerProjectNo')
extras.forEach(extra => {
if (columns.some(item => item.columnProp === extra.columnProp)) {
return
}
const column = {
userId: this.$store.state.user.name,
functionId: 101002001,
serialNumber: extra.serialNumber,
tableId: '101002001Table1',
tableName: '项目信息主表',
columnProp: extra.columnProp,
headerAlign: 'center',
align: extra.align,
columnLabel: extra.columnLabel,
columnHidden: false,
columnImage: false,
columnSortable: false,
showOverflowTooltip: extra.columnProp === 'productCategory',
sortLv: 0,
status: true,
fixed: '',
columnWidth: extra.columnWidth
}
const insertAt = anchor >= 0 ? anchor + 1 : columns.length
columns.splice(insertAt, 0, column)
anchor = insertAt
})
this.columnList1 = columns
},
toChangeMenu(changeNo){
@ -2276,7 +2362,7 @@
missing.push('直接客户')
}
if (!source.customerRemark || String(source.customerRemark).trim() === '') {
missing.push('客户应用/要求')
missing.push('客户产品应用')
}
if (missing.length) {
this.$message.warning('项目经理不为空时,' + missing.join('、') + '不能为空')

6
src/views/modules/proofing/requestForProofing.vue

@ -224,7 +224,7 @@
<el-form-item prop="customerNo" label="客户编码" :show-message="false">
<span style="cursor: pointer" slot="label" v-if="modalData.flag === '1'"
@click="getBaseList(102,1)"><a herf="#">客户编码</a></span>
<el-input :disabled="modalData.flag !== '1' && columnFlagByHeader('customerNo')"
<el-input :disabled="(modalData.flag !== '1' && columnFlagByHeader('customerNo')) || detailVisible"
v-model="modalData.customerNo" @blur="handleQueryCustomer"></el-input>
</el-form-item>
</el-col>
@ -659,10 +659,10 @@
</el-form-item>
</el-col>
</el-row>
<el-form-item label="项目描述" style="height: 70px">
<el-form-item label="客户产品" style="height: 70px">
<el-input type="textarea" resize="none" :autosize="{minRows: 2, maxRows: 2}" v-model="projectInformationData.projectDesc" readonly></el-input>
</el-form-item>
<el-form-item label="客户应用/要求" style="height: 70px">
<el-form-item label="客户产品应用" style="height: 70px">
<el-input type="textarea" resize="none" :autosize="{minRows: 2, maxRows: 2}" v-model="projectInformationData.customerRemark" readonly></el-input>
</el-form-item>
<el-form-item label="其他要求" style="height: 70px">

4
src/views/modules/quotation/requestForQuote.vue

@ -684,10 +684,10 @@
</el-form-item>
</el-col>
</el-row>
<el-form-item label="项目描述" style="height: 70px">
<el-form-item label="客户产品" style="height: 70px">
<el-input type="textarea" resize="none" :autosize="{minRows: 2, maxRows: 2}" v-model="projectInformationData.projectDesc" readonly></el-input>
</el-form-item>
<el-form-item label="客户应用/要求" style="height: 70px">
<el-form-item label="客户产品应用" style="height: 70px">
<el-input type="textarea" resize="none" :autosize="{minRows: 2, maxRows: 2}" v-model="projectInformationData.customerRemark" readonly></el-input>
</el-form-item>
<el-form-item label="其他要求" style="height: 70px">

4
src/views/modules/quotation/sellForQuotation/quotationProjectInformation.vue

@ -64,10 +64,10 @@
</el-form-item>
</el-col>
</el-row>
<el-form-item label="项目描述" style="height: 70px">
<el-form-item label="客户产品" style="height: 70px">
<el-input type="textarea" resize="none" :autosize="{minRows: 2, maxRows: 2}" v-model="projectInformationData.projectDesc" readonly></el-input>
</el-form-item>
<el-form-item label="客户应用/要求" style="height: 70px">
<el-form-item label="客户产品应用" style="height: 70px">
<el-input type="textarea" resize="none" :autosize="{minRows: 2, maxRows: 2}" v-model="projectInformationData.customerRemark" readonly></el-input>
</el-form-item>
<el-form-item label="其他要求" style="height: 70px">

4
src/views/modules/test/requestForTest.vue

@ -799,10 +799,10 @@
</el-form-item>
</el-col>
</el-row>
<el-form-item label="项目描述" style="height: 70px">
<el-form-item label="客户产品" style="height: 70px">
<el-input type="textarea" resize="none" :autosize="{minRows: 2, maxRows: 2}" v-model="projectInformationData.projectDesc" readonly></el-input>
</el-form-item>
<el-form-item label="客户应用/要求" style="height: 70px">
<el-form-item label="客户产品应用" style="height: 70px">
<el-input type="textarea" resize="none" :autosize="{minRows: 2, maxRows: 2}" v-model="projectInformationData.customerRemark" readonly></el-input>
</el-form-item>
<el-form-item label="其他要求" style="height: 70px">

Loading…
Cancel
Save