You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.1 KiB
51 lines
1.1 KiB
2 years ago
|
<!--发料任务卡片-->
|
||
|
<template>
|
||
|
<view class="detail-content">
|
||
|
<view class="ljh_box">
|
||
|
<view class="uni-flex uni-row space-between">
|
||
|
<view>
|
||
|
<view class="tit_ljh">{{dataContent.code}}</view>
|
||
|
<view class="ljh_left desc_ljh">
|
||
|
<view class="font_xs text_lightblue">{{dataContent.name}}</view>
|
||
|
<view class="font_xs text_lightblue">{{dataContent.desc2}}</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="ljh_right uni-flex uni-row">
|
||
|
<view class="tnum">
|
||
|
<uni-easyinput v-if='editQty' class="num_edit" v-model="dataContent.qty.qty" type="number"
|
||
|
maxlength='8'>
|
||
|
</uni-easyinput>
|
||
|
<view v-else class="num_edit">{{dataContent.qty.qty}}</view>
|
||
|
</view>
|
||
|
<view class="tunit margin_xs_top">{{dataContent.basicUom}}</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
name: "comReplen",
|
||
|
data() {
|
||
|
return {};
|
||
|
},
|
||
|
// 此处定义传入的数据
|
||
|
props: {
|
||
|
dataContent: {
|
||
|
type: Object,
|
||
|
value: null
|
||
|
},
|
||
|
editQty: {
|
||
|
type: Boolean,
|
||
|
value: false
|
||
|
}
|
||
|
},
|
||
|
methods: {}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style scoped lang="scss">
|
||
|
|
||
|
</style>
|