代码更新
This commit is contained in:
@@ -249,7 +249,7 @@
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
<AddDtl :dialog-show.sync="dtlShow" :open-param="materType" @tableChanged="tableChanged5" />
|
||||
<AddDtl :dialog-show.sync="dtlShow" :stor-id="storId" :open-param="materType" @tableChanged="tableChanged5" />
|
||||
<MaterDialog :dialog-show.sync="materShow" :mater-opt-code.sync="materType" @setMaterValue="setMaterValue" />
|
||||
</el-dialog>
|
||||
</template>
|
||||
@@ -301,6 +301,7 @@ export default {
|
||||
storlist: [],
|
||||
inStorList: [],
|
||||
invtypelist: [],
|
||||
storId: null,
|
||||
rules: {
|
||||
stor_id: [
|
||||
{ required: true, message: '仓库不能为空', trigger: 'blur' }
|
||||
@@ -401,6 +402,11 @@ export default {
|
||||
this.crud.notify('请选择业务类型!', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
return
|
||||
}
|
||||
if (this.form.stor_id === '') {
|
||||
this.crud.notify('请选择仓库!', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
return
|
||||
}
|
||||
this.storId = this.form.stor_id
|
||||
this.dtlShow = true
|
||||
/* checkoutbill.paramByCodeType({ 'bill_type': this.form.bill_type }).then(res => {
|
||||
this.materType = res.materType
|
||||
|
||||
Reference in New Issue
Block a user