|
|
@@ -140,7 +140,25 @@ Page({
|
|
|
name: 'intoDate',
|
|
|
title: mixins.$t('intoDate')
|
|
|
}],
|
|
|
-
|
|
|
+ '期初入库': [{
|
|
|
+ name: 'intoNo',
|
|
|
+ title: mixins.$t('inOrderNo')
|
|
|
+ }, {
|
|
|
+ name: 'intoReasonName',
|
|
|
+ title: mixins.$t('intoReason')
|
|
|
+ }, {
|
|
|
+ name: [{
|
|
|
+ name: 'orgName',
|
|
|
+ title: ''
|
|
|
+ }, {
|
|
|
+ name: 'staffName',
|
|
|
+ title: mixins.$t('staffId')
|
|
|
+ }],
|
|
|
+ title: mixins.$t('cpManager')
|
|
|
+ }, {
|
|
|
+ name: 'intoDate',
|
|
|
+ title: mixins.$t('intoDate')
|
|
|
+ }],
|
|
|
},
|
|
|
// 弹出按钮
|
|
|
buttonList: [
|
|
|
@@ -217,8 +235,7 @@ Page({
|
|
|
url: this.data.route.addOther.url,
|
|
|
events: {
|
|
|
// 回调后,在这里给页面赋值
|
|
|
- refresh: function (e) {
|
|
|
- console.log("addOther----");
|
|
|
+ refresh: function (e) {
|
|
|
that.searchData()
|
|
|
}
|
|
|
},
|
|
|
@@ -244,7 +261,9 @@ Page({
|
|
|
e.detail.item.button = button
|
|
|
}
|
|
|
// 如果name不传递,默认为edit
|
|
|
- if (item.intoType == Constants.intoType.pur || item.intoType == Constants.intoType.other) {
|
|
|
+ if (item.intoType == Constants.intoType.pur
|
|
|
+ || item.intoType == Constants.intoType.other
|
|
|
+ || item.intoType == Constants.intoType.first) {
|
|
|
e.detail.name = 'edit'
|
|
|
} else {
|
|
|
e.detail.name = 'editReturn'
|
|
|
@@ -351,10 +370,9 @@ Page({
|
|
|
* @date : 2024年3月8日
|
|
|
* @author : 姜永辉
|
|
|
*/
|
|
|
- toPoint(e) {
|
|
|
- console.log("toPoint", e);
|
|
|
+ toPoint(e) {
|
|
|
let item = e.detail.item
|
|
|
- if (item.flgValid) {
|
|
|
+ if (item.flgValid && item.intoType != Constants.intoType.first) {
|
|
|
// 待入库
|
|
|
if (this.data.active == 0 && !this.data.flgHandleSetting) {
|
|
|
this.setData({
|