报废领用关单修复

master
guoshuang 3 years ago
parent c00444ef4f
commit b3f0c09283

@ -204,10 +204,12 @@ export default class ProductCheckReceipt extends BasePage {
content: this.$t('message.Commission_tips8') as string,
confirmText: this.$t('message.workArea_Confirm') as string,
cancelText: this.$t('message.Cancel') as string,
success: function (res) {
success: (res: any) => {
if (res.confirm) {
//debugger;
console.log("////111111");
this.model.close(this.form.order3);
if (this.model.code == '1') {
if (model.code == '1') {
uni.showToast({
icon: 'success',
title: this.$t('message.success') as string,

@ -226,9 +226,9 @@ export default class productCheckReceipt extends BasePage {
content: this.$t('message.Commission_tips8') as string,
confirmText: this.$t('message.workArea_Confirm') as string,
cancelText: this.$t('message.Cancel') as string,
success: function (res) {
success: (res: any) => {
if (res.confirm) {
this.model.close(this.form.order3);
model.close(this.form.order3);
if (this.model.code == '1') {
uni.showToast({
icon: 'success',

Loading…
Cancel
Save