| | |
| | | line-height: 100rpx; |
| | | width: 100%; |
| | | background-color: #fff; |
| | | box-shadow: 0px -4px 4px #f0f0f0; |
| | | /* box-shadow: 0px -4px 4px #e2e2e2; */ |
| | | border-top: 1px solid #e2e2e2; |
| | | position: fixed; |
| | | bottom: 0; |
| | | left: 0; |
| | |
| | | <view>:</view> |
| | | <view class="left-val"> |
| | | <text :class="it.valText">{{fields[it.attribute]}}</text> |
| | | <text :class="it.valText" v-show="!fields[it.attribute]">--</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | "navigationBarTextStyle": "black", |
| | | "navigationBarTitleText": "uni-app", |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "backgroundColor": "#fff" |
| | | "backgroundColor": "#fff", |
| | | "app-plus": { |
| | | "bounce": "none" |
| | | } |
| | | |
| | | }, |
| | | "uniIdRouter": {} |
| | |
| | | data: {matnr: matnr}, |
| | | }).then((result)=> { |
| | | let mat = result.data.data |
| | | item = mat |
| | | console.log(mat); |
| | | item['detl'] = [ |
| | | {key: '商品码',value: mat.matnr}, |
| | | {key: '商品名称',value: mat.maktx}, |
| | | {key: '规格',value: mat.specs}, |
| | | {key: '批号',value: '',type: 'input'}, |
| | | {key: '数量',value: 0,type: 'number-box',valText: 'val-num'}, |
| | | ] |
| | | // item['detl'] = [ |
| | | // {key: '商品码',value: mat.matnr}, |
| | | // {key: '商品名称',value: mat.maktx}, |
| | | // {key: '规格',value: mat.specs}, |
| | | // {key: '批号',value: '',type: 'input'}, |
| | | // {key: '数量',value: 0,type: 'number-box',valText: 'val-num'}, |
| | | // ] |
| | | },(res)=>{ |
| | | console.log(res); |
| | | }) |
| | |
| | | data() { |
| | | return { |
| | | zDataList: [ |
| | | {matnr: 'A1001',maktx: '1号物料',count: 99}, |
| | | {matnr: 'A1002',maktx: '2号物料',count: 77}, |
| | | {matnr: 'A1002',maktx: '2号物料',count: 77} |
| | | // {matnr: 'A1001',maktx: '1号物料',count: 99}, |
| | | // {matnr: 'A1002',maktx: '2号物料',count: 77}, |
| | | // {matnr: 'A1002',maktx: '2号物料',count: 77} |
| | | ], |
| | | } |
| | | }, |
| | |
| | | }, |
| | | async getMat(matnr) { |
| | | let mat = await addMat.addMat(matnr) |
| | | mat['count'] = 0 |
| | | this.zDataList.push(mat) |
| | | }, |
| | | goDetail(param,index) { |