cordova-11/www/js/11.js

1 line
8.6 KiB
JavaScript
Raw Normal View History

2022-05-25 07:48:07 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[11],{4357:function(t,e,a){},6998:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content optics_style"},[a("div",{staticClass:"header"},[a("Header",{attrs:{options:t.batchNumList,model:t.currentBatchNum},on:{"update:model":function(e){t.currentBatchNum=e}}})],1),a("div",{staticClass:"content"},[a("optics-title",{attrs:{title:"数据明细"}}),a("div",{staticClass:"body_style common-form"},[a("div",{staticClass:"mg-t-15"},[a("optics-title-crad",{attrs:{showCardForm:"",cardForm:t.cardForm}})],1),a("div",{staticClass:"mg-t-15"},[1===t.status?a("optics-title-crad",{attrs:{title:"数据录入"}},[a("template",{slot:"body"},[a("q-form",{ref:"form",staticClass:"q-gutter-md mg-t-20 minHeight"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("有效段数")]),a("q-input",{attrs:{placeholder:"请输入",filled:"",type:"number",disable:t.disable,rules:[function(t){return t&&""!==t}],dense:""},model:{value:t.form.data.numberCuts,callback:function(e){t.$set(t.form.data,"numberCuts",t._n(e))},expression:"form.data.numberCuts"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label radio",class:{disable:t.disable}},[t._v("设备编号")]),a("q-select",{attrs:{placeholder:"请输入","emit-value":"","map-options":"","option-label":function(t){return t.deviceNo},"option-value":function(t){return t.id},options:t.DeviceIdList,disable:t.disable,filled:"",rules:[function(t){return t&&""!==t}],dense:""},model:{value:t.form.data.deviceId,callback:function(e){t.$set(t.form.data,"deviceId",e)},expression:"form.data.deviceId"}})],1),a("div",{staticClass:"col mg-r-20"},[a("div",{staticClass:"label",class:{disable:t.disable}},[t._v("备注")]),a("q-input",{attrs:{placeholder:"请输入",disable:t.disable,dense:""},model:{value:t.form.data.remarks,callback:function(e){t.$set(t.form.data,"remarks",e)},expression:"form.data.remarks"}})],1)])])],1)],2):t._e(),2===t.status?a("optics-title-crad",{attrs:{title:"数据录入"}},[a("template",{slot:"body"},[a("q-form",{ref:"sedForm"},[a("q-table",{staticStyle:{"min-height":"calc( 100vh - 470px )"},attrs:{data:t.tableForm.tableData,columns:t.tableForm.columns,"table-header-style":{backgroundColor:"#F8FBFF"},"hide-bottom":"",flat:"",pagination:t.tableForm.pagination,"row-key":"name"},scopedSlots:t._u([{key:"body",fn:function(e){return a("q-tr",{attrs:{props:e}},[a("q-td",{key:"name",attrs:{dense:"",filled:"",width:"150px",props:e}},[t._v("\n "+t._s(e.row.stickNo)+"\n ")]),a("q-td",{key:"afterCutLength",attrs:{width:"300px",props:e}},[a("q-input",{attrs:{filled:"",type:"number",disable:t.disable,rules:[function(t){return t&&""!==t}]},model:{value:e.row.afterCutLength,callback:function(a){t.$set(e.row,"afterCutLength",t._n(a))},expression:"props.row.afterCutLength"}})],1),a("q-td",{key:"beforeCutLength",attrs:{width:"300px",props:e}},[a("q-input",{attrs:{filled:"",type:"number",disable:t.disable,rules:[function(t){return t&&""!==t}]},model:{value:e.row.afterCutWeight,callback:function(a){t.$set(e.row,"afterCutWeight",t._n(a))},expression:"props.row.afterCutWeight"}})],1),a("q-td",{key:"remarks",attrs:{width:"300px",props:e}},[a("q-input",{attrs:{filled:"",disable:t.disable},model:{value:e.row.remarks,callback:function(a){t.$set(e.row,"remarks",a)},expression:"props.row.remarks"}})],1)],1)}}],null,!1,3646930467)})],1)],1)],2):t._e()],1)]),a("div",{staticClass:"btn"},[a("common-btngroup",[[1===t.status?a("div",{staticClass:"form_bottom_group"},[a("q-btn",{attrs:{label:"取 消",type:"reset",rounded:"",color:"white","text-color":"black"},on:{click:t.cancel}}),a("q-btn",{attrs:{label:"截断",type:"submit",rounded:"",color:"primary"},on:{click:t.checkFirst}})],1):t._e(),2===t.status?a("div",{staticClass:"form_bottom_group"},[a("q-btn",{attrs:{label:"取消",type:"reset",rounded:"",color:"white","text-color":"black"},on:{click:t.cancel}}),a("