diff --git a/src/App.vue b/src/App.vue index a39d9f8..c1c7c48 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,15 @@ + @@ -497,11 +516,25 @@ export default class dnReceiptDom extends BasePage { height: 100%; display: flex; view { - width: 200rpx; + width: 140rpx; line-height: 100rpx; } } } + // .material { + // width: 100%; + // height: 100rpx; + // display: flex; + // .material-left { + // width: 100%; + // height: 100%; + // display: flex; + // view { + // width: 100rpx; + // line-height: 100rpx; + // } + // } + // } .material { width: 100%; height: 100rpx; @@ -511,15 +544,11 @@ export default class dnReceiptDom extends BasePage { height: 100%; display: flex; view { - width: 100rpx; + width: 140rpx; line-height: 100rpx; + text-align: left; } } - } - .material { - width: 100%; - height: 100rpx; - display: flex; .material-right { width: 100%; height: 100%; @@ -575,6 +604,7 @@ export default class dnReceiptDom extends BasePage { } } } +<<<<<<< HEAD // .library { // width: 100%; // height: 100rpx; @@ -608,6 +638,41 @@ export default class dnReceiptDom extends BasePage { // } // } // } +======= + .library { + width: 100%; + height: 100rpx; + display: flex; + .library-left { + width: 50%; + height: 100%; + display: flex; + view { + width: 100rpx; + line-height: 100rpx; + } + .search { + padding-left: 20px; + } + } + .library-right { + width: 50%; + height: 100%; + display: flex; + .library-right-title { + width: 120rpx; + height: 100%; + padding-left: 4px; + line-height: 100rpx; + } + .input { + width: 200rpx; + height: 70rpx; + margin-top: 15rpx; + } + } + } +>>>>>>> e06fba98009bdb7923f4a67091d1f3e4224bdb07 .add { width: 100%; height: 100rpx; diff --git a/src/pages/raw/ingoods/dnReceipt/model.ts b/src/pages/raw/ingoods/dnReceipt/model.ts index 4ffcab5..9ce468e 100644 --- a/src/pages/raw/ingoods/dnReceipt/model.ts +++ b/src/pages/raw/ingoods/dnReceipt/model.ts @@ -35,7 +35,6 @@ export class ReceiptModule extends VuexModule { dnNo = ''; code = ''; DNdetailedList: any; - DNReceivingList: any = []; ImportDNReceivingList: any = []; /** * 看单号查询结果 diff --git a/src/utils/mixin.ts b/src/utils/mixin.ts new file mode 100644 index 0000000..4e475a4 --- /dev/null +++ b/src/utils/mixin.ts @@ -0,0 +1,27 @@ +/* + * @Author: zhou lei + * @Date: 2022-01-20 11:26:20 + * @LastEditTime: 2022-01-20 17:48:10 + * @LastEditors: zhou lei + * @Description: + * @FilePath: /wms_haiwai_app/src/utils/mixin.ts + * 联系方式:910592680@qq.com 18669792120 科海达信息技术有限公司 + */ +import Vue from 'vue'; +import { Component } from 'vue-property-decorator'; + +@Component // 一定要用Component修饰 +export default class MyMixins extends Vue { + customToast(msg: string, type = 'toast', title = '') { + if (type === 'toast') { + uni.showToast({ + title: msg, + }); + } else { + uni.showModal({ + title: title, + content: msg, + }); + } + } +}