| | |
| | | placeholder="请输入工序单价" |
| | | oninput="value=value.replace(/[^0-9.]/g,'')" |
| | | style="width: 100%" |
| | | @click="" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | { |
| | | stepcode: i, |
| | | stepname: this.stepSelectArr.find(j => j.stepcode === i).stepname, |
| | | stepprice: arrStepcode.includes(i) ? arr.find(j => j.stepcode === i).stepprice : 0 |
| | | // stepprice: arrStepcode.includes(i) ? arr.find(j => j.stepcode === i).stepprice : 0 |
| | | stepprice: arrStepcode.includes(i) ? arr.find(j => j.stepcode === i).stepprice : '' |
| | | } |
| | | ) |
| | | }) |
| | | } |
| | | } |
| | | }, |
| | | activated() { |
| | | window.addEventListener('resize', this.getHeight) |
| | | this.getHeight() |
| | | }, |
| | | created() { |
| | | this.handleRequest() |
| | |
| | | { |
| | | stepcode: i.step_code, |
| | | stepname: i.stepname, |
| | | stepprice: i.stepprice |
| | | stepprice: i.stepprice === 0 ? '' : i.stepprice |
| | | } |
| | | ) |
| | | }) |
| | |
| | | { |
| | | stepcode: i.step_code, |
| | | // stepname: i.stepname, |
| | | stepprice: i.stepprice |
| | | stepprice: i.stepprice === 0 ? '' : i.stepprice |
| | | } |
| | | ) |
| | | }) |
| | |
| | | { |
| | | stepcode: i.step_code, |
| | | stepname: i.stepname, |
| | | stepprice: i.stepprice |
| | | stepprice: i.stepprice === 0 ? '' : i.stepprice |
| | | } |
| | | ) |
| | | }) |
| | |
| | | { |
| | | stepcode: i.step_code, |
| | | stepname: i.step_name, |
| | | stepprice: i.unprice |
| | | stepprice: i.unprice === 0 ? '' : i.unprice |
| | | } |
| | | ) |
| | | }) |
| | |
| | | { |
| | | stepcode: i.step_code, |
| | | // stepname: i.stepname, |
| | | stepprice: i.unprice |
| | | stepprice: i.unprice === 0 ? '' : i.unprice |
| | | } |
| | | ) |
| | | }) |
| | |
| | | { |
| | | stepcode: i.step_code, |
| | | // stepname: i.stepname, |
| | | stepprice: i.stepprice |
| | | stepprice: i.stepprice === 0 ? '' : i.stepprice |
| | | } |
| | | ) |
| | | }) |
| | |
| | | { |
| | | stepseq: j + 1, |
| | | stepcode: i.stepcode, |
| | | stepprice: i.stepprice, |
| | | stepprice: i.stepprice === '' ? 0 : parseFloat(i.stepprice), |
| | | isbott: j === 0 ? 'Y' : 'N', |
| | | isend: j === this.stepTableData.length - 1 ? 'Y' : 'N' |
| | | } |