Browse Source

fix: bug修改

syhx_app_vue3
王志国 1 week ago
parent
commit
deda7039dd
  1. 8
      src/pages/customerReturn/job/returnDetail.vue
  2. 4
      src/pages/login/index.vue
  3. 5
      src/pages/productPutaway/record/productPutawayRecordByBatch.vue
  4. 8
      src/pages/unPlanned/job/receiptJobDetail.vue

8
src/pages/customerReturn/job/returnDetail.vue

@ -14,10 +14,10 @@
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">
<!-- <comDetailCardBatch :dataContent="item" :settingParam="jobContent" :isShowLocation="false"--> <!-- <comDetailCardBatch :dataContent="item" :settingParam="jobContent" :isShowLocation="false"
<!-- @remove="updateData" @updateData="updateData" @openDetail="openDetail"--> @remove="updateData" @updateData="updateData" @openDetail="openDetail"
<!-- :locationAreaTypeList="toLocationAreaTypeList" v-if="managementType=='BY_BATCH'">--> :locationAreaTypeList="toLocationAreaTypeList" v-if="managementType=='BY_BATCH'">
<!-- </comDetailCardBatch>--> </comDetailCardBatch>-->
<comLableDetailCard :dataContent="item" :settingParam="jobContent" <comLableDetailCard :dataContent="item" :settingParam="jobContent"
:isShowStatus="false" :isShowStatus="false"
:isShowLocation="false" :isShowLocation="false"

4
src/pages/login/index.vue

@ -60,7 +60,7 @@
</form> </form>
</view> </view>
</view> </view>
<com-message ref="comMessageRef" /> <comMessage ref="comMessageRef" />
</view> </view>
</template> </template>
@ -74,9 +74,7 @@ import { useCountStore } from '@/store'
const store = useCountStore() const store = useCountStore()
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const tenantArray = ref(JSON.parse(import.meta.env.VITE_TENANT)) const tenantArray = ref(JSON.parse(import.meta.env.VITE_TENANT))
const smloginmsg = ref('')
const tenantValue = ref(0) const tenantValue = ref(0)
// const tenantName = ref('')
const username = ref('') const username = ref('')
const password = ref('') const password = ref('')
const tapstyle = ref(2) const tapstyle = ref(2)

5
src/pages/productPutaway/record/productPutawayRecordByBatch.vue

@ -376,9 +376,6 @@ const showErrorMessage = (message) => {
}); });
}; };
const calcHandleQty = () => {
calcHandleQty(detailSource.value);
};
const removeItem = (index, item) => { const removeItem = (index, item) => {
removeRecommendLocation([item.expectinNumber]); removeRecommendLocation([item.expectinNumber]);
@ -583,7 +580,7 @@ const clearData = () => {
}; };
const updateData = () => { const updateData = () => {
calcHandleQty(); calcHandleQty(detailSource.value);
for (let i = 0; i < detailSource.value.length; i++) { for (let i = 0; i < detailSource.value.length; i++) {
const item = detailSource.value[i]; const item = detailSource.value[i];
if (item.qty === 0) { if (item.qty === 0) {

8
src/pages/unPlanned/job/receiptJobDetail.vue

@ -13,10 +13,10 @@
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">
<!-- <com-receipt-detail-card :dataContent="item" :index="index" :settingParam="jobContent"--> <!--<com-receipt-detail-card :dataContent="item" :index="index" :settingParam="jobContent"
<!-- @remove="updateData" @updateData="updateData"--> @remove="updateData" @updateData="updateData"
<!-- :locationAreaTypeList='toLocationAreaTypeList'>--> :locationAreaTypeList='toLocationAreaTypeList'>
<!-- </com-receipt-detail-card>--> </com-receipt-detail-card>-->
<comRecommendDetailCard :dataContent="item" :index="index" :settingParam="jobContent" <comRecommendDetailCard :dataContent="item" :index="index" :settingParam="jobContent"
@remove="updateData" @updateData="updateData" @openDetail="openDetail" :isShowFromLocation='false'> @remove="updateData" @updateData="updateData" @openDetail="openDetail" :isShowFromLocation='false'>
</comRecommendDetailCard> </comRecommendDetailCard>

Loading…
Cancel
Save