|
@@ -276,7 +276,8 @@ export default {
|
|
},
|
|
},
|
|
openDeclareDialog(row) {
|
|
openDeclareDialog(row) {
|
|
// if (row.delivery || new Date(row.orderCreated) < new Date('2025-01-01')) {
|
|
// if (row.delivery || new Date(row.orderCreated) < new Date('2025-01-01')) {
|
|
- if (row.delivery) {
|
|
|
|
|
|
+ // 资产事业部王琴要求,去掉标记送达的要求,与大中型一致只需要出了产品即可申报绩效
|
|
|
|
+ // if (row.delivery) {
|
|
this.getSimpleAllUser();
|
|
this.getSimpleAllUser();
|
|
this.declareDialog = true;
|
|
this.declareDialog = true;
|
|
this.declareForm.orderId = row.orderId;
|
|
this.declareForm.orderId = row.orderId;
|
|
@@ -289,17 +290,22 @@ export default {
|
|
this.businessPerformanceDistributionForm.reportNo = row.reportNo;
|
|
this.businessPerformanceDistributionForm.reportNo = row.reportNo;
|
|
// 人员类型(市场人员/评估人员)
|
|
// 人员类型(市场人员/评估人员)
|
|
this.businessPerformanceDistributionForm.userType = '市场人员';
|
|
this.businessPerformanceDistributionForm.userType = '市场人员';
|
|
- } else {
|
|
|
|
- this.$notify({
|
|
|
|
- title: '失败',
|
|
|
|
- message: '产品需先标记送达',
|
|
|
|
- type: 'error',
|
|
|
|
- duration: 2000
|
|
|
|
- });
|
|
|
|
- }
|
|
|
|
|
|
+ this.declareForm.createProductionDate = row.createProductionDate;
|
|
|
|
+ // } else {
|
|
|
|
+ // this.$notify({
|
|
|
|
+ // title: '失败',
|
|
|
|
+ // message: '产品需先标记送达',
|
|
|
|
+ // type: 'error',
|
|
|
|
+ // duration: 2000
|
|
|
|
+ // });
|
|
|
|
+ // }
|
|
|
|
|
|
},
|
|
},
|
|
declareMarket() {
|
|
declareMarket() {
|
|
|
|
+ if (!this.declareForm.createProductionDate){
|
|
|
|
+ this.$message.error("未出产品,不能申报。");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
this.$refs.declareForm.validate(valid => {
|
|
this.$refs.declareForm.validate(valid => {
|
|
if (valid) {
|
|
if (valid) {
|
|
for (let i in this.businessPerformanceDistributionForm.distributionList) {
|
|
for (let i in this.businessPerformanceDistributionForm.distributionList) {
|