代码更新

This commit is contained in:
2022-12-17 11:50:31 +08:00
parent 01419ecf8d
commit f5b7fc393a
3 changed files with 14 additions and 22 deletions

View File

@@ -250,7 +250,7 @@
</el-table-column>
</el-table>
<AddDtl :dialog-show.sync="dtlShow" :stor-id="storId" :open-param="materType" @tableChanged="tableChanged5" />
<AddDtl :dialog-show.sync="dtlShow" :stor-id="storId" @tableChanged="tableChanged5" />
<MaterDialog :dialog-show.sync="materShow" :mater-opt-code.sync="materType" @setMaterValue="setMaterValue" />
</el-dialog>
</template>
@@ -336,7 +336,6 @@ export default {
this.$emit('AddChanged')
},
[CRUD.HOOK.beforeSubmit]() {
debugger
if (this.form.tableData.length === 0) {
this.crud.notify('请至少选择一条明细', CRUD.NOTIFICATION_TYPE.INFO)
return false
@@ -398,7 +397,7 @@ export default {
this.nowrow = row
})*/
},
async queryDtl(index, row) {
queryDtl(index, row) {
if (this.form.bill_type === '') {
this.crud.notify('请选择业务类型!', CRUD.NOTIFICATION_TYPE.INFO)
return
@@ -415,7 +414,6 @@ export default {
},
tableChanged(rows) {
rows.forEach((item) => {
debugger
if (this.form.tableData.length !== 0) {
this.flagnow = false
for (let i = 0; i < this.form.tableData.length; i++) {