给单据增加复制功能

This commit is contained in:
季圣华
2021-09-22 23:08:24 +08:00
parent efb1e828e0
commit a7ac4581fd
28 changed files with 120 additions and 0 deletions

View File

@@ -69,6 +69,16 @@ export const BillModalMixin = {
this.accountMoneyList = []
this.manyAccountBtnStatus = false
},
copyAddInit(amountNum) {
getAction('/sequence/buildNumber').then((res) => {
if (res && res.code === 200) {
this.form.setFieldsValue({'number':amountNum + res.data.defaultNumber})
}
})
this.$nextTick(() => {
this.form.setFieldsValue({'operTime':getNowFormatDateTime()})
})
},
initSupplier() {
let that = this;
findBySelectSup({}).then((res)=>{