Browse Source

修改合格转隔离功能

hella_vue3
niexiting 7 months ago
parent
commit
aac9333bc9
  1. 27
      src/pages/inventoryMove/coms/comMoveRecord.vue
  2. 2
      src/pages/inventoryMove/coms/comMovebalance.vue

27
src/pages/inventoryMove/coms/comMoveRecord.vue

@ -336,20 +336,19 @@
if (res.success) {
this.managementList = res.list;
var params = this.setParams()
console.log("提交" + JSON.stringify(params))
// inventoryMoveRecordSubmit(params).then(res => {
// uni.hideLoading()
// if (res.data) {
// this.showCommitSuccessMessage("<br>" + this.title + "<br>" +
// res.data)
// } else {
// this.showErrorMessage("[" + res.msg + "]")
// }
// }).catch(error => {
// uni.hideLoading()
// this.showErrorMessage(error)
// })
// console.log("" + JSON.stringify(params))
inventoryMoveRecordSubmit(params).then(res => {
uni.hideLoading()
if (res.data) {
this.showCommitSuccessMessage("提交成功<br>生成" + this.title + "<br>" +
res.data)
} else {
this.showErrorMessage("提交失败[" + res.msg + "]")
}
}).catch(error => {
uni.hideLoading()
this.showErrorMessage(error)
})
} else {
uni.hideLoading();
this.showErrorMessage(res.message);

2
src/pages/inventoryMove/coms/comMovebalance.vue

@ -13,7 +13,7 @@
:dataContent="dataContent"
:isShowStdPack="isShowStdPack"></qty> -->
<compare-qty :dataContent="dataContent" :recommendQty="dataContent.qty"
:handleQty="dataContent.handleQty" :isShowStdPack="isShowStdPack">
:handleQty="dataContent.handleQty" :isShowStdPack="isShowStdPack" :isShowStatus='false' >
</compare-qty>
<move-status :fromInventoryStatus="fromInventoryStatus" :toInventoryStatus="toInventoryStatus" :showToInventoryStatus="allowEditStatus">
</move-status>

Loading…
Cancel
Save