This commit is contained in:
chenjianan
2019-04-19 11:41:19 +08:00
parent 55f53eedda
commit ff67047979

View File

@@ -167,6 +167,9 @@ export default {
inject: ['reload'], inject: ['reload'],
data() { data() {
return { return {
year: '',
month: '',
day: '',
trustee: '', // 受托人 trustee: '', // 受托人
bank1: '', bank1: '',
account1: '', account1: '',
@@ -433,7 +436,7 @@ export default {
</tr> </tr>
</tbody> </tbody>
</table> </table>
<p style="text-align: right;">日期______年______月______日</p> <p style="text-align: right;">日期_${this.year}_年_${this.month}_月_${this.day}_日</p>
<hr /> <hr />
<p style="text-align: center;"> <p style="text-align: center;">
<strong>明细表</strong> <strong>明细表</strong>
@@ -464,6 +467,10 @@ export default {
` `
}, },
async editContract() { // 选择一个询价单,整成合同明细 async editContract() { // 选择一个询价单,整成合同明细
const date = new Date()
this.year = date.getFullYear()
this.month = date.getMonth() + 1
this.day = date.getDate()
this.demoChange() this.demoChange()
await sleep(0) await sleep(0)
if (this.contractNumValue) { if (this.contractNumValue) {