|
@@ -272,27 +272,38 @@ export default {
|
|
|
},
|
|
|
|
|
|
handleSave () {
|
|
|
- const bidExpertExamines = this.zigeList.map(item => {
|
|
|
+
|
|
|
+ for (let item of this.jishuList) {
|
|
|
+ if (item.value != item.score) {
|
|
|
+ if (!item.reason) {
|
|
|
+ this.$message.error(`【${item.content}】请填写扣分原因`)
|
|
|
+ return
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ const bidExpertTeches = this.jishuList.map(item => {
|
|
|
return {
|
|
|
id: item.oid,
|
|
|
sid: this.tender.sid,
|
|
|
- eid: item.id,
|
|
|
+ tid: item.id,
|
|
|
hid: this.hid,
|
|
|
hName: this.hName,
|
|
|
- isOk: item.isOk,
|
|
|
+ score: item.score,
|
|
|
+ reason: item.reason,
|
|
|
}
|
|
|
})
|
|
|
- const bidExpertTeches = this.jishuList.map(item => {
|
|
|
+
|
|
|
+ const bidExpertExamines = this.zigeList.map(item => {
|
|
|
return {
|
|
|
id: item.oid,
|
|
|
sid: this.tender.sid,
|
|
|
- tid: item.id,
|
|
|
+ eid: item.id,
|
|
|
hid: this.hid,
|
|
|
hName: this.hName,
|
|
|
- score: item.score,
|
|
|
- reason: item.reason,
|
|
|
+ isOk: item.isOk,
|
|
|
}
|
|
|
})
|
|
|
+
|
|
|
const bidExpertResponds = this.xiangyingList.map(item => {
|
|
|
return {
|
|
|
id: item.oid,
|