Browse Source

收款校验精网号

lihuilin/feature-20251104102812-现金二期
ZhangYong 1 week ago
parent
commit
70bd188a78
  1. 8
      src/views/moneyManage/receiveDetail/receiveFinance.vue
  2. 7
      src/views/moneyManage/receiveDetail/receiveHead.vue
  3. 8
      src/views/moneyManage/receiveDetail/receiveManage.vue
  4. 8
      src/views/moneyManage/receiveDetail/receiveService.vue

8
src/views/moneyManage/receiveDetail/receiveFinance.vue

@ -891,7 +891,13 @@ const getlist = async () => {
markets.value = searchData.value.markets[searchData.value.markets.length - 1]
console.log('地区转换', markets.value)
}
if (searchData.value.jwcode) {
const isPositiveInteger = /^[1-9]\d*$/.test(searchData.value.jwcode);
if (!isPositiveInteger) {
ElMessage.error('请输入正确的精网号')
return;
}
}
const result = await request({
url: '/cashCollection/selectCollection',
data: {

7
src/views/moneyManage/receiveDetail/receiveHead.vue

@ -772,6 +772,13 @@ const getlist = async () => {
markets.value = searchData.value.markets[searchData.value.markets.length - 1]
console.log('地区转换', markets.value)
}
if (searchData.value.jwcode) {
const isPositiveInteger = /^[1-9]\d*$/.test(searchData.value.jwcode);
if (!isPositiveInteger) {
ElMessage.error('请输入正确的精网号')
return;
}
}
const result = await request({
url: '/cashCollection/selectCollection',

8
src/views/moneyManage/receiveDetail/receiveManage.vue

@ -891,7 +891,13 @@ const getlist = async () => {
markets.value = searchData.value.markets[searchData.value.markets.length - 1]
console.log('地区转换', markets.value)
}
if (searchData.value.jwcode) {
const isPositiveInteger = /^[1-9]\d*$/.test(searchData.value.jwcode);
if (!isPositiveInteger) {
ElMessage.error('请输入正确的精网号')
return;
}
}
const result = await request({
url: '/cashCollection/selectCollection',
data: {

8
src/views/moneyManage/receiveDetail/receiveService.vue

@ -458,7 +458,6 @@ const defaultTime = [new Date(2000, 1, 1, 0, 0, 0), new Date(2000, 2, 1, 23, 59,
//
const search = () => {
getlist()
ElMessage.success('查询成功')
}
//
@ -519,6 +518,13 @@ const getlist = async () => {
} else {
searchData.value.market = ''
}
if (searchData.value.jwcode) {
const isPositiveInteger = /^[1-9]\d*$/.test(searchData.value.jwcode);
if (!isPositiveInteger) {
ElMessage.error('请输入正确的精网号')
return;
}
}
const result = await request({
url: '/cashCollection/selectCollection',

Loading…
Cancel
Save