Browse Source

修改数量编辑

hella_online_20241024
lijuncheng 1 month ago
parent
commit
f81df3b428
  1. 3
      src/mycomponents/qty/numbeIntegerrBox.vue
  2. 3
      src/pages/issue/request/issueScanRequest.vue

3
src/mycomponents/qty/numbeIntegerrBox.vue

@ -78,7 +78,8 @@
var hint = event.detail.value;
if (!Number.isInteger(hint)) {
//
this.inputValue = hint.toString().match(/^\d+/) || 0;
this.inputValue = hint.toString().match(/^\d+/)
// this.inputValue = hint.toString().match(/^\d+/) || 0;
} else {
//
this.inputValue = hint;

3
src/pages/issue/request/issueScanRequest.vue

@ -177,7 +177,6 @@
}
},
goScan() {
this.stopRefresh();
this.subList=[]
this.detailSource={
subList: []
@ -270,6 +269,7 @@
var params = this.setParams()
console.log("提交参数", JSON.stringify(params));
issueRequestSubmit(params).then(res => {
this.stopRefresh()
uni.hideLoading()
if (res.data) {
this.showCommitSuccessMessage("提交成功\n生成发料申请[" + res.data + "]")
@ -277,6 +277,7 @@
this.showCommitSuccessMessage("提交成功")
}
}).catch(error => {
this.stopRefresh()
uni.hideLoading()
this.showErrorMessage(error)
})

Loading…
Cancel
Save