|
|
@@ -1087,11 +1087,10 @@ Page({
|
|
|
if (this.data.formMode == Constants.formMode.add) {
|
|
|
if (contentSaveList.length == 1) {
|
|
|
contentSaveList[0].content = formData.sumAmount
|
|
|
- } else {
|
|
|
+ } else if(contentSaveList.length > 1){
|
|
|
contentSaveList[1].content = formData.sumAmount
|
|
|
}
|
|
|
} else {
|
|
|
- console.log('contentSaveList', contentSaveList);
|
|
|
if (contentSaveList.length > 0) {
|
|
|
contentSaveList[0].content = formData.sumAmount
|
|
|
}
|
|
|
@@ -1141,7 +1140,6 @@ Page({
|
|
|
|
|
|
// let contentObj = this.data.contentObj
|
|
|
if (this.data.gradeCode == Constants.gradeCode.STD) {
|
|
|
- console.log('t3');
|
|
|
contentObj.main = [{
|
|
|
code: 'cusName',
|
|
|
type: 'str',
|
|
|
@@ -1339,7 +1337,7 @@ Page({
|
|
|
},
|
|
|
|
|
|
{
|
|
|
- code: 'whId',
|
|
|
+ code: 'whName',
|
|
|
title: mixins.$t("warehouseId"),
|
|
|
type: 'str',
|
|
|
readonly: true,
|