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 return
} }
if (this.selectionList[0].billState == '已完成') { if (this.selectionList[0].billState == '新建') {
this.$message({ this.$message({
type: 'warning', type: 'warning',
message: "此记录完成,不可操作。", message: "此记录完成,不可操作。",
showClose: true showClose: true
}) })
return return

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

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

Loading…
Cancel
Save