| | |
| | | |
| | | <!-- 规格要求 --> |
| | | <view class="section"> |
| | | <view class="section-header">规格要求</view> |
| | | <view class="section-header">规格要求 <!-- 造梦者特殊功能 --> |
| | | <a class="doc-link" @click="toFileUrlByU9List(1,itemNo)">图纸规格书</a> |
| | | </view> |
| | | <view class="section-body"> |
| | | <text class="spec-text">{{ formData.fspecRequ }}</text> |
| | | </view> |
| | | |
| | | </view> |
| | | <!-- 规格要求 --> |
| | | <view class="section"> |
| | | <view class="section-header">检验描述</view> |
| | | <view class="section-header">检验描述 <a class="doc-link" @click="toFileUrlByU9List(2,itemNo)">进料检验文件</a></view> |
| | | <view class="section-body"> |
| | | <text class="spec-text">{{ formData.fcheckItemDesc }}</text> |
| | | </view> |
| | |
| | | releaseNo:'', |
| | | current:false, |
| | | Remarks:[], |
| | | RemarksIndex:0 |
| | | RemarksIndex:0, |
| | | itemNo:'', |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | this.$showMessage("保存成功"); |
| | | this.refreshResult(); |
| | | this.inputTxt = ''; |
| | | |
| | | }) |
| | | |
| | | // debugger |
| | | //console.log() |
| | | //输入到最后一个值时,如果为不合格,则弹窗提示上传图片和不良描述 |
| | | //console.log(this.tableData.length+'=》'+this.formData.checkQyt+'=》'+this.formData.fngQty) |
| | | if(!(this.tableData.length < this.formData.checkQyt-1)&&this.formData.fngQty>0){ |
| | | uni.showModal({ |
| | | title: "提示", |
| | | content: "结果输入成功!判定不合格后需要填写不良描述并上传图片", |
| | | confirmText: "确定", |
| | | showCancel: false, |
| | | success: (res) => { |
| | | |
| | | } |
| | | }) |
| | | } |
| | | }, |
| | | goBack() { |
| | | uni.navigateBack() |
| | | }, |
| | | //去文件列表页面(文件类型,物料编号) |
| | | toFileUrlByU9List(type,u9No){ |
| | | if(type===1){ |
| | | uni.navigateTo({ |
| | | url: 'FileUrlByU9List?type=' + type+'&itemID='+u9No |
| | | }); |
| | | }else{ |
| | | uni.navigateTo({ |
| | | url: 'FileUrlByU9List2?type=' + type+'&itemID='+u9No |
| | | }); |
| | | } |
| | | }, |
| | | //获取检验单详情 |
| | | refreshResult() { |
| | |
| | | this.releaseNo= params["releaseNo"]; |
| | | this.currentTab=parseInt(params["index"]); |
| | | this.current=params["current"] === 'true' ? true : false; |
| | | this.itemNo=params["itemNo"]; |
| | | this.$post({ |
| | | url: "/LLJ/getJYItem", |
| | | data: { |
| | |
| | | .input2{ |
| | | display: none; |
| | | } |
| | | // .doc-links { |
| | | // margin-left: auto; |
| | | // } |
| | | |
| | | .doc-link { |
| | | color: #3498db; |
| | | text-decoration: none; |
| | | margin-left: 15px; |
| | | padding: 3px 8px; |
| | | border: 1px solid #3498db; |
| | | border-radius: 3px; |
| | | font-size: 12px; |
| | | margin-left: 70%; |
| | | } |
| | | /* 响应式设计 */ |
| | | @media (max-width: 500px) { |
| | | .input1{ |