| | |
| | | var params = get_UrlVars(); |
| | | var OperationType = params[params[0]]; //ä»åæ°ä¸è·å æ°æ®ç±»å 1æ·»å ä¿å 2å¤å¶ 3 ç¼è¾ |
| | | var linterid = params[params[1]]; //ä»åæ°ä¸è·å åæ®å
ç |
| | | |
| | | |
| | | $("#HUSEORGID").val(sessionStorage["OrganizationID"]); |
| | | |
| | | //夿æ¯å¦æ°å¢ |
| | |
| | | , "HPrice": "0", "HTaxPrice": "0", "HMoney": "0", "HDiscountRate": "0", "HRelTaxPrice": "0", "HTaxRate": "0", "HTaxMoney": "0", "HlineTotal": "0", "HlineTotalBB": "0" |
| | | }]; |
| | | |
| | | // åå§åç |
| | | // åå§åç |
| | | set_InitGrid(); |
| | | |
| | | //头工å
·æ äºä»¶ |
| | |
| | | , loading: false |
| | | , cols: [[ //å表 |
| | | { type: 'checkbox', totalRowText: 'å计è¡' } |
| | | , { type: 'numbers', title: 'åºå·',width: 100, totalRow: true } |
| | | , { field: 'HMaterID', title: 'HMaterID', width: 100,hide: true } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ', width: 150,edit: 'text', event: "HMaterID" }//f7 |
| | | , { field: 'ç©æåç§°', title: 'ç©æåç§°' ,width: 150,} |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 100,} |
| | | , { type: 'numbers', title: 'åºå·', width: 100, totalRow: true } |
| | | , { field: 'HMaterID', title: 'HMaterID', width: 100, hide: true } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ', width: 150, edit: 'text', event: "HMaterID" }//f7 |
| | | , { field: 'ç©æåç§°', title: 'ç©æåç§°', width: 150, } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 100, } |
| | | , { field: 'HUnitID', title: 'HUnitID', width: 100, hide: true } |
| | | , { field: '计éåä½', title: '计éåä½', width: 100,edit: 'text', event: "HUnitID" }//f7 |
| | | , { field: 'HQty', title: 'æ°é', width: 100,edit: 'text' } |
| | | , { field: 'HPrice', title: 'ä¸å«ç¨åä»·', width: 100,edit: 'text' } |
| | | , { field: '计éåä½', title: '计éåä½', width: 100, edit: 'text', event: "HUnitID" }//f7 |
| | | , { field: 'HQty', title: 'æ°é', width: 100, edit: 'text' } |
| | | , { field: 'HPrice', title: 'ä¸å«ç¨åä»·', width: 100, edit: 'text' } |
| | | , { field: 'HTaxPrice', title: 'å«ç¨åä»·', width: 100, edit: 'text' } |
| | | , { field: 'HMoney', title: 'éé¢', width: 100,edit: 'text' } |
| | | , { field: 'HMoney', title: 'éé¢', width: 100, edit: 'text' } |
| | | , { field: 'HDiscountRate', title: 'ææ£ç', width: 100, edit: 'text' } |
| | | , { field: 'HRelTaxPrice', title: 'å®é
å«ç¨åä»·' ,width: 110,} |
| | | , { field: 'HTaxRate', title: 'ç¨ç', width: 100,edit: 'text' } |
| | | , { field: 'HRelTaxPrice', title: 'å®é
å«ç¨åä»·', width: 110, } |
| | | , { field: 'HTaxRate', title: 'ç¨ç', width: 100, edit: 'text' } |
| | | , { field: 'HTaxMoney', title: 'ç¨é¢', width: 100, } |
| | | , { field: 'HlineTotal', title: 'ä»·ç¨å计', width: 100, } |
| | | , { field: 'HlineTotalBB', title: 'æ¬ä½å¸ä»·ç¨å计', width: 120, } |
| | |
| | | , "è§æ ¼åå·": data.è§æ ¼åå·, "HUnitID": data.HUnitID |
| | | , "计éåä½": data.计éåä½, "HQty": data.æ°é, "HRemark": data.表ä½å¤æ³¨ |
| | | , "HPrice": data.åä»·, "HMoney": data.éé¢, "HTaxRate": data.ç¨ç |
| | | , "HTaxMoney": data.éé¢ * data.ç¨ç, "HlineTotal": data.éé¢ + data.ç¨é¢, "HlineTotalBB": (data.éé¢ + data.ç¨é¢)* data.æ±ç |
| | | , "HTaxMoney": data.éé¢ * data.ç¨ç, "HlineTotal": data.éé¢ + data.ç¨é¢, "HlineTotalBB": (data.éé¢ + data.ç¨é¢) * data.æ±ç |
| | | , "HTaxPrice": data.å«ç¨åä»·, "HDiscountRate": data.ææ£ç, "HRelTaxPrice": data.å®é
å«ç¨åä»· |
| | | } |
| | | ) |
| | |
| | | , "ç©æä»£ç ": checkStatus.data[0].HNumber |
| | | , "ç©æåç§°": checkStatus.data[0].HName |
| | | , "è§æ ¼åå·": checkStatus.data[0].HModel |
| | | , "HUnitID": checkStatus.data[0].HUnitID |
| | | , "计éåä½": checkStatus.data[0].HUnitName |
| | | }) |
| | | layer.close(index);//å
³éå¼¹çª |
| | | } |
| | |
| | | , btn2: function (index, layero) { } |
| | | }) |
| | | } |
| | | |
| | | |
| | | function get_checkSS() { |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |