Commit 14902d46 authored by 李驰骋's avatar 李驰骋

Merge remote-tracking branch 'origin/dev' into dev

parents 7e75a761 eeb76cd9
...@@ -543,12 +543,12 @@ ...@@ -543,12 +543,12 @@
cancel-text="返回" cancel-text="返回"
:title-style="{ 'background-color': '#1E3770', color: '#FFFFFF', 'line-height': '37px', 'padding-top': '0px' }" :title-style="{ 'background-color': '#1E3770', color: '#FFFFFF', 'line-height': '37px', 'padding-top': '0px' }"
v-model="material" v-model="material"
width="1300rpx" width="680px"
> >
<view class="list-bar"> <view class="list-bar">
<scroll-view scroll-y="true" class="scroll-list" :style="{ height: this.screenHeight - 280 + 'px' }"> <scroll-view scroll-y="true" class="scroll-list" :style="{ height: this.screenHeight - 280 + 'px' }">
<view> <view style="display: flex;justify-content: space-between;flex-wrap: wrap;">
<image v-for="(line, index) in viewSop" class="u-avatar-demo" :src="line" mode="aspectFill"></image> <image v-for="(line, index) in viewSop" @click="onPreviewTap(line)" style="padding:10px;" class="u-avatar-demo" :src="line" mode="aspectFill"></image>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
...@@ -916,6 +916,12 @@ export default { ...@@ -916,6 +916,12 @@ export default {
uni.$off('taskStatusChanged'); uni.$off('taskStatusChanged');
}, },
methods: { methods: {
onPreviewTap(url){
uni.previewImage({
current: url,
urls: this.viewSop
})
},
cellClick(row, index, column) { cellClick(row, index, column) {
if (column.name === 'arrangeCode') { if (column.name === 'arrangeCode') {
this.tableDataDetail = row.proWorkorderList; this.tableDataDetail = row.proWorkorderList;
...@@ -1011,9 +1017,10 @@ export default { ...@@ -1011,9 +1017,10 @@ export default {
this.dModelData = records.data; this.dModelData = records.data;
this.knifeTempVisible = true; this.knifeTempVisible = true;
return; return;
} else {
return this.$u.toast('该刀模版具不属于该工单');
} }
// else {
// return this.$u.toast('该刀模版具不属于该工单');
// }
this.addDModelRecord(params); this.addDModelRecord(params);
}, },
async upDownGetList() { async upDownGetList() {
...@@ -1254,6 +1261,8 @@ export default { ...@@ -1254,6 +1261,8 @@ export default {
quantityUnqualify: 0, quantityUnqualify: 0,
printName: false, printName: false,
nickName: this.vuex_user.nicfeedbackkName, nickName: this.vuex_user.nicfeedbackkName,
workorderId: 0,
workorderCode: null,
workorderList: [] workorderList: []
}; };
this.stopWorkorder(feedback); this.stopWorkorder(feedback);
......
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