|
|
@@ -15,15 +15,45 @@ Page({
|
|
|
flgHandleSetting: app.globalData.setting[Constants.settingCode.IVT001] == "true" ? true : false,
|
|
|
tagList: [{ title: mixins.$t("all"), code: '' }, { title: mixins.$t("inBoundingIntoStatusName"), code: mixins.$t("inBoundingIntoStatus") }, { title: mixins.$t("inBoundedIntoStatusName"), code: mixins.$t("inBoundedIntoStatus") }],
|
|
|
// 查询条件
|
|
|
- searchContent: [{ code: 'createtime', title: mixins.$t("pastThirthtyDays"), defaultValue: 5, searchType: Constants.searchType.date }, { code: 'choose', title: mixins.$t("choose"), searchType: Constants.searchType.pick }],
|
|
|
+ // 查询条件
|
|
|
+ searchContent: [{
|
|
|
+ code: 'makeTime',
|
|
|
+ title: mixins.$t('pastThirthtyDays'),
|
|
|
+ defaultValue: 5,
|
|
|
+ searchType: Constants.searchType.date
|
|
|
+ },
|
|
|
+ {
|
|
|
+ code: 'staff',
|
|
|
+ title: mixins.$t("staffId"),
|
|
|
+ dropType: 'staff'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ code: 'org',
|
|
|
+ title: mixins.$t("orgId"),
|
|
|
+ dropType: 'org'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ code: 'choose',
|
|
|
+ title: mixins.$t('choose'),
|
|
|
+ searchType: Constants.searchType.pick
|
|
|
+ }],
|
|
|
// 查询条件-筛选
|
|
|
- pullMenuList: [
|
|
|
-
|
|
|
- { code: 'purchaseStatus', pullType: 'mSelect', typeName: 'purchaseStatus' },
|
|
|
- { code: 'contactName', dataType: '' },
|
|
|
- { code: 'deliveryPhone', dataType: '' },
|
|
|
- { code: 'addressFull', dataType: '' },
|
|
|
- { code: 'makingTime', dataType: 'date' }, { code: 'deliveryTime', dataType: 'date' }],
|
|
|
+ pullMenuList: [{
|
|
|
+ code: 'intoNo',
|
|
|
+ title: mixins.$t('outPurNo')
|
|
|
+ }, {
|
|
|
+ code: 'supName',
|
|
|
+ }, {
|
|
|
+ code: 'contactPhone',
|
|
|
+ }, {
|
|
|
+ code: 'returnAddress',
|
|
|
+ title: mixins.$t('address')
|
|
|
+ },
|
|
|
+ // 筛选新增作废选项 刘尧 2024.5.30
|
|
|
+ {
|
|
|
+ code: 'viewVoidedDocuments',
|
|
|
+ dataType: 'checkbox'
|
|
|
+ },],
|
|
|
// 列表区(脚部金额)
|
|
|
footerAmount: { name: 'intoAmt', title: mixins.$t("totalAmount") },
|
|
|
// 列表区(脚部信息)
|
|
|
@@ -31,7 +61,7 @@ Page({
|
|
|
intoStatus: null,
|
|
|
// 列表区(内容)
|
|
|
contentList: [
|
|
|
- { name: 'intoNo', title: mixins.$t("saleOrderNo") },
|
|
|
+ { name: 'intoNo', title: mixins.$t("outPurNo") },
|
|
|
{
|
|
|
name: [{ name: 'contactName', title: '' },
|
|
|
{ name: 'contactPhone', title: '' }], title: mixins.$t("returnInfo")
|
|
|
@@ -92,7 +122,7 @@ Page({
|
|
|
buttonList = [{
|
|
|
name: 'printedBill',
|
|
|
title: mixins.$t("printedBill"),
|
|
|
- image:'btn-printing.png'
|
|
|
+ image: 'btn-printing.png'
|
|
|
},] //打印
|
|
|
} else {
|
|
|
// 弹出按钮
|
|
|
@@ -102,7 +132,7 @@ Page({
|
|
|
}, { name: 'invalid', title: mixins.$t("invaidOrder") }, {
|
|
|
name: 'printedBill',
|
|
|
title: mixins.$t("printedBill"),
|
|
|
- image:'btn-printing.png'
|
|
|
+ image: 'btn-printing.png'
|
|
|
},]
|
|
|
}
|
|
|
this.setData({
|
|
|
@@ -156,15 +186,8 @@ Page({
|
|
|
* @author : 于继渤
|
|
|
*/
|
|
|
setSearchParams(params) {
|
|
|
- let tabsActive = this.data.tabsActive
|
|
|
params.intoType = '入库类型-采退出库'
|
|
|
- // if (tabsActive == 0) { //出库状态
|
|
|
- // params.intoStatus = ''
|
|
|
- // } else if (tabsActive == 1) {
|
|
|
- // params.intoStatus = mixins.$t("inBoundingIntoStatus")
|
|
|
- // } else if (tabsActive == 2) {
|
|
|
- // params.intoStatus = mixins.$t("inBoundedIntoStatus")
|
|
|
- // }
|
|
|
+ params.viewVoidedDocuments = params.viewVoidedDocuments ? true : false
|
|
|
params.intoStatus = this.data.intoStatus == 'all' ? '' : this.data.intoStatus
|
|
|
if (this.data.flgHandleSetting) {
|
|
|
params.intoStatus = mixins.$t("inBoundedIntoStatus")
|