Browse Source

添加筛选

lijuncheng0816
lijuncheng 1 month ago
parent
commit
12f8e803a5
  1. 2
      .env.development
  2. 9
      .env.production
  3. 2
      .hbuilderx/launch.json
  4. 23
      src/api/request2.js
  5. 4
      src/manifest.json
  6. 20
      src/pages.json
  7. 2
      src/pages/issue/job/issueJob.vue
  8. 29
      src/pages/issue/record/directIssue.vue

2
.env.development

@ -2,7 +2,7 @@ VITE_BASE_URL=http://172.22.32.9:81/api/admin-api
VITE_BASE_URL_IMAGE=http://172.22.32.9:81/admin-api VITE_BASE_URL_IMAGE=http://172.22.32.9:81/admin-api
# 租户配置 # 租户配置
VITE_TENANT='[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]' VITE_TENANT='[{"text":"成都1397","value":2},{"text":"长春2379","value":3}]'
# 是否是测试环境 # 是否是测试环境
VITE_isDevelopment=true VITE_isDevelopment=true

9
.env.production

@ -1,11 +1,12 @@
VITE_BASE_URL=http://172.21.32.13:81/api/admin-api VITE_BASE_URL=http://172.22.32.8:81/api/admin-api
VITE_BASE_URL_IMAGE=http://172.21.32.13:81/admin-api VITE_BASE_URL_IMAGE=http://172.22.32.8:81/admin-api
# 租户配置 # 租户配置
VITE_TENANT='[{"text":"长春1379","value":1}]' VITE_TENANT='[{"text":"成都1397","value":2},{"text":"长春2379","value":3}]'
# 是否是测试环境 # 是否是测试环境
VITE_isDevelopment=false VITE_isDevelopment=false
# 积木报表请求路径 # 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://172.21.32.13:90' VITE_JMREPORT_BASE_URL='http://172.22.32.8:90'

2
.hbuilderx/launch.json

@ -17,7 +17,7 @@
"type" : "uni-app:h5" "type" : "uni-app:h5"
}, },
{ {
"playground" : "custom", "playground" : "standard",
"type" : "uni-app:app-android" "type" : "uni-app:app-android"
} }
] ]

23
src/api/request2.js

@ -546,6 +546,29 @@ export function getBasicItemByCode(itemCode) {
pageNo: 1, pageNo: 1,
pageSize: 100 pageSize: 100
} }
return request({
url: baseApi + "/wms/itembasic/page",
method: "post",
data: params,
});
}
/**
* 查询物品信息接口
* @param {*} code 物品代码
*
*/
export function getBasicItemByCodeSenior(itemCode) {
var params = {
filters: [{
column: "column",
action: "like",
value: itemCode
}],
pageNo: 1,
pageSize: 1000
}
return request({ return request({
url: baseApi + "/wms/itembasic/page", url: baseApi + "/wms/itembasic/page",
method: "get", method: "get",

4
src/manifest.json

@ -3,8 +3,8 @@
"package" : "uni.UNI43932FE", "package" : "uni.UNI43932FE",
"appid" : "__UNI__C9CF4BF", "appid" : "__UNI__C9CF4BF",
"description" : "", "description" : "",
"versionName" : "1.0.55", "versionName" : "1.0.58",
"versionCode" : 55, "versionCode" : 58,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {

20
src/pages.json

@ -606,7 +606,25 @@
"navigationBarTitleText": "直接发料", "navigationBarTitleText": "直接发料",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"titleNView": { "titleNView": {
"autoBackButton": "true" "autoBackButton": "true",
"buttons": [
//
{
"float": "right",
"fontSize": "58rpx", //
"text": "\ue696",
"fontSrc": "/static/ali_icon/iconfont.ttf"
},
{
"float": "right",
"fontSize": "52rpx", //
"text": "\ue6e2",
"fontSrc": "/static/ali_icon/iconfont.ttf"
}
]
} }
} }
}, },

2
src/pages/issue/job/issueJob.vue

@ -194,6 +194,7 @@
this.fromInventoryStatuses = res.fromInventoryStatuses.split(','); this.fromInventoryStatuses = res.fromInventoryStatuses.split(',');
this.fromLocationAreaTypeList = res.fromLocationAreaTypeList this.fromLocationAreaTypeList = res.fromLocationAreaTypeList
// this.openScanPopup(); // this.openScanPopup();
this.$refs.scanPopup.openScanPopup(this.businessType);
} else { } else {
this.showErrorMessage(res.message) this.showErrorMessage(res.message)
} }
@ -294,6 +295,7 @@
uni.hideLoading(); uni.hideLoading();
if (type === "refresh") { if (type === "refresh") {
uni.stopPullDownRefresh(); uni.stopPullDownRefresh();
this.openScanPopup()
} }
var list = res.data.list; var list = res.data.list;

29
src/pages/issue/record/directIssue.vue

@ -48,6 +48,7 @@
<winComScanBalance ref="scanPopup" @getBalance='getScanResult' :bussinessCode="businessTypeCode"> <winComScanBalance ref="scanPopup" @getBalance='getScanResult' :bussinessCode="businessTypeCode">
</winComScanBalance> </winComScanBalance>
<balanceQuery ref="refBalanceQuery" ></balanceQuery>
<comMessage ref="comMessage"></comMessage> <comMessage ref="comMessage"></comMessage>
</view> </view>
</template> </template>
@ -98,6 +99,8 @@
import recordDetailCard from '@/mycomponents/record/recordDetailCard.vue' import recordDetailCard from '@/mycomponents/record/recordDetailCard.vue'
import balanceSelect from '@/mycomponents/balance/balanceSelect.vue' import balanceSelect from '@/mycomponents/balance/balanceSelect.vue'
import winComScanBalance from '@/mycomponents/scan/winComScanBalance.vue' import winComScanBalance from '@/mycomponents/scan/winComScanBalance.vue'
import balanceQuery from '@/mycomponents/query/balanceQuery.vue'
export default { export default {
components: { components: {
@ -110,7 +113,8 @@
recordComDetailCard, recordComDetailCard,
recordDetailCard, recordDetailCard,
balanceSelect, balanceSelect,
winComScanBalance winComScanBalance,
balanceQuery
}, },
data() { data() {
return { return {
@ -156,10 +160,13 @@
// } // }
}, },
// //
onNavigationBarButtonTap(e) { onNavigationBarButtonTap(e) {
if (e.index === 0) { if (e.index === 0) {
goHome(); goHome();
} else if (e.index == 1) {
this.$refs.refBalanceQuery.showDrawer();
} }
}, },
// //
@ -170,6 +177,26 @@
mounted() {}, mounted() {},
methods: { methods: {
showDrawer() {
this.$refs.showRight.open();
},
closeDrawer() {
this.$refs.showRight.close();
},
showDrawer() {
this.$refs.showRight.open();
},
closeDrawer() {
this.$refs.showRight.close();
},
showDrawer() {
this.$refs.showRight.open();
},
closeDrawer() {
this.$refs.showRight.close();
},
getBusinessType() { getBusinessType() {
getBusinessType(this.businessTypeCode, res => { getBusinessType(this.businessTypeCode, res => {

Loading…
Cancel
Save