Commit 4e35b3bf by lichengming

修改了出入库管理

parent e1889722
...@@ -722,10 +722,8 @@ export default { ...@@ -722,10 +722,8 @@ export default {
this._getPackList() this._getPackList()
this._getProjectList() this._getProjectList()
this._getSoil() this._getSoil()
this._getUser()
this.showBtn = true this.showBtn = true
this.showModal = true this.showModal = true
this._getUser()
this._hideLoading() this._hideLoading()
if (this.$string(formObj).isEmpty()) { if (this.$string(formObj).isEmpty()) {
this.$refs.formObj.resetFields() this.$refs.formObj.resetFields()
...@@ -735,6 +733,7 @@ export default { ...@@ -735,6 +733,7 @@ export default {
this.formObj.entrustDate = new Date() this.formObj.entrustDate = new Date()
this.modalTitle = '委托单新增' this.modalTitle = '委托单新增'
} }
this._getUser()
}, },
_openEdit(formObj) { _openEdit(formObj) {
this.edit = true this.edit = true
...@@ -743,6 +742,7 @@ export default { ...@@ -743,6 +742,7 @@ export default {
this._getTestType() this._getTestType()
this._getPackList() this._getPackList()
this._getSoil() this._getSoil()
this._getProjectList()
this.showBtn = false this.showBtn = false
this.showModal = true this.showModal = true
this.$refs.formObj.resetFields() this.$refs.formObj.resetFields()
......
...@@ -121,7 +121,6 @@ export default { ...@@ -121,7 +121,6 @@ export default {
selectIds: [], selectIds: [],
getPage: {}, getPage: {},
pageColumns: [ pageColumns: [
{ title: '委托编号', key: 'entrustCode', width: 120 },
{ title: '项目名称', key: 'projectName', width: 120 }, { title: '项目名称', key: 'projectName', width: 120 },
{ title: '项目负责人', key: 'projectLeader', width: 150, detail: true }, { title: '项目负责人', key: 'projectLeader', width: 150, detail: true },
{ title: '钻孔孔号', key: 'boreholeNumber', width: 120 }, { title: '钻孔孔号', key: 'boreholeNumber', width: 120 },
......
...@@ -671,12 +671,7 @@ export default { ...@@ -671,12 +671,7 @@ export default {
_open(formObj) { _open(formObj) {
this.$refs.autoInput._clear() this.$refs.autoInput._clear()
this.edit = false this.edit = false
this._getList()
this._getTestType()
this._getPackList()
this._getProjectList() this._getProjectList()
this._getSoil()
this._getUser()
this.showBtn = true this.showBtn = true
this.showModal = true this.showModal = true
this._getUser() this._getUser()
...@@ -693,10 +688,7 @@ export default { ...@@ -693,10 +688,7 @@ export default {
_openEdit(formObj) { _openEdit(formObj) {
this.edit = true this.edit = true
console.log(formObj) console.log(formObj)
this._getList() this._getProjectList()
this._getTestType()
this._getPackList()
this._getSoil()
this.showBtn = false this.showBtn = false
this.showModal = true this.showModal = true
this.$refs.formObj.resetFields() this.$refs.formObj.resetFields()
......
...@@ -121,7 +121,6 @@ export default { ...@@ -121,7 +121,6 @@ export default {
selectIds: [], selectIds: [],
getPage: {}, getPage: {},
pageColumns: [ pageColumns: [
{ title: '委托编号', key: 'entrustCode', width: 120 },
{ title: '项目名称', key: 'projectName', width: 120 }, { title: '项目名称', key: 'projectName', width: 120 },
{ title: '项目负责人', key: 'projectLeader', width: 150, detail: true }, { title: '项目负责人', key: 'projectLeader', width: 150, detail: true },
{ title: '钻孔孔号', key: 'boreholeNumber', width: 120 }, { title: '钻孔孔号', key: 'boreholeNumber', width: 120 },
......
...@@ -671,12 +671,7 @@ export default { ...@@ -671,12 +671,7 @@ export default {
_open(formObj) { _open(formObj) {
this.$refs.autoInput._clear() this.$refs.autoInput._clear()
this.edit = false this.edit = false
this._getList()
this._getTestType()
this._getPackList()
this._getProjectList() this._getProjectList()
this._getSoil()
this._getUser()
this.showBtn = true this.showBtn = true
this.showModal = true this.showModal = true
this._getUser() this._getUser()
...@@ -693,10 +688,7 @@ export default { ...@@ -693,10 +688,7 @@ export default {
_openEdit(formObj) { _openEdit(formObj) {
this.edit = true this.edit = true
console.log(formObj) console.log(formObj)
this._getList() this._getProjectList()
this._getTestType()
this._getPackList()
this._getSoil()
this.showBtn = false this.showBtn = false
this.showModal = true this.showModal = true
this.$refs.formObj.resetFields() this.$refs.formObj.resetFields()
......
...@@ -677,11 +677,7 @@ export default { ...@@ -677,11 +677,7 @@ export default {
_open(formObj) { _open(formObj) {
this.$refs.autoInput._clear() this.$refs.autoInput._clear()
this.edit = false this.edit = false
this._getList()
this._getTestType()
this._getPackList()
this._getProjectList() this._getProjectList()
this._getSoil()
this.showBtn = true this.showBtn = true
this.showModal = true this.showModal = true
this._hideLoading() this._hideLoading()
...@@ -698,10 +694,7 @@ export default { ...@@ -698,10 +694,7 @@ export default {
_openEdit(formObj) { _openEdit(formObj) {
this.edit = true this.edit = true
console.log(formObj) console.log(formObj)
this._getList() this._getProjectList()
this._getTestType()
this._getPackList()
this._getSoil()
this.showBtn = false this.showBtn = false
this.showModal = true this.showModal = true
this.$refs.formObj.resetFields() this.$refs.formObj.resetFields()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment