From c60d34d9fbee2a25d8d044097ec6cc440183361a Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期五, 08 八月 2025 14:20:06 +0800
Subject: [PATCH] 出战汇报委外接收单:添加款号,添加不良数量,数量默认为空,时间选择难点击
---
manifest.json | 4 +-
pages/gongxuOut/table.vue | 17 +++++---
pages/gongxuOut/form.vue | 36 +++++++++++-------
pages/weiwaigxOut/table.vue | 19 +++++----
4 files changed, 45 insertions(+), 31 deletions(-)
diff --git a/manifest.json b/manifest.json
index d62e1fa..9863410 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,8 +2,8 @@
"name" : "鏅轰簯LMES",
"appid" : "__UNI__B002F49",
"description" : "",
- "versionName" : "1.0.42",
- "versionCode" : 142,
+ "versionName" : "1.0.45",
+ "versionCode" : 145,
"transformPx" : false,
/* 5+App鐗规湁鐩稿叧 */
"app-plus" : {
diff --git a/pages/gongxuOut/form.vue b/pages/gongxuOut/form.vue
index 94493ad..368e7e9 100644
--- a/pages/gongxuOut/form.vue
+++ b/pages/gongxuOut/form.vue
@@ -38,12 +38,12 @@
<input v-model="hform.HQty" placeholder="璇疯緭鍏ュ悎鏍兼暟閲�" />
</view>
</view>
- <!-- <view class="form-item">
+ <view class="form-item">
<view class="title">涓嶈壇鏁伴噺:</view>
<view class="right">
- <input v-model="hform.HPieceQty" placeholder="璇疯緭鍏ヤ笉鑹暟閲�" />
+ <input v-model="hform.HBadCount" placeholder="璇疯緭鍏ヤ笉鑹暟閲�" />
</view>
- </view> -->
+ </view>
<view class="form-item">
<view class="title">鎶ュ簾鏁伴噺:</view>
<view class="right">
@@ -159,6 +159,12 @@
<input v-model="hform.HMaterModel" disabled />
</view>
</view>
+ <view class="form-item">
+ <view class="title">娆惧彿:</view>
+ <view class="righton">
+ <input v-model="hform.HStyleNumber" disabled />
+ </view>
+ </view>
<view class="form-item">
<view class="title">璁¢噺鍗曚綅:</view>
<view class="righton">
@@ -180,12 +186,7 @@
<input v-model="hform.HPRDOrg" disabled />
</view>
</view>
- <!-- <view class="form-item">
- <view class="title">娆惧彿:</view>
- <view class="righton">
- <input v-model="hform.HStyleNumber" disabled />
- </view>
- </view> -->
+
<!--
@@ -509,7 +510,8 @@
HBillNo: '',
HBarCode: '',
HProcNo: '',
- HQty: 0,
+ HQty: '',
+ HBadCount:0,
HProcNumber: '',
HNotReportQty: 0,
HIsTimeFlag: 0,
@@ -593,7 +595,7 @@
HDeleteMan: '',
HDeleteDate: '',
- // HStyleNumber: '', // 娆惧彿
+ HStyleNumber: '', // 娆惧彿
eventType: 'Add',
}
@@ -628,6 +630,11 @@
this.getDefValByUser()
},
methods: {
+ //閫変腑鍏ㄩ儴鏂囨湰
+ selectAllText(e) {
+ console.log(e.target)
+ console.log(e)
+ },
onCGChangeHandler({
detail
}) {
@@ -1207,8 +1214,8 @@
console.log(1, res.data.data[0]);
if (res.data.code == 1) {
var data = res.data.data[0]
- this.getHBarCodeData(data.HBarCode)
- this.getHProcNoData(data.HBarCode, data.HProcNo)
+ this.getHBarCodeData(data.HBarCode,1)
+ //this.getHProcNoData(data.HBarCode, data.HProcNo)
this.hform.HInterID = data.HInterID
this.hform.HBillNo = data.HBillNo
@@ -1220,6 +1227,7 @@
this.hform.HNotReportQty = data.HNotReportQty
this.hform.HProcNumber = data.HProcNumber || ''
this.hform.HWasterQty = data.HWasterQty
+ this.hform.HBadCount = data.HBadCount
this.hform.HSourceID = data.HSourceID
this.hform.HSourceName = data.HSourceName
this.hform.HGroupID = data.HGroupID
@@ -1316,7 +1324,7 @@
this.hform.HCenterName = data.宸ヤ綔涓績
this.hform.HCenterID = data.HCenterID
this.hform.NoOutboundHqty = (data.娴佽浆鍗℃暟閲� - data.鍑虹珯鎶ュ簾鍏宠仈鏁伴噺 - data.鍑虹珯鍏宠仈鏁伴噺)
- // this.hform.HStyleNumber = data['娆惧彿']
+ this.hform.HStyleNumber = data['娆惧彿']
if (e) {
this.getHProcNoData(this.hform.HBarCode, this.hform.HProcNo)
diff --git a/pages/gongxuOut/table.vue b/pages/gongxuOut/table.vue
index a077d99..8a5a1c5 100644
--- a/pages/gongxuOut/table.vue
+++ b/pages/gongxuOut/table.vue
@@ -13,7 +13,7 @@
<view class="title">寮�濮嬫椂闂�:</view>
<view class="right">
<picker mode="date" :value="hform.HBeginDate" @change="HBeginDateChange">
- <input name="HBeginDate" disabled :value="hform.HBeginDate" placeholder="璇烽�夋嫨" />
+ <input name="HBeginDate" disabled :value="hform.HBeginDate" placeholder="璇烽�夋嫨" style="pointer-events: none;"/>
</picker>
</view>
</view>
@@ -21,7 +21,7 @@
<view class="title">缁撴潫鏃堕棿:</view>
<view class="right">
<picker mode="date" :value="hform.HEndDate" @change="HEndDateChange">
- <input name="HEndDate" disabled :value="hform.HEndDate" placeholder="璇烽�夋嫨" />
+ <input name="HEndDate" disabled :value="hform.HEndDate" placeholder="璇烽�夋嫨" style="pointer-events: none;"/>
</picker>
</view>
</view>
@@ -241,7 +241,7 @@
arrayComparator:['=','>=','>','<=','<','<>','鍖呭惈','宸﹀寘鍚�','鍙冲寘鍚�','涓嶅寘鍚�'],
hform:{
HStatus:'鍏ㄩ儴',
- HBeginDate:'',
+ HBeginDate: new Date().toLocaleDateString(),
HEndDate:'',
HWorkBillNo:'',
HBillNo:'',
@@ -376,11 +376,11 @@
this.sWhere += " and 鍏抽棴浜�<>''";
}
}
- if (this.hform.BenginHCreateDate) {
- this.sWhere += " and CONVERT(varchar(100),杩涚珯鏃堕棿, 23) >= '" + this.hform.BenginHCreateDate + "'";
+ if (this.hform.HBeginDate) {
+ this.sWhere += " and CONVERT(varchar(100),鍑虹珯鏃堕棿, 23) >= '" + this.hform.HBeginDate + "'";
}
- if (this.hform.EndHCreateDate) {
- this.sWhere += " and CONVERT(varchar(100),杩涚珯鏃堕棿, 23) >= '" + this.hform.EndHCreateDate + "'";
+ if (this.hform.HEndDate) {
+ this.sWhere += " and CONVERT(varchar(100),鍑虹珯鏃堕棿, 23) >= '" + this.hform.HEndDate + "'";
}
if (this.hform.HBillNo) {
this.sWhere += " and 鍗曟嵁鍙� like '%" + this.hform.HBillNo + "%'";
@@ -532,6 +532,9 @@
width: 640rpx;
margin: 20rpx auto;
}
+ picker input{
+ pointer-events: none;
+ }
.other{
margin-top: 8rpx;
text-align: center;
diff --git a/pages/weiwaigxOut/table.vue b/pages/weiwaigxOut/table.vue
index b3a7d25..5531bad 100644
--- a/pages/weiwaigxOut/table.vue
+++ b/pages/weiwaigxOut/table.vue
@@ -5,7 +5,7 @@
<view class="title">鐘舵��:</view>
<view class="right">
<picker :range="arrayStatus" :value="hform.HStatus" @change="HStatusChange">
- <input name="HStatus" disabled :value="hform.HStatus" placeholder="璇烽�夋嫨鐘舵��" />
+ <input name="HStatus" disabled :value="hform.HStatus" placeholder="璇烽�夋嫨鐘舵��" style="pointer-events: none;"/>
</picker>
</view>
</view>
@@ -13,7 +13,7 @@
<view class="title">寮�濮嬫椂闂�:</view>
<view class="right">
<picker mode="date" :value="hform.HBeginDate" @change="HBeginDateChange">
- <input name="HBeginDate" disabled :value="hform.HBeginDate" placeholder="璇烽�夋嫨" />
+ <input name="HBeginDate" disabled :value="hform.HBeginDate" placeholder="璇烽�夋嫨" style="pointer-events: none;"/>
</picker>
</view>
</view>
@@ -21,7 +21,7 @@
<view class="title">缁撴潫鏃堕棿:</view>
<view class="right">
<picker mode="date" :value="hform.HEndDate" @change="HEndDateChange">
- <input name="HEndDate" disabled :value="hform.HEndDate" placeholder="璇烽�夋嫨" />
+ <input name="HEndDate" disabled :value="hform.HEndDate" placeholder="璇烽�夋嫨" style="pointer-events: none;"/>
</picker>
</view>
</view>
@@ -235,7 +235,7 @@
arrayStatus:['鍏ㄩ儴','鏈鏍�','宸插鏍�','宸插叧闂�'],
hform:{
HStatus:'鍏ㄩ儴',
- HBeginDate:'',
+ HBeginDate:new Date().toLocaleDateString(),
HEndDate:'',
HICMOBillNo:'',
HBillNo:'',
@@ -349,11 +349,11 @@
this.sWhere += " and 鍏抽棴浜�<>''";
}
}
- if (this.hform.BenginHCreateDate) {
- this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.hform.BenginHCreateDate + "'";
+ if (this.hform.HBeginDate) {
+ this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.hform.HBeginDate + "'";
}
- if (this.hform.EndHCreateDate) {
- this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.hform.EndHCreateDate + "'";
+ if (this.hform.HEndDate) {
+ this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.hform.HEndDate + "'";
}
if (this.hform.HBillNo) {
this.sWhere += " and 鍗曟嵁鍙� like '%" + this.hform.HBillNo + "%'";
@@ -481,6 +481,9 @@
width: 640rpx;
margin: 20rpx auto;
}
+ picker input{
+ pointer-events: none;
+ }
.other{
margin-top: 8rpx;
text-align: center;
--
Gitblit v1.9.1