From 048e76042b2b22e0775e4b174d5695790a9aae0f Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期五, 12 五月 2023 09:04:16 +0800 Subject: [PATCH] # --- pages/basics/pakin.vue | 35 ++++++++++++----------------------- 1 files changed, 12 insertions(+), 23 deletions(-) diff --git a/pages/basics/pakin.vue b/pages/basics/pakin.vue index 9093c46..2c0e658 100644 --- a/pages/basics/pakin.vue +++ b/pages/basics/pakin.vue @@ -156,7 +156,7 @@ searchBox: 'hide', pick:'hide', matnr:'', - matList:[{}], + matList:[], result: '', enableQty:'', count:'', @@ -407,7 +407,7 @@ } if (add) { if(mat.batch === '' || mat.batch === null) { - mat.batch = today + // mat.batch = today } this.matList.unshift(mat) } @@ -444,6 +444,7 @@ this.count = this.matList[index].anfme this.batch = this.matList[index].batch this.memo = this.matList[index].memo + this.cstmr = this.matList[index].cstmr this.rowNum = index this.eject() }, @@ -459,6 +460,7 @@ this.matList[this.rowNum].anfme = this.count this.matList[this.rowNum].batch = this.batch this.matList[this.rowNum].memo = this.memo + this.matList[this.rowNum].cstmr = this.cstmr this.$refs.revise.close() this.$forceUpdate() // 寮哄埗鍒锋柊 }, @@ -630,16 +632,16 @@ background-color: #ebebeb; } .data-list { - border-bottom: 1px solid #d8d8d8; - height: 250rpx; + min-height: 250rpx; margin: 15rpx; border-radius: 20rpx; + display: flex; } .data-list:first-child { margin-top: 20rpx; } .data-list:last-child { - margin-bottom: 120rpx; + margin-bottom: 180rpx; } /* .data-list-left { display: inline-block; @@ -650,30 +652,17 @@ line-height: 180rpx; } */ .data-list-left { - display: inline-block; - float: left; margin-left: 6%; - height: 180rpx; color: #676767; + max-width: 450rpx; } .matnr { padding-top: 10rpx; } .data-list-right { - display: inline-block; - float: right; - height: 250rpx; - line-height: 250rpx; - } - /* display: inline-block; - float: right; - width: 200rpx; - height: 180rpx; - line-height: 180rpx; */ - .data-list-right label { - display: inline-block; - float: left; - width: 80rpx; - height: 180rpx; + width: 200rpx; + display: flex; + justify-content: space-around; + align-items: center; } </style> \ No newline at end of file -- Gitblit v1.9.1