Browse Source

完善代码

master
yunuo970428 3 days ago
parent
commit
210822fcf3
  1. 5
      yxt-as-ui/src/api/storage/oldPartsInvertory.js
  2. 2
      yxt-as-ui/src/views/purchase/purchasereturn/purchasereturn.vue
  3. 1
      yxt-as-ui/src/views/workFlow/oldpPartStocktakingLossFlow/oldpPartStocktakingLossEdit.vue
  4. 1
      yxt-as-ui/src/views/workFlow/oldpPartStocktakingSurplusFlow/oldpPartStocktakingSurplusEdit.vue

5
yxt-as-ui/src/api/storage/oldPartsInvertory.js

@ -15,8 +15,9 @@ export default {
// 获取旧件出入库记录详情 // 获取旧件出入库记录详情
init: function(data) { init: function(data) {
return request({ return request({
url: '/wms/apiadmin/WmsOldInventory/getDetailsList?sid=' + data, url: '/wms/apiadmin/WmsOldInventory/getDetailsList',
method: 'get' method: 'get',
params: data
}) })
}, },
deleteBySids: function(data) { deleteBySids: function(data) {

2
yxt-as-ui/src/views/purchase/purchasereturn/purchasereturn.vue

@ -284,7 +284,7 @@ export default {
userSid: '' userSid: ''
} }
} }
this.init() this.getList()
}, },
toAdd() { toAdd() {
this.viewState = 2 this.viewState = 2

1
yxt-as-ui/src/views/workFlow/oldpPartStocktakingLossFlow/oldpPartStocktakingLossEdit.vue

@ -263,7 +263,6 @@
showAdd() { showAdd() {
this.title = "【新增】" this.title = "【新增】"
this.init()
this.$nextTick(() => { this.$nextTick(() => {
this.$refs['form_obj'].clearValidate() this.$refs['form_obj'].clearValidate()
}) })

1
yxt-as-ui/src/views/workFlow/oldpPartStocktakingSurplusFlow/oldpPartStocktakingSurplusEdit.vue

@ -296,7 +296,6 @@
}, },
showAdd() { showAdd() {
this.title = "【新增】" this.title = "【新增】"
this.init()
this.$nextTick(() => { this.$nextTick(() => {
this.$refs['form_obj'].clearValidate() this.$refs['form_obj'].clearValidate()
}) })

Loading…
Cancel
Save