代码更新

This commit is contained in:
2022-12-01 12:56:03 +08:00
parent e12c9a7a90
commit 594ee8a843
5 changed files with 24 additions and 8 deletions

View File

@@ -217,7 +217,7 @@
</el-table>
</el-card>
<StructDiv ref="child" :dialog-show.sync="structShow" :sect-prop="sectProp" @tableChanged="tableChanged" />
<StructDiv ref="child" :stor-id="storId" :dialog-show.sync="structShow" :sect-prop="sectProp" @tableChanged="tableChanged" />
</el-dialog>
</template>

View File

@@ -217,7 +217,7 @@
</el-table>
</el-card>
<pointDialog ref="child" :dialog-show.sync="pointshow" :dialog-typedisable="typedisable" :dialog-areatype="areatype" @PointChanged="PointChanged" />
<StructIvt :dialog-show.sync="structshow" :open-array="openParam" :rowmst="openRow" @StructIvtClosed="queryTableDtl" />
<StructIvt :dialog-show.sync="structshow" :stor-id="storId" :open-array="openParam" :rowmst="openRow" @StructIvtClosed="queryTableDtl" />
</el-dialog>
</template>
@@ -316,7 +316,6 @@ export default {
methods: {
open() {
crudUserStor.getSect({ 'stor_id': this.storId }).then(res => {
debugger
this.sects = res.content
})
},
@@ -367,6 +366,7 @@ export default {
},
openStructIvt() {
this.currentRow.remark = ''
this.currentRow.stor_id = this.storId
checkoutbill.getStructIvt(this.currentRow).then(res => {
this.openParam = res
this.structshow = true

View File

@@ -104,6 +104,7 @@
import CRUD, { header } from '@crud/crud'
import crudSectattr from '@/views/wms/basedata/st/sect/sectattr'
import checkoutbill from '@/views/wms/st/outbill/checkoutbill'
import crudUserStor from '@/views/wms/basedata/st/userStor/userStor'
export default {
name: 'StructIvt',
@@ -120,6 +121,10 @@ export default {
openArray: {
type: Array,
default: () => { return [] }
},
storId: {
type: String,
default: null
}
},
data() {
@@ -150,8 +155,7 @@ export default {
},
methods: {
open() {
crudSectattr.getSect({ is_productstore: '1' }).then(res => {
debugger
crudUserStor.getSect({ 'stor_id': this.storId }).then(res => {
this.sects = res.content
})
this.query.source_bill_code = this.queryrow.source_bill_code