This commit is contained in:
2024-07-25 13:36:55 +08:00
parent 9a7fabcdbd
commit b35147baf9
7 changed files with 44 additions and 75 deletions

View File

@@ -51,7 +51,7 @@
</view> -->
</view>
<view class="zd-row mgt20 mgb20">
<button class="primary-button" :disabled="disabled" @tap="toConfig">&nbsp;&nbsp;</button>
<button class="primary-button" @tap="toConfig">&nbsp;&nbsp;</button>
</view>
</view>
</view>

View File

@@ -280,8 +280,7 @@
};
},
onLoad () {
this._getWarehouseInfo()
this._getOrganizationInfo()
this.toSearch()
},
methods: {
// 仓库下拉框
@@ -293,7 +292,6 @@
this.$set(e, 'text', e.ckmc)
this.$set(e, 'value', e.ckbm)
})
this.toSearch()
}
},
// 组织信息下拉框
@@ -305,7 +303,6 @@
this.$set(e, 'text', e.kczzmc)
this.$set(e, 'value', e.kczzbm)
})
this.toSearch()
}
},
// 查询一级表格
@@ -333,6 +330,8 @@
icon: 'none'
})
}
this._getWarehouseInfo()
this._getOrganizationInfo()
},
// 二级表格接口
async _allocationBillPage () {
@@ -400,7 +399,6 @@
},
// 二级表格详情修改接口
async _allocationBillUpdate (e) {
console.log(e)
try {
let res = await allocationBillUpdate(e)
uni.showToast({
@@ -524,10 +522,10 @@
}
this.currentPage2 = 1
this._allocationBillPage()
uni.showToast({
title: res.desc,
icon: 'none'
})
// uni.showToast({
// title: res.desc,
// icon: 'none'
// })
} else {
uni.showToast({
title: res.desc,

View File

@@ -262,7 +262,7 @@
this.title = options.name
this.crType = options.type
if (this.crType === 'IN') {
this._getWarehouseInfo()
this.toSearch()
} else {
this._getUserInfo()
}
@@ -277,7 +277,6 @@
this.$set(e, 'text', e.ckmc)
this.$set(e, 'value', e.ckbm)
})
this.toSearch()
}
},
// 仓管员下拉框
@@ -292,7 +291,7 @@
}
this.value2 = JSON.parse(this.$store.getters.userInfo).username
}
this._getWarehouseInfo()
this.toSearch()
}
},
// 查询一级表格
@@ -324,6 +323,7 @@
icon: 'none'
})
}
this._getWarehouseInfo()
},
// 二级表格接口
async _easOutInBillDetailPage () {
@@ -401,10 +401,10 @@
this.disabled1 = false
this.checkArr1 = []
this._easOutInBillPage()
uni.showToast({
title: res.desc,
icon: 'none'
})
// uni.showToast({
// title: res.desc,
// icon: 'none'
// })
} else {
this.disabled1 = false
uni.showToast({

View File

@@ -231,8 +231,7 @@
};
},
onLoad () {
this._getWarehouseInfo()
this._getOrganizationInfo()
this.toSearch()
},
methods: {
// 仓库下拉框
@@ -244,7 +243,6 @@
this.$set(e, 'text', e.ckmc)
this.$set(e, 'value', e.ckbm)
})
this.toSearch()
}
},
// 组织信息下拉框
@@ -256,7 +254,6 @@
this.$set(e, 'text', e.kczzmc)
this.$set(e, 'value', e.kczzbm)
})
this.toSearch()
}
},
// 查询一级表格
@@ -284,6 +281,8 @@
icon: 'none'
})
}
this._getWarehouseInfo()
this._getOrganizationInfo()
},
// 二级表格接口
async _receiptBillPage () {
@@ -467,10 +466,10 @@
}
this.currentPage2 = 1
this._receiptBillPage()
uni.showToast({
title: res.desc,
icon: 'none'
})
// uni.showToast({
// title: res.desc,
// icon: 'none'
// })
} else {
uni.showToast({
title: res.desc,