Browse Source

完善收货单

master
guoxing 12 months ago
parent
commit
c152450566
  1. 10
      yxt-as-ui/src/views/storage/deliveryNotice/receiptAdd.vue
  2. 9
      yxt-as-ui/src/views/storage/receivingGoods/receivingGoodsAdd.vue

10
yxt-as-ui/src/views/storage/deliveryNotice/receiptAdd.vue

@ -261,6 +261,11 @@
} }
}, },
created() { created() {
},
methods: {
init() {
getOrgSidByPath({ getOrgSidByPath({
orgPath: window.sessionStorage.getItem('defaultOrgPath') orgPath: window.sessionStorage.getItem('defaultOrgPath')
}).then((res) => { }).then((res) => {
@ -270,7 +275,7 @@
} }
}) })
}, },
methods: {
// getOrgPathSid() { // getOrgPathSid() {
// getOrgSidByPath({ // getOrgSidByPath({
// orgPath: window.sessionStorage.getItem('defaultOrgPath') // orgPath: window.sessionStorage.getItem('defaultOrgPath')
@ -653,13 +658,14 @@
this.$nextTick(() => { this.$nextTick(() => {
this.$refs['form_obj'].clearValidate() this.$refs['form_obj'].clearValidate()
}) })
this.init()
}, },
showEdit(row) { showEdit(row) {
this.$nextTick(() => { this.$nextTick(() => {
this.$refs['form_obj'].clearValidate() this.$refs['form_obj'].clearValidate()
}) })
this.init()
// this.getWarehouseList() // this.getWarehouseList()
this.getsupplierLust() this.getsupplierLust()
// this.getOrgPathSid() // this.getOrgPathSid()

9
yxt-as-ui/src/views/storage/receivingGoods/receivingGoodsAdd.vue

@ -371,6 +371,11 @@
} }
}, },
created() { created() {
},
methods: {
init(){
getOrgSidByPath({ getOrgSidByPath({
orgPath: window.sessionStorage.getItem('defaultOrgPath') orgPath: window.sessionStorage.getItem('defaultOrgPath')
}).then((res) => { }).then((res) => {
@ -380,8 +385,6 @@
} }
}) })
}, },
methods: {
// commodityInput(value) { // commodityInput(value) {
// this.commodityQuery.params.name = value // this.commodityQuery.params.name = value
// this.commodityLoading = true // this.commodityLoading = true
@ -674,6 +677,7 @@
this.isUpdata = false this.isUpdata = false
console.log("showAdd", this.isUpdata); console.log("showAdd", this.isUpdata);
this.init()
this.getsupplierLust() this.getsupplierLust()
this.getWarehouseList() this.getWarehouseList()
@ -692,6 +696,7 @@
showEdit(row) { showEdit(row) {
this.title = "【修改】" this.title = "【修改】"
this.isUpdata = true this.isUpdata = true
this.init()
this.getsupplierLust() this.getsupplierLust()
this.getWarehouseList() this.getWarehouseList()
console.log("showEdit", this.isUpdata); console.log("showEdit", this.isUpdata);

Loading…
Cancel
Save