Browse Source

修复盘点状态搜索

fix_bug_pro20231227
马远东 1 year ago
parent
commit
a8c741b0d5
  1. 7
      src/views/aftersales/VueTemp.vue
  2. 11
      src/views/distribution/checkInventoryTask/createTask.vue
  3. 6
      vite.config.js

7
src/views/aftersales/VueTemp.vue

@ -1660,9 +1660,12 @@ const selectionChange = list => {
/** 页码改变执行的回调 */ /** 页码改变执行的回调 */
const currentChange = () => { const currentChange = () => {
console.log(''); console.log('2');
}; };
//
const sizeChange=(val)=>{
console.log(val);
}
const changeProcessingResults = val => { const changeProcessingResults = val => {
// //
ProcessingList.value = ProcessingList.value.filter(item => val.includes(item.state - 1)); ProcessingList.value = ProcessingList.value.filter(item => val.includes(item.state - 1));

11
src/views/distribution/checkInventoryTask/createTask.vue

@ -691,6 +691,7 @@ const Tcrow = ref(); //弹窗当前行
const WrapBarEditing = ref({}); // const WrapBarEditing = ref({}); //
const PopupEditing = ref(false); // const PopupEditing = ref(false); //
const ElBtnClass = ref(null); const ElBtnClass = ref(null);
const DiskStatus=ref(true);//
const UncountedDetails = ref(); // const UncountedDetails = ref(); //
const contrastData = ref([]); // const contrastData = ref([]); //
const dialogcontrast = ref(false); // const dialogcontrast = ref(false); //
@ -1704,6 +1705,7 @@ const TcViewEvent = (val, Inso) => {
}; };
// //
const ViewEvent = val => { const ViewEvent = val => {
DiskStatus.value=true;//
InventoryDetails.value.forEach(item => { InventoryDetails.value.forEach(item => {
item.values = null; item.values = null;
}); });
@ -1770,6 +1772,7 @@ const NotCountedFn = (row, Inso, type = 0) => {
// //
const DetailsNotCounted = row => { const DetailsNotCounted = row => {
DiskStatus.value=false;//
InventoryDetails.value.forEach(item => { InventoryDetails.value.forEach(item => {
item.values = null; item.values = null;
}); });
@ -2225,6 +2228,7 @@ const InformationEditing = () => {
// //
const TcChenge = (event, val) => { const TcChenge = (event, val) => {
console.log(event, val); console.log(event, val);
TcPdloading.value = true; TcPdloading.value = true;
console.log(row.value, '必须参数'); console.log(row.value, '必须参数');
@ -2239,7 +2243,12 @@ const TcChenge = (event, val) => {
questId: qstId, questId: qstId,
}; };
console.log(data, '要提交的数据'); if ( DiskStatus.value) {
data.questStatus = 1;
}else{
data.questStatus = 0;
}
$_getDetailInfo(data).then(res => { $_getDetailInfo(data).then(res => {
Tctotal.value = res.data.data.total; Tctotal.value = res.data.data.total;

6
vite.config.js

@ -21,10 +21,12 @@ export default ({ mode, command }) => {
// 老zyc // 老zyc
// target: 'http://192.168.10.75:8777', // target: 'http://192.168.10.75:8777',
// 新zyc // 新zyc
target: 'http://192.168.6.141:8777', // target: 'http://192.168.6.141:8777',
target: 'http://192.168.6.116:8777',
// tjj // tjj
// target: 'http://192.168.10.25:13000', // target: 'http://192.168.10.25:13000',
// cg
// target: 'http://192.168.10.200:13000',
// target: 'http://192.168.10.94:8888', // target: 'http://192.168.10.94:8888',
// target: 'http://test.api.huitongys.com', // target: 'http://test.api.huitongys.com',
// target: 'http://h5uapi.huitongys.com', // target: 'http://h5uapi.huitongys.com',

Loading…
Cancel
Save