Commit d436250e authored by Damon's avatar Damon

fix: 无备件图片显示

parent 4197d768
......@@ -14,7 +14,7 @@
</view>
<view class="u-flex select-part" v-else-if="status === 2">
<view class="img">
<image src="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/460d46d0-4fcc-11eb-8ff1-d5dcf8779628.png" class="part-icon" />
<image :src="noPartsImage" class="part-icon" />
</view>
<view class="u-flex content">
<text class="title">暂无配件信息</text>
......@@ -63,7 +63,7 @@
max: 5,
},
],
status: 1
status: 2
}
},
computed: {
......@@ -77,7 +77,10 @@
},
mixingImage() {
return process.uniEnv.qn_base_url + 'mixing.png'
}
},
noPartsImage() {
return process.uniEnv.qn_base_url + 'no_parts.png'
},
},
created() {
this.getWorkOrderParts()
......
......@@ -49,10 +49,10 @@
</xh-files>
</view>
<!-- <xh-location v-else-if="item.formType==='location'"
<xh-location v-else-if="item.formType==='location'"
:groupIndex="groupIndex" :itemIndex="itemIndex" :item="item" :value='form[item.fieldsName] || ""'
@value-change="fieldValueChange">
</xh-location> -->
</xh-location>
<xh-scan v-else-if="item.formType==='scan'"
:groupIndex="groupIndex" :itemIndex="itemIndex" :item="item" :value='form[item.fieldsName] || ""'
@value-change="fieldValueChange">
......@@ -72,7 +72,7 @@
</xh-service-more>
<xh-label v-else-if="item.formType==='label'" :groupIndex="groupIndex" :itemIndex="itemIndex" :item="item" :value='form[item.fieldsName] || ""'>
</xh-label>
<xh-parts v-else-if="item.formType==='location'" :order-id="orderId" :groupIndex="groupIndex" :itemIndex="itemIndex" :item="item" :value='form[item.fieldsName] || ""'>
<xh-parts v-else-if="item.formType==='parts'" :order-id="orderId" :groupIndex="groupIndex" :itemIndex="itemIndex" :item="item" :value='form[item.fieldsName] || ""'>
</xh-parts>
</template>
</u-form-item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment