|
@@ -655,9 +655,9 @@ $(document).ready(function() {
|
|
if (tender.advance && tender.advance.length > 0) {
|
|
if (tender.advance && tender.advance.length > 0) {
|
|
const advanceType = [];
|
|
const advanceType = [];
|
|
tender.advance.forEach(x => {
|
|
tender.advance.forEach(x => {
|
|
- let at = advanceType.find(y => { return y.value === x.type });
|
|
|
|
|
|
+ let at = advanceType.find(y => { return y.value === x.type + '' });
|
|
if (!at) {
|
|
if (!at) {
|
|
- at = { value: x.type, text: x.type_str, stage: [] };
|
|
|
|
|
|
+ at = { value: x.type + '', text: x.type_str, stage: [] };
|
|
advanceType.push(at);
|
|
advanceType.push(at);
|
|
}
|
|
}
|
|
at.stage.push({ value: x.id, text: `第${x.order}期`});
|
|
at.stage.push({ value: x.id, text: `第${x.order}期`});
|