Browse Source

完善上架单

master
guoxing 1 year ago
parent
commit
673de2f7d9
  1. 4
      yxt-as-ui/src/views/storage/receivingGoods/index.vue
  2. 22
      yxt-as-ui/src/views/storage/receivingGoods/upShelfAddRecord.vue

4
yxt-as-ui/src/views/storage/receivingGoods/index.vue

@ -350,10 +350,10 @@
return
}
if (this.selectionList[0].billState == '已完成') {
if (this.selectionList[0].billState == '新建') {
this.$message({
type: 'warning',
message: "此记录完成,不可操作。",
message: "此记录完成,不可操作。",
showClose: true
})
return

22
yxt-as-ui/src/views/storage/receivingGoods/upShelfAddRecord.vue

@ -134,7 +134,8 @@
getCurrentDate
} from '@/utils/index.js'
import {
selAllByOrgSidPath
selAllByOrgSidPath,
getOrgSidByPath
} from '@/api/Common/dictcommons'
export default {
@ -158,7 +159,9 @@
"list": [
],
"remarks": ""
"remarks": "",
'createOrgSid': "",
'useOrgSid': ""
},
hideUploadBtn: false,
busTypeList: [{
@ -193,6 +196,16 @@
},
methods: {
getOrgPathSid() {
getOrgSidByPath({
orgPath: window.sessionStorage.getItem('defaultOrgPath')
}).then((res) => {
if (res.success) {
this.formobj.createOrgSid = res.data
this.formobj.useOrgSid = res.data
}
})
},
doGoodsDel(sid) {
console.log("doGoodsDel》》》》", sid)
@ -256,7 +269,9 @@
"list": [
],
"remarks": ""
"remarks": "",
'createOrgSid': "",
'useOrgSid': ""
}
this.$emit('doback')
},
@ -267,6 +282,7 @@
showEdit(row) {
this.getWarehouseList()
this.getAllOrgper()
this.getOrgPathSid()
var params = {
sid: row.sid,
orgPath: window.sessionStorage.getItem('defaultOrgPath'),

Loading…
Cancel
Save