|
@@ -891,7 +891,6 @@ export default {
|
|
|
},
|
|
|
//物料带出单位
|
|
|
change(scope){
|
|
|
- console.log(this.materialOption)
|
|
|
for(let item in this.detailList){
|
|
|
for(let li in this.materialOption){
|
|
|
if(this.detailList[item].fMaterial == this.materialOption[li].fId){
|
|
@@ -909,7 +908,6 @@ export default {
|
|
|
},
|
|
|
homePage(){
|
|
|
let date = this.$route.query
|
|
|
- console.log(this.$route.query.list)
|
|
|
if (this.$route.query.list){
|
|
|
this.cancelButton = false;
|
|
|
let scope = {
|
|
@@ -992,7 +990,6 @@ export default {
|
|
|
liableRemoteMethod(name) {
|
|
|
let queryParams = { fName: name }
|
|
|
getliable(queryParams).then((response) => {
|
|
|
- console.log(response)
|
|
|
this.liableOption = response.rows
|
|
|
})
|
|
|
},
|
|
@@ -1000,7 +997,6 @@ export default {
|
|
|
materialRemoteMethod(name) {
|
|
|
let queryParams = { fName: name }
|
|
|
listmaterial(queryParams).then((response) => {
|
|
|
- console.log(response)
|
|
|
this.materialOption = response.rows
|
|
|
})
|
|
|
},
|
|
@@ -1010,9 +1006,6 @@ export default {
|
|
|
listCharge(this.form).then(response => {
|
|
|
if (response.rows) {
|
|
|
this.projectList = response.rows
|
|
|
- // for (let li in this.projectList) {
|
|
|
- // this.name = this.projectList[li]
|
|
|
- // }
|
|
|
}
|
|
|
this.total = response.total;
|
|
|
})
|
|
@@ -1026,7 +1019,6 @@ export default {
|
|
|
handleUpdate(row, res) {
|
|
|
const fId = row.fId || this.ids
|
|
|
getChange(fId).then(response => {
|
|
|
- console.log("111")
|
|
|
if (response.data.projectItemsList) {
|
|
|
this.detailform = response.data.tProject
|
|
|
this.operator = this.detailform.createBy
|
|
@@ -1038,7 +1030,6 @@ export default {
|
|
|
this.$set(this.detailList[li], 'fMeasure', JSON.stringify(this.detailList[li].fMeasure))
|
|
|
}
|
|
|
}
|
|
|
- console.log(this.detailform.fBillstatus)
|
|
|
if(this.detailform.fBillstatus >= 4){
|
|
|
this.doNot = true
|
|
|
this.doNotchange = true
|
|
@@ -1091,14 +1082,12 @@ export default {
|
|
|
this.$refs['detailform'].validate((valid) => {
|
|
|
if (valid) {
|
|
|
let formData = new window.FormData()
|
|
|
- console.log(this.detailform)
|
|
|
formData.append('tProject', JSON.stringify(this.detailform))
|
|
|
formData.append('tCtnpriceItems', JSON.stringify(this.detailList))
|
|
|
addChange(formData).then(response => {
|
|
|
this.$message.success("操作成功")
|
|
|
if (response.data.tProject) {
|
|
|
this.detailform = response.data.tProject
|
|
|
- console.log(this.detailform)
|
|
|
}
|
|
|
if (response.data.tCtnpriceItems) {
|
|
|
this.detailList = response.data.tCtnpriceItems
|
|
@@ -1109,7 +1098,6 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
goBack() {
|
|
|
- console.log(this.$route.query)
|
|
|
if (this.doNot == true && !this.$route.query.data) {
|
|
|
this.mainTabel = false
|
|
|
}else if(this.$route.query.data){
|