Commit 4e35b3bf by lichengming

修改了出入库管理

parent e1889722
......@@ -722,10 +722,8 @@ export default {
this._getPackList()
this._getProjectList()
this._getSoil()
this._getUser()
this.showBtn = true
this.showModal = true
this._getUser()
this._hideLoading()
if (this.$string(formObj).isEmpty()) {
this.$refs.formObj.resetFields()
......@@ -735,6 +733,7 @@ export default {
this.formObj.entrustDate = new Date()
this.modalTitle = '委托单新增'
}
this._getUser()
},
_openEdit(formObj) {
this.edit = true
......@@ -743,6 +742,7 @@ export default {
this._getTestType()
this._getPackList()
this._getSoil()
this._getProjectList()
this.showBtn = false
this.showModal = true
this.$refs.formObj.resetFields()
......
......@@ -121,7 +121,6 @@ export default {
selectIds: [],
getPage: {},
pageColumns: [
{ title: '委托编号', key: 'entrustCode', width: 120 },
{ title: '项目名称', key: 'projectName', width: 120 },
{ title: '项目负责人', key: 'projectLeader', width: 150, detail: true },
{ title: '钻孔孔号', key: 'boreholeNumber', width: 120 },
......
......@@ -671,12 +671,7 @@ export default {
_open(formObj) {
this.$refs.autoInput._clear()
this.edit = false
this._getList()
this._getTestType()
this._getPackList()
this._getProjectList()
this._getSoil()
this._getUser()
this.showBtn = true
this.showModal = true
this._getUser()
......@@ -693,10 +688,7 @@ export default {
_openEdit(formObj) {
this.edit = true
console.log(formObj)
this._getList()
this._getTestType()
this._getPackList()
this._getSoil()
this._getProjectList()
this.showBtn = false
this.showModal = true
this.$refs.formObj.resetFields()
......
......@@ -121,7 +121,6 @@ export default {
selectIds: [],
getPage: {},
pageColumns: [
{ title: '委托编号', key: 'entrustCode', width: 120 },
{ title: '项目名称', key: 'projectName', width: 120 },
{ title: '项目负责人', key: 'projectLeader', width: 150, detail: true },
{ title: '钻孔孔号', key: 'boreholeNumber', width: 120 },
......
......@@ -671,12 +671,7 @@ export default {
_open(formObj) {
this.$refs.autoInput._clear()
this.edit = false
this._getList()
this._getTestType()
this._getPackList()
this._getProjectList()
this._getSoil()
this._getUser()
this.showBtn = true
this.showModal = true
this._getUser()
......@@ -693,10 +688,7 @@ export default {
_openEdit(formObj) {
this.edit = true
console.log(formObj)
this._getList()
this._getTestType()
this._getPackList()
this._getSoil()
this._getProjectList()
this.showBtn = false
this.showModal = true
this.$refs.formObj.resetFields()
......
......@@ -677,11 +677,7 @@ export default {
_open(formObj) {
this.$refs.autoInput._clear()
this.edit = false
this._getList()
this._getTestType()
this._getPackList()
this._getProjectList()
this._getSoil()
this.showBtn = true
this.showModal = true
this._hideLoading()
......@@ -698,10 +694,7 @@ export default {
_openEdit(formObj) {
this.edit = true
console.log(formObj)
this._getList()
this._getTestType()
this._getPackList()
this._getSoil()
this._getProjectList()
this.showBtn = false
this.showModal = true
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